Changeset 510 for trunk/template


Ignore:
Timestamp:
Sep 1, 2004, 11:39:29 PM (20 years ago)
Author:
z0rglub
Message:
  • new special category : random pictures
  • reorganisation of special categories menu : template is used only for template. A special category is presented as the template tells to do so.
  • favorites becomes just another special category
  • bug correction for best rated category : wrong MySQL query if user has forbidden categories (see include/functions_category.inc.php diff)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/default/category.tpl

    r507 r510  
    1414                  <br />
    1515                  <ul class="menu">
    16                     <!-- BEGIN favorites -->
    17                     <li><a href="{U_FAVORITE}"><span title="{L_FAVORITE_HINT}">{L_FAVORITE}</span></a>&nbsp;<span class="menuInfoCat">[&nbsp;{favorites.NB_FAV}&nbsp;]</span></li>
    18                     <!-- END favorites -->
    1916                    <li><span style="font-weight:bold;">{L_SPECIAL_CATEGORIES}</span></li>
    2017                    <ul class="menu">
    21                       <li><a href="{U_MOST_VISITED}"><span title="{L_MOST_VISITED_HINT}">{TOP_NUMBER}&nbsp;{L_MOST_VISITED}</span></a></li>
    22                       <li><a href="{U_BEST_RATED}"><span title="{L_BEST_RATED_HINT}">{TOP_NUMBER}&nbsp;{L_BEST_RATED}</span></a></li>
    23                       <li><a href="{U_RECENT_PICS}"><span title="{L_RECENT_PICS_HINT}">{L_RECENT_PICS}</span></a> {T_SHORT}</li>
    24                       <li><a href="{U_RECENT_CATS}"><span title="{L_RECENT_CATS_HINT}">{L_RECENT_CATS}</span></a></li>
    25                       <li><a href="{U_CALENDAR}"><span title="{L_CALENDAR_HINT}">{L_CALENDAR}</span></a></li>
     18                      <!-- BEGIN special_cat -->
     19                      <li><a href="{special_cat.URL}" title="{special_cat.TITLE}">{special_cat.NAME}</a></li>
     20                      <!-- END special_cat -->
    2621                    </ul>
    2722                  </ul>
Note: See TracChangeset for help on using the changeset viewer.