Changeset 1082

Show
Ignore:
Timestamp:
06/16/07 21:32:05 (16 months ago)
Author:
ilmari
Message:

Make the user preferences available to the templates.

Files:
1 modified

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,