Changeset 504


Ignore:
Timestamp:
Sep 20, 2004, 4:39:23 PM (17 years ago)
Author:
kake
Message:

Custom template stuff.

Location:
trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Changes

    r503 r504  
    55          installed as index.cgi
    66        Added option of munging in custom lib paths on install.
     7        Added option of custom templates for footer and license warning
     8          on edit form (see CUSTOMISATION file for details).
    79
    8100.40    18 September 2004
  • trunk/MANIFEST

    r503 r504  
    11Build.PL
     2CUSTOMISATION
    23Changes
    34INSTALL
  • trunk/templates/edit_form.tt

    r503 r504  
    1717<form action="[% cgi_url %]" method="POST" enctype="application/x-www-form-urlencoded">
    1818<table summary="Form for editing page attributes">
     19  [% TRY %]
     20    <tr>
     21      <td colspan="2">
     22        [% INCLUDE custom/licence.tt %]
     23      </td>
     24    </tr>
     25  [% CATCH %]
     26  [% END %]
    1927  <tr>
    2028    <td align="center"><input type="submit" name="preview" value="Preview changes" class="form_button" /></td>
  • trunk/templates/footer.tt

    r503 r504  
    99
    1010<div id="footer">
    11   [% IF enable_page_deletion AND NOT not_deletable %]
     11  [% BLOCK delete_link %]
     12    [% IF enable_page_deletion AND NOT not_deletable %]
     13      <a href="[% full_cgi_url %]?id=[% node_param %];action=delete">Delete page</a> (admins only)
     14    [% END %]
     15  [% END %]
     16
     17  [% TRY %]
     18    [% INCLUDE custom/footer_credits.tt %]
     19  [% CATCH %]
    1220    <p>
    13       <a href="[% full_cgi_url %]?id=[% node_param %];action=delete">Delete page</a> (admins only)
     21      [% INCLUDE delete_link %]
     22    </p>
     23    <p>
     24      This wiki powered by <a href="http://openguides.org/">OpenGuides</a> (version [% openguides_version %]).
    1425    </p>
    1526  [% END %]
    16 
    17 <p>
    18   This wiki powered by <a href="http://openguides.org/">OpenGuides</a> (version [% openguides_version %]).
    19 </p>
    2027
    2128</div>
Note: See TracChangeset for help on using the changeset viewer.