Here you go:
/includes/templates/your_template/templates/tpl_ezpages_bar_header.php
PHP Code:
<?php
/**
* Page Template
*
* Displays EZ-Pages Header-Bar content.<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_ezpages_bar_header.php 3377 2006-04-05 04:43:11Z ajeh $
* Modified for Ezpages Active Header by Glenn Herbert (gjh42) 2010-06-15
*/
/**
* require code to show EZ-Pages list
*/
include(DIR_WS_MODULES . zen_get_module_directory('ezpages_bar_header.php'));
?>
<?php if (sizeof($var_linksList) >= 1) { ?>
<div id="navEZPagesTop">
<?php for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) {
$active = ($current_page_base == 'page' and $_GET['id'] == $var_linksList[$i]['id'])? ' class="activeEZPage"': '';
?>
<a href="<?php echo $var_linksList[$i]['link']; ?>"<?php echo $active; ?>><?php echo $var_linksList[$i]['name']; ?></a><?php echo ($i < $n ? EZPAGES_SEPARATOR_HEADER : '') . "\n"; ?>
<?php } // end FOR loop ?>
</div>
<?php } ?>
Style .activeEZPage {} as desired.
Note: I haven't tested this yet, so please let me know if anything needs fixing.
I'll package it up into a proper mod after the festival I'm hosting in two weeks... I'm a bit busy right now:)
Bookmarks