Show
Ignore:
Timestamp:
06/17/07 00:57:32 (19 months ago)
Author:
ilmari
Message:

Clean up fallout from prefs cleanup
- Make OpenGuides::Template->output pass the provided cookies to

OpenGuides::CGI->get_prefs_from_cookie, where this overrides any
browser-supplied cookie.

- Use the prefs hash explcitly where needed (fixes #216).

Targets to commit (you may delete items from it)


M /home/ilmari/src/openguides-trunk/lib/Changes.pm
M /home/ilmari/src/openguides-trunk/lib/OpenGuides/CGI.pm
M /home/ilmari/src/openguides-trunk/lib/OpenGuides/Template.pm
M /home/ilmari/src/openguides-trunk/preferences.cgi
M /home/ilmari/src/openguides-trunk/t/59_preferences.t
M /home/ilmari/src/openguides-trunk/templates/preferences.tt
M /home/ilmari/src/openguides-trunk/templates/navbar_tools.tt

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/t/59_preferences.t

    r1050 r1085  
    6161        template     => "preferences.tt", 
    6262        content_type => '', 
    63         vars         => { OpenGuides::CGI->get_prefs_from_cookie( config => $config ), 
     63        vars         => { 
    6464                          not_editable => 1, 
    6565                          show_form    => 1