Changeset 290 for trunk/preferences.cgi


Ignore:
Timestamp:
Nov 30, 2003, 4:24:24 AM (18 years ago)
Author:
Earle Martin
Message:

Added example wiki.css; Build.PL now installs this in the same dir as wiki.cgi. Modified preferences.cgi to have option to hide help links in navbar, not just formatting link.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/preferences.cgi

    r289 r290  
    33use strict;
    44use CGI;
     5
    56use Config::Tiny;
    67use OpenGuides::CGI;
     
    2627    my $pre_above    = $cgi->param("preview_above_edit_box") || 0;
    2728    my $latlong_trad = $cgi->param("latlong_traditional")    || 0;
    28     my $omit_fmt_lnk = $cgi->param("omit_formatting_link")   || 0;
     29    my $omit_hlplnks = $cgi->param("omit_help_links")        || 0;
    2930    my $rc_minor_eds = $cgi->param("show_minor_edits_in_rc") || 0;
    3031    my $cookie = OpenGuides::CGI->make_prefs_cookie(
     
    3435        preview_above_edit_box => $pre_above,
    3536        latlong_traditional    => $latlong_trad,
    36         omit_formatting_link   => $omit_fmt_lnk,
     37        omit_help_links        => $omit_hlplnks,
    3738        show_minor_edits_in_rc => $rc_minor_eds,
    3839    );
     
    4748                      preview_above_edit_box => $pre_above,
    4849                      latlong_traditional    => $latlong_trad,
    49                       omit_formatting_link   => $omit_fmt_lnk,
     50                      omit_help_links        => $omit_hlplnks,
    5051                      show_minor_edits_in_rc => $rc_minor_eds,
    5152                    }
Note: See TracChangeset for help on using the changeset viewer.