source: trunk/template/yoga/index.tpl @ 1677

Last change on this file since 1677 was 1677, checked in by rub, 17 years ago

Feature Issue ID 0000601: Filter all public pages with only recent elements

It's a finalized version.
Obsolete code of draft are removed.

You can filter categories and images with recent date period on your screen selection.
In the future, filter could be easy done on other type data (plugin?)

You can flat categories and sub-categories with a recent date period of your choice.

Next, perhaps, a panel to choice recent date for the 2 features.

On draft, there have problem with MySql 5, be careful!

Css problem not resolved:

  • Menu "Categories" is bad centered
  • Icon on dark too on the top
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.0 KB
Line 
1<!-- $Id: index.tpl 1677 2006-12-21 21:38:20Z rub $ -->
2{MENUBAR}
3<div id="content">
4  <div class="titrePage">
5    <ul class="categoryActions">
6      <li>&nbsp;</li>
7      <!-- BEGIN preferred_image_order -->
8      <li>
9      {lang:Sort order}:
10      <select onchange="document.location = this.options[this.selectedIndex].value;">
11        <!-- BEGIN order -->
12        <option value="{preferred_image_order.order.URL}" {preferred_image_order.order.SELECTED_OPTION}>{preferred_image_order.order.DISPLAY}</option>
13        <!-- END order -->
14      </select>
15      </li>
16      <!-- END preferred_image_order -->
17
18      <!-- BEGIN caddie -->
19      <li><a href="{caddie.URL}" title="{lang:add to caddie}"><img src="{pwg_root}{themeconf:icon_dir}/caddie_add.png" class="button" alt="{lang:caddie}"/></a></li>
20      <!-- END caddie -->
21
22      <!-- BEGIN edit -->
23      <li><a href="{edit.URL}" title="{lang:edit category informations}"><img src="{pwg_root}{themeconf:icon_dir}/category_edit.png" class="button" alt="{lang:edit}"/></a></li>
24      <!-- END edit -->
25
26      <!-- BEGIN search_rules -->
27      <li><a href="{search_rules.URL}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{lang:Search rules}"><img src="{pwg_root}{themeconf:icon_dir}/search_rules.png" class="button" alt="(?)"></a></li>
28      <!-- END search_rules -->
29
30      <!-- BEGIN mode_normal -->
31      <li><a href="{mode_normal.URL}" title="{lang:mode_normal_hint}"><img src="{pwg_root}{themeconf:icon_dir}/normal_mode.png" class="button" alt="{lang:mode_normal_hint}"></a></li>
32      <!-- END mode_normal -->
33
34      <!-- BEGIN flat_recent_cat -->
35      <li><a href="{flat_recent_cat.URL}" title="{lang:flat_recent_cat_hint}"><img src="{pwg_root}{themeconf:icon_dir}/flat_recent_cat.png" class="button" alt="{lang:flat_recent_cat_hint}"></a></li>
36      <!-- END flat_recent_cat -->
37
38      <!-- BEGIN mode_posted -->
39      <li><a href="{mode_posted.URL}" title="{lang:mode_posted_hint}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/calendar.png" class="button" alt="{lang:mode_posted_hint}"></a></li>
40      <!-- END mode_posted -->
41      <!-- BEGIN mode_created -->
42      <li><a href="{mode_created.URL}" title="{lang:mode_created_hint}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/calendar_created.png" class="button" alt="{lang:mode_created_hint}"></a></li>
43      <!-- END mode_created -->
44    </ul>
45
46  <h2>{TITLE}</h2>
47  <!-- BEGIN calendar -->
48  <!-- BEGIN views -->
49  <div class="calendarViews">{lang:calendar_view}:
50    <select onchange="document.location = this.options[this.selectedIndex].value;">
51    <!-- BEGIN view -->
52      <option value="{calendar.views.view.VALUE}" {calendar.views.view.SELECTED}>{calendar.views.view.CONTENT}</option>
53    <!-- END view -->
54    </select>
55  </div>
56  <!-- END views -->
57  <!-- END calendar -->
58
59  <!-- BEGIN calendar -->
60  <h2>{calendar.TITLE}</h2>
61  <!-- END calendar -->
62
63  </div> <!-- titrePage -->
64
65<!-- BEGIN calendar -->
66<!-- BEGIN navbar -->
67<div class="calendarBar">
68<!-- BEGIN prev -->
69        <div style="float:left">&laquo; <a href="{calendar.navbar.prev.URL}">{calendar.navbar.prev.LABEL}</a></div>
70<!-- END prev -->
71<!-- BEGIN next -->
72        <div style="float:right"><a href="{calendar.navbar.next.URL}">{calendar.navbar.next.LABEL}</a> &raquo;</div>
73<!-- END next -->
74        {calendar.navbar.BAR}&nbsp;
75</div>
76<!-- END navbar -->
77
78<!-- BEGIN calbar -->
79<div class="calendarCalBar">{calendar.calbar.BAR}</div>
80<!-- END calbar -->
81<!-- END calendar -->
82
83{MONTH_CALENDAR}
84{THUMBNAILS}
85{CATEGORIES}
86
87<!-- BEGIN cat_infos -->
88<!-- BEGIN navigation -->
89<div class="navigationBar">
90{cat_infos.navigation.NAV_BAR}
91</div>
92<!-- END navigation -->
93<!-- BEGIN comment -->
94<div class="additional_info">{cat_infos.comment.COMMENTS}</div>
95<!-- END comment -->
96<!-- END cat_infos -->
97
98<!-- BEGIN related_tags -->
99  <ul id="fullTagCloud">
100    <li>{lang:Related tags}:</li>
101    <!-- BEGIN tag -->
102    <li><a href="{related_tags.tag.URL}" class="{related_tags.tag.CLASS}" title="{related_tags.tag.TITLE}">{related_tags.tag.NAME}</a></li>
103    <!-- END tag -->
104  </ul>
105<!-- END related_tags -->
106
107
108</div> <!-- content -->
Note: See TracBrowser for help on using the repository browser.