version 1.43, 2008/09/23 14:41:00
|
version 1.44, 2008/09/23 20:31:09
|
Line 398 sub cat_header {
|
Line 398 sub cat_header {
|
|
|
sub category_breadcrumbs { |
sub category_breadcrumbs { |
my ($dom,@cats) = @_; |
my ($dom,@cats) = @_; |
|
my $crumbsymbol = ' ▶ '; |
my ($currdepth,$deeper) = &get_depth_values(); |
my ($currdepth,$deeper) = &get_depth_values(); |
my $currcat_str = '<input type="hidden" name="catalog_maxdepth" value="'.$deeper.'" /><input type="hidden" name="showdom" value="'.$dom.'" />'; |
my $currcat_str = '<input type="hidden" name="catalog_maxdepth" value="'.$deeper.'" /><input type="hidden" name="showdom" value="'.$dom.'" />'; |
my $catlinks = '<td valign="top"><b>'.&mt('Catalog:').'</b></td><td><table><tr>'; |
my $catlinks = '<td valign="top"><b>'.&mt('Catalog:').'</b></td><td><table><tr>'; |
Line 412 sub category_breadcrumbs {
|
Line 413 sub category_breadcrumbs {
|
my ($cat,$container,$depth) = map { &unescape($_); } split(/:/,$env{'form.currcat_'.$shallower}); |
my ($cat,$container,$depth) = map { &unescape($_); } split(/:/,$env{'form.currcat_'.$shallower}); |
$cattitle = $cat; |
$cattitle = $cat; |
} |
} |
$catlinks .= '<td valign="top"><a href="javascript:setCatDepth('."'$shallower'".')">'.$cattitle.'</a>-></td>'; |
$catlinks .= '<td valign="top"><a href="javascript:setCatDepth('."'$shallower'".')">'.$cattitle.'</a>'.$crumbsymbol.'</td>'; |
} |
} |
if ($deeper == 0) { |
if ($deeper == 0) { |
$catlinks .= '<td>'.&mt('Main Categories').': '; |
$catlinks .= '<td>'.&mt('Main Categories').': '; |