nano005 Posted January 7, 2005 Report Share Posted January 7, 2005 Moin zusammen, also ich habe ein leicht modifiziertes Templates was euch unter Pages24 - XTC Template 0001 bekannt sein d?rfte. Das ist das blaue mit dem leicht Orangen Touch. Nur habe ich leider folgendes Problem: Wenn man nicht angemeldet ist, ist der Login nicht mittig wie er sein sollte sondern h?ngt links doof rum. Ich m?chte dies jedoch mittig haben. Wie kann ich das machen ??? Liebe Gr??e Link to comment Share on other sites More sharing options...
pages24 Posted January 7, 2005 Report Share Posted January 7, 2005 Hallo nano005 ?ndere den kompletten Code von xtc_p24_t1\source\boxes\loginbox.php in <?php /* ----------------------------------------------------------------------------------------- $Id: loginbox.php,v 1.2 2004/02/17 16:20:07 fanta2k Exp $ XT-Commerce - community made shopping http://www.xt-commerce.com Copyright © 2003 XT-Commerce ----------------------------------------------------------------------------------------- based on: © 2000-2001 The Exchange Project (earlier name of osCommerce) © 2002-2003 osCommercebased on original files from OSCommerce CVS 2.2 2002/08/28 02:14:35 www.oscommerce.com © 2003 nextcommerce (loginbox.php,v 1.10 2003/08/17); www.nextcommerce.org Released under the GNU General Public License ----------------------------------------------------------------------------------------- Third Party contributions: Loginbox V1.0 Aubrey Kilian <[email protected]> Released under the GNU General Public License ---------------------------------------------------------------------------------------*/ $box_smarty = new smarty; $box_smarty->assign('tpl_path','templates/'.CURRENT_TEMPLATE.'/'); $box_content=''; require_once(DIR_FS_INC . 'xtc_image_submit.inc.php'); if (!xtc_session_is_registered('customer_id')) { $loginboxcontent = ' <table border="0" width="100%" cellspacing="0" cellpadding="0"><form name="login" method="post" action="' . xtc_href_link(FILENAME_LOGIN, 'action=process', 'SSL') . '"> <tr> <td align="center" class="main">' . BOX_LOGINBOX_EMAIL . '</td> </tr> <tr> <td align="center" class="main"><input type="text" name="email_address" maxlength="96" size="20" value=""></td> </tr> <tr> <td align="center" class="main">' . BOX_LOGINBOX_PASSWORD . '</td> </tr> <tr> <td align="center" class="main"><input type="password" name="password" maxlength="40" size="20" value=""></td> </tr> <tr> <td class="main" align="center">' . xtc_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN) . '</td> </tr> </form></table> '; $box_smarty->assign('BOX_CONTENT', $loginboxcontent); $box_smarty->caching = 0; $box_smarty->assign('language', $_SESSION['language']); $box_loginbox= $box_smarty->fetch(CURRENT_TEMPLATE.'/boxes/box_login.html'); $smarty->assign('box_LOGIN',$box_loginbox); } ?> gru? pages24.de .. Link to comment Share on other sites More sharing options...
nano005 Posted January 7, 2005 Author Report Share Posted January 7, 2005 Herzlichen Dank pages24 :dafuer: Hat supi funktioniert. Link to comment Share on other sites More sharing options...
pages24 Posted January 7, 2005 Report Share Posted January 7, 2005 :i: :i: :i: NO PROBLEM :pint: :pint: .. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.