That was a dumb fix ... :eek:
Fortunately it was not committed to v1.3.7 ...
The correct fix is to change the java portion around lines 410-414 in:
/admin/salemaker.php
To read:
?>
<script language="javascript" type="text/javascript"><!--
document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . zen_href_link(FILENAME_SALEMAKER_POPUP, 'cid=' . $category['categories_id']) . '\\\')">'.'(More Info)'.'</a>'; ?>');
//--></script>
<?php
then change in:
/admin/salemaker_popup.php
require(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . FILENAME_SALEMAKER_POPUP . '.php');
To read:
require(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . FILENAME_SALEMAKER_POPUP . '.php');
$cname = zen_get_category_name($_GET['cid'], (int)$_SESSION['languages_id']);
And the change:
<p class="main"><center><h1><?php echo HEADING_TITLE . ' - ' . $_GET['cname']; ?><?php echo zen_draw_separator(); ?></h1></center></p>
To read:
<p class="main"><center><h1><?php echo HEADING_TITLE . ' - ' . $cname; ?><?php echo zen_draw_separator(); ?></h1></center></p>
the other method would work for some category names and break in a horrible way for others ...