Ignore:
Timestamp:
Jun 9, 2007, 5:49:43 PM (14 years ago)
Author:
kake
Message:

Make sure that common categories and locales (if configured) show up on recent changes and create new page form (fixes #199).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides.pm

    r1044 r1045  
    629629    }
    630630    $tt_vars{not_editable} = 1;
     631    if ($config->enable_common_categories || $config->enable_common_locales) {
     632        $tt_vars{common_catloc} = 1;
     633        $tt_vars{common_categories} = $config->enable_common_categories;
     634        $tt_vars{common_locales} = $config->enable_common_locales;
     635        $tt_vars{catloc_link} = $config->script_url . $config->script_name
     636                                . "?id=";
     637    }
    631638    $tt_vars{recent_changes} = \%recent_changes;
    632639    my %processing_args = (
Note: See TracChangeset for help on using the changeset viewer.