Changeset 16016 for extensions/gally/gally-default/template/index.tpl
- Timestamp:
- Jun 24, 2012, 9:26:25 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/gally/gally-default/template/index.tpl
r12592 r16016 15 15 {/if} 16 16 17 {if !empty($image_orders)} 18 <div id="sortOrderBox" class="switchBox switchBoxCat"> 19 <div class="switchBoxTitle">{'Sort order'|@translate}</div> 20 {foreach from=$image_orders item=image_order name=loop}{if !$smarty.foreach.loop.first}<br>{/if} 21 {if $image_order.SELECTED} 22 <span>✔ </span>{$image_order.DISPLAY} 23 {else} 24 <span style="visibility:hidden">✔ </span><a href="{$image_order.URL}" rel="nofollow">{$image_order.DISPLAY}</a> 25 {/if} 26 {/foreach} 27 </div> 28 {/if} 29 30 {if !empty($image_derivatives)} 31 <div id="derivativeSwitchBox" class="switchBox switchBoxCat"> 32 <div class="switchBoxTitle">{'Photo sizes'|@translate}</div> 33 {foreach from=$image_derivatives item=image_derivative name=loop} 34 {if !$smarty.foreach.loop.first}<br>{/if} 35 {if $image_derivative.SELECTED} 36 <span>✔ </span>{$image_derivative.DISPLAY} 37 {else} 38 <span style="visibility:hidden">✔ </span> 39 <a href="{$image_derivative.URL}" rel=nofollow">{$image_derivative.DISPLAY}</a> 40 {/if} 41 {/foreach} 42 </div> 43 {/if} 44 17 45 <ul class="categoryActions" id="categoryActionsID"> 18 46 <li> </li> 19 47 {if !empty($image_orders) } 20 <li class="selector"> 21 {'Sort order'|@translate}: 22 <select onchange="document.location = this.options[this.selectedIndex].value;"> 23 {foreach from=$image_orders item=image_order } 24 <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option> 25 {/foreach} 26 </select> 27 </li> 28 {/if} 29 30 {if isset($favorite) } 31 <li><a id="icon_delall_favorite" class="button" href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}"></a></li> 32 {/if} 33 34 {if isset($U_CADDIE) } 35 <li><a id="icon_caddie" class="button" href="{$U_CADDIE}" title="{'caddie'|@translate}"></a></li> 36 {/if} 37 38 {if isset($U_EDIT) } 39 <li><a id="icon_category_edit" class="button" href="{$U_EDIT}" title="{'edit'|@translate}"></a></li> 40 {/if} 41 42 {if isset($U_SEARCH_RULES) } 43 <li><a id="icon_search_rules" class="button" href="{$U_SEARCH_RULES}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow"></a></li> 44 {/if} 45 46 {if isset($U_SLIDESHOW) } 47 <li><a id="icon_start_slideshow" class="button" href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow"></a></li> 48 {/if} 49 50 {if isset($U_MODE_FLAT) } 51 <li><a id="icon_flat" class="button" href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" rel="nofollow"></a></li> 52 {/if} 53 54 {if isset($U_MODE_NORMAL) } 55 <li><a id="icon_normal_mode" class="button" href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}"></a></li> 56 {/if} 57 58 {if isset($U_MODE_POSTED) } 59 <li><a id="icon_calendar" class="button" href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" rel="nofollow"></a></li> 60 {/if} 61 62 {if isset($U_MODE_CREATED) } 63 <li><a id="icon_calendar_created" class="button" href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" rel="nofollow"></a></li> 48 <li><a title="{'Sort order'|@translate}" id="icon_sort" class="button"></a></li> 49 {/if} 50 51 {if !empty($image_derivatives) } 52 <li><a title="{'Photo sizes'|@translate}" id="icon_derivatives" class="button"></a></li> 53 {/if} 54 55 56 {if isset($favorite)} 57 <li><a href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}" id="icon_delall_favorite" class="button"></a></li> 58 {/if} 59 60 {if isset($U_CADDIE)} 61 <li><a href="{$U_CADDIE}" title="{'Add tocaddie'|@translate}" id="icon_caddie" class="button"></a></li> 62 {/if} 63 64 {if isset($U_EDIT)} 65 <li><a href="{$U_EDIT}" title="{'Edit album'|@translate}" id="icon_category_edit" class="button" ></a></li> 66 {/if} 67 68 {if isset($U_SEARCH_RULES)} 69 <li><a href="{$U_SEARCH_RULES}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow" id="icon_search_rules" class="button"></a></li> 70 {/if} 71 72 {if isset($U_SLIDESHOW)} 73 <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow" id="icon_start_slideshow" class="button"></a></li> 74 {/if} 75 76 {if isset($U_MODE_FLAT)} 77 <li><a href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" rel="nofollow" id="icon_flat" class="button"></a></li> 78 {/if} 79 80 {if isset($U_MODE_NORMAL)} 81 <li><a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}" id="icon_normal_mode" class="button"></a></li> 82 {/if} 83 84 {if isset($U_MODE_POSTED)} 85 <li><a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" rel="nofollow" id="icon_calendar" class="button"></a></li> 86 {/if} 87 88 {if isset($U_MODE_CREATED)} 89 <li><a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" rel="nofollow" id="icon_calendar_created" class="button"></a></li> 64 90 {/if} 65 91 … … 81 107 <div id="subContent"> 82 108 <div class="titrePage{if !(isset($chronology_views) or isset($chronology.TITLE))}Empty{/if}" id="titreContent1"> 83 {if isset($chronology_views) 109 {if isset($chronology_views)} 84 110 <div class="calendarViews">{'View'|@translate}: 85 111 <select onchange="document.location = this.options[this.selectedIndex].value;"> … … 91 117 {/if} 92 118 93 {if isset($chronology.TITLE) 94 <h2 >{$chronology.TITLE}</h2>119 {if isset($chronology.TITLE)} 120 <h2 class="calendarTitle">{$chronology.TITLE}</h2> 95 121 {/if} 96 122 </div> 97 123 124 {if isset($errors) or not empty($infos)} 125 {include file='infos_errors.tpl'} 126 {/if} 98 127 {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} 99 128 100 {if !empty($category_search_results) 129 {if !empty($category_search_results)} 101 130 <div style="font-size:16px;text-align:left;margin:10px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : 102 131 <em><strong> … … 109 138 {/if} 110 139 111 {if !empty($tag_search_results) 140 {if !empty($tag_search_results)} 112 141 <div style="font-size:16px;text-align:left;margin:10px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : 113 142 <em><strong> … … 120 149 {/if} 121 150 122 {if isset($FILE_CHRONOLOGY_VIEW) 151 {if isset($FILE_CHRONOLOGY_VIEW)} 123 152 {include file=$FILE_CHRONOLOGY_VIEW} 124 153 {/if} … … 144 173 </div> 145 174 146 {if !empty($CATEGORIES) 147 {if !empty($THUMBNAILS) 175 {if !empty($CATEGORIES)}<div id="categories">{$CATEGORIES}</div>{/if} 176 {if !empty($THUMBNAILS)}<div id="thumbnails">{$THUMBNAILS}</div>{/if} 148 177 149 178 <div id="additional_infoBOTTOM"> … … 159 188 {/if} 160 189 161 {if !empty($navbar) 162 163 </div> <!-- subContent -->190 {if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} 191 192 </div>{* subContent *} 164 193 165 194 166 195 167 196 {if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if} 168 </div> <!-- content -->197 </div> {* content *} 169 198 170 199 {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
Note: See TracChangeset
for help on using the changeset viewer.