Changeset 1095 for trunk/lib/OpenGuides/Template.pm
- Timestamp:
- 06/20/07 17:34:42 (18 months ago)
- Files:
-
- 1 modified
-
trunk/lib/OpenGuides/Template.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/OpenGuides/Template.pm
r1091 r1095 320 320 321 321 my @categories = map { { name => $_, 322 url => "$script_name?Category_"323 . uri_escape($formatter->node_name_to_node_param($_)) } } @catlist;322 url => $args{wiki}->node_exists( "Category_" . $formatter->node_name_to_node_param($_)) ? "$script_name?Category_" 323 . uri_escape($formatter->node_name_to_node_param($_)) : "" } } @catlist; 324 324 325 325 my @locales = map { { name => $_, 326 url => "$script_name?Locale_"327 . uri_escape($formatter->node_name_to_node_param($_)) } } @loclist;326 url => $args{wiki}->node_exists( "Locale_" . $formatter->node_name_to_node_param($_)) ? "$script_name?Locale_" 327 . uri_escape($formatter->node_name_to_node_param($_)) : "" } } @loclist; 328 328 329 329 # The 'website' attribute might contain a URL so we wiki-format it here
