Changeset 730 for trunk/preferences.cgi


Ignore:
Timestamp:
Dec 21, 2005, 6:16:36 PM (16 years ago)
Author:
Dominic Hargreaves
Message:

Add initial google maps support, see #46 but this isn't yet a complete
implementation so leaving the bug open for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/preferences.cgi

    r729 r730  
    3434    my $expires      = $cgi->param("cookie_expires")             || "month";
    3535    my $track_rc     = $cgi->param("track_recent_changes_views") || 0;
     36    my $gmaps        = $cgi->param("display_google_maps")        || 0;
    3637    my $prefs_cookie = OpenGuides::CGI->make_prefs_cookie(
    3738        config => $config,
     
    4546        cookie_expires         => $expires,
    4647        track_recent_changes_views => $track_rc,
     48        display_google_maps    => $gmaps
    4749    );
    4850    my @cookies = ( $prefs_cookie );
     
    7274                      cookie_expires             => $expires,
    7375                      track_recent_changes_views => $track_rc,
     76                      display_google_maps        => $gmaps
    7477                    }
    7578    );
Note: See TracChangeset for help on using the changeset viewer.