Ignore:
Timestamp:
Aug 24, 2006, 5:43:30 PM (15 years ago)
Author:
nick
Message:

Support the optional common categories and locales. Closes #134

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides.pm

    r841 r844  
    208208                   wgs84_lat     => $wgs84_lat
    209209               );
     210
     211    # Should we include a standard list of categories or locales?
     212    if ($config->enable_common_categories || $config->enable_common_locales) {
     213        $tt_vars{common_catloc} = 1;
     214        $tt_vars{common_categories} = $config->enable_common_categories;
     215        $tt_vars{common_locales} = $config->enable_common_locales;
     216        $tt_vars{catloc_link} = $config->script_url . "?id=";
     217    }
    210218
    211219    if ( $raw =~ /^#REDIRECT\s+(.+?)\s*$/ ) {
Note: See TracChangeset for help on using the changeset viewer.