Changeset 28523 for extensions/Full_Background/template/index.tpl
- Timestamp:
- May 21, 2014, 6:39:06 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Full_Background/template/index.tpl
r28522 r28523 1 {combine_script id='core.switchbox' load='async' require='jquery' path='themes/default/js/switchbox.js'} 1 2 {$MENUBAR} 2 3 4 5 {if isset($errors) or isset($infos)} 6 <div class="content messages{if isset($MENUBAR)} contentWithMenu{/if}"> 7 {include file='infos_errors.tpl'} 8 </div> 9 {/if} 10 3 11 {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if} 12 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> 13 <div class="titrePage{if isset($chronology.TITLE)} calendarTitleBar{/if}"> 4 14 5 6 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">7 8 <div class="titrePage{if isset($chronology.TITLE)} calendarTitleBar{/if} visible">9 <ul class="categoryActions">10 {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}11 </ul>12 <div id="title_page">13 15 <h2>{$TITLE}</h2> 14 </div>15 16 16 17 {if isset($chronology_views)} 17 18 <div class="calendarViews">{'View'|@translate}: 18 <select onchange="document.location = this.options[this.selectedIndex].value;"> 19 {foreach from=$chronology_views item=view} 20 <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option> 19 <a id="calendarViewSwitchLink" href="#"> 20 {foreach from=$chronology_views item=view}{if $view.SELECTED}{$view.CONTENT}{/if}{/foreach} 21 </a> 22 <div id="calendarViewSwitchBox" class="switchBox"> 23 {foreach from=$chronology_views item=view name=loop}{if !$smarty.foreach.loop.first}<br>{/if} 24 <span{if !$view.SELECTED} style="visibility:hidden"{/if}>✔ </span><a href="{$view.VALUE}">{$view.CONTENT}</a> 21 25 {/foreach} 22 </select> 26 </div> 27 {footer_script}(SwitchBox=window.SwitchBox||[]).push("#calendarViewSwitchLink", "#calendarViewSwitchBox");{/footer_script} 23 28 </div> 24 29 {/if} 25 26 30 27 31 {if isset($chronology.TITLE)} … … 31 35 </div>{* <!-- titrePage --> *} 32 36 33 {if isset($errors) or not empty($infos)}34 {include file='infos_errors.tpl'}35 {/if}36 37 {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} 37 38 38 39 40 39 {if !empty($category_search_results)} 41 <div style="font-size:16px;margin:10px 16px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :40 <div class="category_search_results">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : 42 41 <em><strong> 43 42 {foreach from=$category_search_results item=res name=res_loop} … … 50 49 51 50 {if !empty($tag_search_results)} 52 <div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :51 <div class="tag_search_results">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : 53 52 <em><strong> 54 {foreach from=$tag_search_results item=res name=res_loop} 55 {if !$smarty.foreach.res_loop.first} — {/if} 56 {$res} 53 {foreach from=$tag_search_results item=tag name=res_loop} 54 {if !$smarty.foreach.res_loop.first} — {/if} <a href="{$tag.URL}">{$tag.name}</a> 57 55 {/foreach} 58 56 </strong></em> … … 64 62 {/if} 65 63 66 67 64 {if !empty($CONTENT_DESCRIPTION)} 68 <div class="additional_info visible">65 <div class="additional_info"> 69 66 {$CONTENT_DESCRIPTION} 70 67 </div> 71 68 {/if} 72 69 70 {if !empty($CONTENT)}{$CONTENT}{/if} 71 72 {if !empty($CATEGORIES)}{$CATEGORIES}{/if} 73 74 {if !empty($cats_navbar)} 75 {include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$cats_navbar} 76 {/if} 73 77 74 78 {if !empty($THUMBNAILS)} 75 {$THUMBNAILS} 76 {else} 77 {if !empty($CATEGORIES)} 78 {$CATEGORIES} 79 {/if} 79 <div class="loader"><img src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif"></div> 80 <ul class="thumbnails" id="thumbnails"> 81 {$THUMBNAILS} 82 </ul> 80 83 {/if} 81 82 83 { if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}84 {if !empty($thumb_navbar)} 85 {include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$thumb_navbar} 86 {/if} 84 87 85 88 {if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_END}{/if} 86 89 </div>{* <!-- content --> *} 87 90 {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if} 88 89 90 </div> <!-- page_content -->91 </div> <!--the_page -->
Note: See TracChangeset
for help on using the changeset viewer.