root/branches/new-install-process/templates/navbar_locales.tt

Revision 1086, 372 bytes (checked in by ilmari, 19 months ago)

r22807@vesla: ilmari | 2007-06-17 02:04:48 +0100
Move the common categories/locales navbar display decision into the templates (fixes #214)

Line 
1[% IF config.enable_common_locales %]
2  <div id="navbar_locales">
3    <div class="navbar_group_title">Locales:</div>
4    <ul class="navbar_group">
5      [% FOREACH loc = [ 'North', 'South', 'East', 'West', 'Central' ] %]
6        <li><a href="[% config.script_url _ config.script_name %]?id=Locale_[% loc %]">[% loc %]</a></li>
7      [% END %]
8    </ul>
9  </div>
10[% END %]
Note: See TracBrowser for help on using the browser.