Changeset 2231 for trunk/template/yoga/index.tpl
- Timestamp:
- Mar 1, 2008, 2:12:07 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/template/yoga/index.tpl
r2222 r2231 1 <!-- DEV TAG: not smarty migrated --> 2 <!-- $Id$ --> 3 {MENUBAR} 1 {* $Id$ *} 2 {$MENUBAR} 4 3 <div id="content"> 5 4 <div class="titrePage"> 6 5 <ul class="categoryActions"> 7 6 <li> </li> 8 <!-- BEGIN preferred_image_order -->7 {if !empty($image_orders) } 9 8 <li> 10 { lang:Sort order}:9 {'Sort order'|@translate}: 11 10 <select onchange="document.location = this.options[this.selectedIndex].value;"> 12 <!-- BEGIN order -->13 <option value="{ preferred_image_order.order.URL}" {preferred_image_order.order.SELECTED_OPTION}>{preferred_image_order.order.DISPLAY}</option>14 <!-- END order -->11 {foreach from=$image_orders item=image_order } 12 <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}}>{$image_order.DISPLAY}</option> 13 {/foreach} 15 14 </select> 16 15 </li> 17 <!-- END preferred_image_order -->16 {/if} 18 17 19 <!-- BEGIN caddie -->20 <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>21 <!-- END caddie -->18 {if isset($U_CADDIE) } 19 <li><a href="{$U_CADDIE}" title="{'add to caddie'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"/></a></li> 20 {/if} 22 21 23 <!-- BEGIN edit -->24 <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>25 <!-- END edit -->22 {if isset($U_EDIT) } 23 <li><a href="{$U_EDIT}" title="{'edit category informations'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"/></a></li> 24 {/if} 26 25 27 <!-- BEGIN search_rules -->28 <li><a href="{ search_rules.URL}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{lang:Search rules}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/search_rules.png" class="button" alt="(?)"></a></li>29 <!-- END search_rules -->26 {if isset($U_SEARCH_RULES) } 27 <li><a href="{$U_SEARCH_RULES}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/search_rules.png" class="button" alt="(?)"></a></li> 28 {/if} 30 29 31 <!-- BEGIN slideshow -->32 <li><a href="{ slideshow.URL}" title="{lang:slideshow}"><img src="{pwg_root}{themeconf:icon_dir}/slideshow.png" class="button" alt="{lang:slideshow}"/></a></li>33 <!-- END slideshow -->30 {if isset($U_SLIDESHOW) } 31 <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/slideshow.png" class="button" alt="{'slideshow'|@translate}"/></a></li> 32 {/if} 34 33 35 <!-- BEGIN mode_normal -->36 <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>37 <!-- END mode_normal -->34 {if isset($U_MODE_FLAT) } 35 <li><a href="{$U_MODE_FLAT}" title="{'mode_flat_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/flat.png" class="button" alt="{'mode_flat_hint'|@translate}"></a></li> 36 {/if} 38 37 39 <!-- BEGIN flat -->40 <li><a href="{ flat.URL}" title="{lang:mode_flat_hint}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/flat.png" class="button" alt="{lang:mode_flat_hint}"></a></li>41 <!-- END flat -->38 {if isset($U_MODE_NORMAL) } 39 <li><a href="{$U_MODE_NORMAL}" title="{'mode_normal_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/normal_mode.png" class="button" alt="{'mode_normal_hint'|@translate}"></a></li> 40 {/if} 42 41 43 <!-- BEGIN mode_posted --> 44 <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> 45 <!-- END mode_posted --> 46 <!-- BEGIN mode_created --> 47 <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> 48 <!-- END mode_created --> 49 {PLUGIN_INDEX_ACTIONS} 42 {if isset($U_MODE_POSTED) } 43 <li><a href="{$U_MODE_POSTED}" title="{'mode_posted_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar.png" class="button" alt="{'mode_posted_hint'|@translate}"></a></li> 44 {/if} 45 46 {if isset($U_MODE_CREATED) } 47 <li><a href="{$U_MODE_CREATED}" title="{'mode_created_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar_created.png" class="button" alt="{'mode_created_hint'|@translate}"></a></li> 48 {/if} 49 50 {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} 50 51 </ul> 51 52 52 <h2>{ TITLE}</h2>53 <!-- BEGIN calendar --> 54 <!-- BEGIN views -->55 <div class="calendarViews">{ lang:calendar_view}:53 <h2>{$TITLE}</h2> 54 55 {if isset($chronology_views) } 56 <div class="calendarViews">{'calendar_view'|@translate}: 56 57 <select onchange="document.location = this.options[this.selectedIndex].value;"> 57 <!-- BEGIN view -->58 <option value="{ calendar.views.view.VALUE}" {calendar.views.view.SELECTED}>{calendar.views.view.CONTENT}</option>59 <!-- END view -->58 {foreach from=$chronology_views item=view} 59 <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}}>{$view.CONTENT}</option> 60 {/foreach} 60 61 </select> 61 62 </div> 62 <!-- END views --> 63 <!-- END calendar --> 63 {/if} 64 64 65 <!-- BEGIN calendar -->66 <h2>{ calendar.TITLE}</h2>67 <!-- END calendar -->65 {if isset($chronology.TITLE) } 66 <h2>{$chronology.TITLE}</h2> 67 {/if} 68 68 69 69 </div> <!-- titrePage --> 70 70 71 { PLUGIN_INDEX_CONTENT_BEGIN}71 {if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} 72 72 73 <!-- BEGIN category_search_results --> 74 <div style="font-size:16px;text-align:left;margin:10px">{lang:Category results for} <strong>{QUERY_SEARCH}</strong> : <em><strong>{category_search_results.CONTENT}</strong></em></div> 75 <!-- END category_search_results --> 76 <!-- BEGIN tag_search_results --> 77 <div style="font-size:16px;text-align:left;margin:10px">{lang:Tag results for} <strong>{QUERY_SEARCH}</strong> : <em><strong>{tag_search_results.CONTENT}</strong></em></div> 78 <!-- END tag_search_results --> 73 {if !empty($category_search_results) } 74 <div style="font-size:16px;text-align:left;margin:10px">{'Category results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : 75 <em><strong> 76 {foreach from=$category_search_results item=res name=res_loop} 77 {if !$smarty.foreach.res_loop.first} — {/if} 78 {$res} 79 {/foreach} 80 </strong></em> 81 </div> 82 {/if} 83 84 {if !empty($tag_search_results) } 85 <div style="font-size:16px;text-align:left;margin:10px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : 86 <em><strong> 87 {foreach from=$tag_search_results item=res name=res_loop} 88 {if !$smarty.foreach.res_loop.first} — {/if} 89 {$res} 90 {/foreach} 91 </strong></em> 92 </div> 93 {/if} 94 95 {if isset($FILE_CHRONOLOGY_VIEW) } 96 {include file=$FILE_CHRONOLOGY_VIEW} 97 {/if} 98 99 {if !empty($CATEGORIES) }{$CATEGORIES}{/if} 100 {if !empty($THUMBNAILS) }{$THUMBNAILS}{/if} 79 101 80 102 81 <!-- BEGIN calendar --> 82 <!-- BEGIN navbar --> 83 <div class="calendarBar"> 84 <!-- BEGIN prev --> 85 <div style="float:left">« <a href="{calendar.navbar.prev.URL}">{calendar.navbar.prev.LABEL}</a></div> 86 <!-- END prev --> 87 <!-- BEGIN next --> 88 <div style="float:right"><a href="{calendar.navbar.next.URL}">{calendar.navbar.next.LABEL}</a> »</div> 89 <!-- END next --> 90 {calendar.navbar.BAR} 103 {if !empty($NAV_BAR) } 104 <div class="navigationBar"> 105 {$NAV_BAR} 91 106 </div> 92 <!-- END navbar --> 107 {/if} 93 108 94 <!-- BEGIN calbar --> 95 <div class="calendarCalBar">{calendar.calbar.BAR}</div> 96 <!-- END calbar --> 97 <!-- END calendar --> 98 99 {MONTH_CALENDAR} 100 {CATEGORIES} 101 {THUMBNAILS} 102 103 <!-- BEGIN cat_infos --> 104 <!-- BEGIN navigation --> 105 <div class="navigationBar"> 106 {cat_infos.navigation.NAV_BAR} 109 {if !empty($CONTENT_DESCRIPTION) } 110 <div class="additional_info"> 111 {$CONTENT_DESCRIPTION} 107 112 </div> 108 <!-- END navigation --> 109 <!-- BEGIN comment --> 110 <div class="additional_info">{cat_infos.comment.COMMENTS}</div> 111 <!-- END comment --> 112 <!-- END cat_infos --> 113 {/if} 113 114 114 115 115 { PLUGIN_INDEX_CONTENT_END}116 {if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if} 116 117 </div> <!-- content -->
Note: See TracChangeset
for help on using the changeset viewer.