Changeset 849


Ignore:
Timestamp:
Sep 10, 2006, 4:36:42 PM (15 years ago)
Author:
Dominic Hargreaves
Message:

Tidies up various template bugs (closes #132, #133)

Location:
trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/Changes

    r846 r849  
    99        Search::InvertedIndex support is deprecated as of this release.
    1010          Please upgrade to Plucene if you are still using it.
     11        Tidy up some template bits
    1112
    12130.56    14 June 2006
  • trunk/README.CSS

    r844 r849  
    6161span.node_name
    6262    Used in: backlink_results.tt delete_confirm.tt delete_done.tt
    63              differences.tt node_history.tt
     63             differences.tt node_history.tt, edit_conflict.tt
    6464    Purpose: Inlines a node name in a snippet of explanatory text,
    6565             without linking to it.
     
    100100    Used in: backlink_results.tt, delete_confirm.tt, delete_done.tt,
    101101             delete_password_wrong.tt, edit_conflict.tt, edit_form.tt,
    102              home_node.tt, newpage.tt, node.tt, preferences.tt,
     102             home_node.tt, newpage.tt, node.tt, node_history.tt, preferences.tt,
    103103             recent_changes.tt, search_results.tt, site_index.tt,
    104              search.tt, userstats.tt, wanted_pages.tt
     104             search.tt, userstats.tt, wanted_pages.tt, differences.tt
    105105    Purpose: Defines the main textual content of the page
    106106             content includes the navbar and footer; maincontent does not
  • trunk/templates/backlink_results.tt

    r617 r849  
    44[% INCLUDE navbar.tt %]
    55<div id="maincontent">
    6 <h1 align=center>
     6<h1>
    77  [% site_name %] - Backlinks to <span class="node_name">[% node_name %]</span>
    88</h1>
  • trunk/templates/differences.tt

    r716 r849  
    1 [% USE CGI %]
    21[% INCLUDE header.tt %]
    32[% INCLUDE banner.tt %]
    43<div id="content">
    54[% INCLUDE navbar.tt %]
     5<div id="maincontent">
    66  <h1>
    77  [% site_name %] - Differences between [% right_version %] and [% left_version %] of <span class="node_name">[% node_name %]</span>
     
    3838</form>
    3939</p>
    40 
     40</div>
    4141[% INCLUDE footer.tt %]
  • trunk/templates/display_metadata.tt

    r843 r849  
    11[% USE CGI %]
    22<!-- METADATA STARTS -->
    3 
     3[% IF phone OR fax OR address OR postcode OR formatted_website_text
     4       OR hours_text OR map_link OR categories.size OR locales.size OR
     5       node_image %]
    46<div id="metadata" class="vcard">
    57[% IF node_image %]
     
    8385[% END %]
    8486</div>
    85 
     87[% END %]
    8688<!-- METADATA ENDS -->
  • trunk/templates/edit_conflict.tt

    r617 r849  
    55[% INCLUDE navbar.tt %]
    66<div id="maincontent">
    7 <h2>Edit "[% node_name %]"</h2>
     7<h2>Edit "<span class="node_name">[% node_name %]</span>"</h2>
    88
    99<div class="warning_text">
  • trunk/templates/node_history.tt

    r811 r849  
    44<div id="content">
    55[% INCLUDE navbar.tt %]
    6 
    7 <h1 align="center">
     6<div id="maincontent">
     7<h1>
    88  [% site_name %] - History of <span class="node_name">[% node_name %]</span>
    99</h1>
     
    4545  <a href="[% cgi_url %]?action=list_all_versions;format=atom;id=[% node_param %]">atom feed</a>.
    4646</p>
    47 
     47</div>
    4848[% INCLUDE footer.tt %]
  • trunk/templates/preferences.tt

    r730 r849  
    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    2 <html lang="[% language %]">
    3 <head>
    4   <title>[% site_name %] - Set username/preferences</title>
    5   [% IF stylesheet %]
    6     <link rel="stylesheet" href="[% stylesheet %]" type="text/css">
    7   [% END %]
    8 </head>
    9 
    10 <body>
     1[% INCLUDE header.tt page_title = "Set username/preferences" %]
    112[% INCLUDE banner.tt %]
    123<div id="content">
Note: See TracChangeset for help on using the changeset viewer.