Changeset 972

Show
Ignore:
Timestamp:
03/24/07 16:56:12 (20 months ago)
Author:
dom
Message:

Revert common category/locale stuff for the time being pending
discussion (see #195)

Location:
trunk
Files:
2 added
2 removed
6 modified

Legend:

Unmodified
Added
Removed
  • trunk/Build.PL

    r965 r972  
    322322                      "backlink_results.tt", 
    323323                      "banner.tt", 
     324                      "common_categories.tt", 
     325                      "common_locales.tt", 
    324326                      "delete_confirm.tt", 
    325327                      "delete_done.tt", 
     
    337339                      "moderate_password_wrong.tt", 
    338340                      "navbar.tt", 
    339                       "navbar_categories.tt", 
    340341                      "navbar_help.tt", 
    341342                      "navbar_home_link.tt", 
    342                       "navbar_locales.tt", 
    343343                      "navbar_options.tt", 
    344344                      "navbar_revision_info.tt", 
  • trunk/Changes

    r969 r972  
    1616        Split out "modules" from navbar.tt into separate templates navbar_*.tt 
    1717          to make it easier for people to change the order in a custom template 
    18         Move common categories/locales into navbar. 
    1918        Add a new div to wrap the entire body; also, use header.tt in 
    2019          home_node.tt instead of copy/paste. 
  • trunk/MANIFEST

    r966 r972  
    3232templates/backlink_results.tt 
    3333templates/banner.tt 
     34templates/common_categories.tt 
     35templates/common_locales.tt 
    3436templates/delete_confirm.tt 
    3537templates/delete_done.tt 
     
    4749templates/moderate_password_wrong.tt 
    4850templates/navbar.tt 
    49 templates/navbar_categories.tt 
    5051templates/navbar_help.tt 
    5152templates/navbar_home_link.tt 
    52 templates/navbar_locales.tt 
    5353templates/navbar_options.tt 
    5454templates/navbar_revision_info.tt 
  • trunk/README.CSS

    r969 r972  
    140140    Purpose: The navigation bar 
    141141 
    142 div#navbar_categories 
    143     Used in: navbar_categories.tt 
    144     Purpose: Display the common categories, if enabled. 
    145142div#navbar_help 
    146143    Used in: navbar_help.tt 
    147144    Purpose: Display help links, if user has them turned on. 
    148 div#navbar_locales 
    149     Used in: navbar_locales.tt 
    150     Purpose: Display the common locales, if enabled. 
    151145div#navbar_options 
    152146    Used in: navbar_options.tt 
     
    224218             optionally a link to the licence we're using it under. 
    225219 
     220div#common_navigation 
     221    Used in: node.tt 
     222    Purpose: Hold the common locales and categories, if enabled 
     223 
     224div#common_categories 
     225    Used in: common_categories.tt 
     226    Purpose: Hold the common categories, if enabled 
     227h3#common_categories_title 
     228    Used in: common_categories.tt 
     229    Purpose: Title for the common categories 
     230ul#common_categories_list 
     231    Used in: common_categories.tt 
     232    Purpose: Parent list for the common categories 
     233li.common_category 
     234    Used in: common_categories.tt 
     235    Purpose: A common category 
     236a.common_category_link 
     237    Used in: common_categories.tt 
     238    Purpose: A link to a common category 
     239 
     240div#common_locales 
     241    Used in: common_locales.tt 
     242    Purpose: Hold the common locales, if enabled 
     243h3#common_locales_title 
     244    Used in: common_locales.tt 
     245    Purpose: Title for the common locales 
     246ul#common_locales_list 
     247    Used in: common_locales.tt 
     248    Purpose: Parent list for the common locales 
     249li.common_locale 
     250    Used in: common_locales.tt 
     251    Purpose: A common locale 
     252a.common_locale_link 
     253    Used in: common_locales.tt 
     254    Purpose: A link to a common locale 
     255 
    226256input#address 
    227257    Used in: edit_form.tt 
  • trunk/templates/navbar.tt

    r951 r972  
    77  [% INCLUDE navbar_search.tt %] 
    88  [% INCLUDE navbar_this_page.tt %] 
    9   [% INCLUDE navbar_categories.tt %] 
    10   [% INCLUDE navbar_locales.tt %] 
    119  [% INCLUDE navbar_revision_info.tt %] 
    1210 
  • trunk/templates/node.tt

    r962 r972  
    150150[% END %] 
    151151 
     152[% IF common_catloc %] 
     153<div id="common_navigation"> 
     154  [% IF common_categories %] 
     155    [% INCLUDE common_categories.tt %] 
     156  [% END %] 
     157  [% IF common_locales %] 
     158    [% INCLUDE common_locales.tt %] 
     159  [% END %] 
     160</div> 
     161[% END %] 
     162 
    152163[% INCLUDE footer.tt %]