Changeset 1082


Ignore:
Timestamp:
Jun 16, 2007, 9:32:05 PM (14 years ago)
Author:
Dagfinn Ilmari Mannsåker
Message:

Make the user preferences available to the templates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides/Template.pm

    r1080 r1082  
    9494
    9595=item * C<licence_info_url>
     96
     97=item * C<prefs> (the preferences from the user cookie)
    9698
    9799=back
     
    150152    my $tt_vars = {
    151153        config                => $config,
     154        prefs                 => \%cookie_data,
    152155        site_name             => $config->site_name,
    153156        cgi_url               => $script_name,
Note: See TracChangeset for help on using the changeset viewer.