Changeset 475


Ignore:
Timestamp:
Sep 17, 2004, 12:24:11 PM (17 years ago)
Author:
kake
Message:

Added navbar to diff and history pages, made them non-editable and non-deletable.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Changes

    r474 r475  
    33          past fortnight, and past 30 days.
    44        Preferences now has an option for when your prefs expire.
     5        Navbar added to diff and history pages.
    56
    670.39    15 September 2004
  • trunk/lib/OpenGuides.pm

    r474 r475  
    327327                                        right_version => $args{other_version},
    328328                                              );
     329    $diff_vars{not_deletable} = 1;
     330    $diff_vars{not_editable} = 1;
    329331    return %diff_vars if $args{return_tt_vars};
    330332    my $output = $self->process_template(
     
    518520                    version       => $curr_version,
    519521                    not_deletable => 1,
     522                    not_editable  => 1,
    520523                    history       => \@history );
    521524    return %tt_vars if $args{return_tt_vars};
  • trunk/templates/differences.tt

    r474 r475  
    11[% USE CGI %]
    22[% INCLUDE header.tt %]
     3[% INCLUDE banner.tt %]
     4<div id="content">
     5[% INCLUDE navbar.tt %]
    36  <h1>
    47  [% site_name %] - Differences between [% right_version %] and [% left_version %] of [% node_name %]
     
    3942
    4043[% INCLUDE footer.tt %]
    41 
    42 
  • trunk/templates/node_history.tt

    r474 r475  
    11[% USE CGI %]
    22[% INCLUDE header.tt page_title = "History of $node_name - $site_name" %]
     3[% INCLUDE banner.tt %]
     4<div id="content">
     5[% INCLUDE navbar.tt %]
    36
    47<h1 align="center">[% site_name %] - History of [% node_name %]</h1>
Note: See TracChangeset for help on using the changeset viewer.