PHP Code:
<?php
/**
* Common Template - tpl_header.php
*
* this file can be copied to /templates/your_template_dir/pagename<br />
* example: to override the privacy page<br />
* make a directory /templates/my_template/privacy<br />
* copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_header.php<br />
* to override the global settings and turn off the footer un-comment the following line:<br />
* <br />
* $flag_disable_header = true;<br />
*
* @package templateSystem
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_header.php 4813 2006-10-23 02:13:53Z drbyte $
*/
?>
<?php
// Display all header alerts via messageStack:
if ($messageStack->size('header') > 0) {
echo $messageStack->output('header');
}
if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) {
echo htmlspecialchars(urldecode($_GET['error_message']));
}
if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) {
echo htmlspecialchars($_GET['info_message']);
} else {
}
?>
<?php
if (!isset($flag_disable_header) || !$flag_disable_header) {
?>
<div id="header">
<div class="header-inner">
<div class="main-width">
<div class="wrapper">
<div class="logo">
<!-- ========== LOGO ========== -->
<a href="<?php echo zen_href_link(FILENAME_DEFAULT);?>"><?php echo zen_image(DIR_WS_TEMPLATE.'images/logo.png'); ?></a>
<!-- ========================== -->
</div>
<div class="right-head">
<div class="wrapper">
<div class="search">
<!-- ========== SEARCH ========== -->
<?php echo zen_draw_form('quick_find_header', zen_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get');?>
<div>
<?php
echo zen_draw_hidden_field('main_page',FILENAME_ADVANCED_SEARCH_RESULT);
echo zen_draw_hidden_field('search_in_description', '1') . zen_hide_session_id();
?>
<span class="corner"></span>
<?php echo zen_draw_input_field('keyword', '', 'class="input1"');?>
<?php echo zen_image_submit ('search.gif', HEADER_SEARCH_BUTTON, 'class="input2" ');?>
</div>
</form>
<!-- ============================ -->
</div>
<div class="navigation">
<!-- ========== NAVIGATION LINKS ========== -->
<!-- ====================================== -->
</div>
</div>
<div class="wrapper box2">
<!-- ========== MENU ========== -->
<?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
<?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
<?php } ?>
<!-- ========================== -->
</div>
</div>
</div>
</div>
</div>
</div>
<?php
if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) {
if (HEADER_SALES_TEXT != '') {
?>
<div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
<?php
}
}
?>
<?php } ?>
seems the guy that set this up edited this. does this mean i need to make the changes you mention in the "tpl_ezpages_bar_header.php" ?
Bookmarks