Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

new link in box open a blank window


gigatek

Recommended Posts

hallo please help me,

 

a have in the information-box a new link - impressum

 

my information.php:

 

<?php

/*

$Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

?>

<!-- information //-->

<tr>

<td>

<?php

$info_box_contents = array();

$info_box_contents[] = array('text' => BOX_HEADING_INFORMATION);

 

new infoBoxHeading($info_box_contents, false, false);

 

$info_box_contents = array();

$info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_IMPRESSUM) . '">' . BOX_INFORMATION_IMPRESSUM . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>');

 

new infoBox($info_box_contents);

?>

</td>

</tr>

<!-- information_eof //-->

 

my filename.php:

 

....

define('FILENAME_CREATE_ACCOUNT', 'create_account.php');

define('FILENAME_CREATE_ACCOUNT_SUCCESS', 'create_account_success.php');

define('FILENAME_DEFAULT', 'index.php');

define('FILENAME_DOWNLOAD', 'download.php');

define('FILENAME_IMPRESSUM', 'impressum.php');

define('FILENAME_INFO_SHOPPING_CART', 'info_shopping_cart.php');

define('FILENAME_LOGIN', 'login.php');

define('FILENAME_LOGOFF', 'logoff.php');

........

 

my german.php:

 

......

// information box text in includes/boxes/information.php

define('BOX_HEADING_INFORMATION', 'Informationen');

define('BOX_INFORMATION_PRIVACY', 'Privatsphäre<br> und Datenschutz');

define('BOX_INFORMATION_CONDITIONS', 'Unsere AGB\'s');

define('BOX_INFORMATION_SHIPPING', 'Liefer- und<br> Versandkosten');

define('BOX_INFORMATION_IMPRESSUM', 'Impressum');

define('BOX_INFORMATION_CONTACT', 'Kontakt');

.......

 

and my impressum.php:

 

<?php

/*

$Id: privacy.php,v 1.4 2002/04/17 15:57:07 harley_vb Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

define('NAVBAR_TITLE', 'IMPRESSUM');

define('HEADING_TITLE', 'IMPRESSUM');

 

define('TEXT_INFORMATION', 'example

');

?

 

my problem, klick on Impressum open a blank window - no error on screen

 

can help?

 

sorry my english

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...