Changeset 26298 for extensions/header_manager/admin/template/config.tpl
- Timestamp:
- Dec 28, 2013, 6:08:42 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/header_manager/admin/template/config.tpl
r20169 r26298 1 {combine_css path=$HEADER_MANAGER_PATH| @cat:"admin/template/style.css"}1 {combine_css path=$HEADER_MANAGER_PATH|cat:'admin/template/style.css'} 2 2 3 {footer_script require="jquery"} {literal}3 {footer_script require="jquery"} 4 4 jQuery("input[name='display']").change(function() { 5 5 jQuery(".display-help:not(#"+ jQuery(this).val() +")").slideUp(); … … 13 13 defaultPosition: 'top' 14 14 }); 15 {/ literal}{/footer_script}15 {/footer_script} 16 16 17 17 <div class="titrePage"> … … 21 21 <form method="post" action="{$CONFIG_URL}" class="properties"> 22 22 <fieldset> 23 <legend>{'Display'| @translate}</legend>23 <legend>{'Display'|translate}</legend> 24 24 25 <label><input type="radio" name="display" value="image_only" {if $BANNER_DISPLAY=='image_only'}checked="checked"{/if}> {'Image only'| @translate}</label><br>25 <label><input type="radio" name="display" value="image_only" {if $BANNER_DISPLAY=='image_only'}checked="checked"{/if}> {'Image only'|translate}</label><br> 26 26 27 <label><input type="radio" name="display" value="with_title" {if $BANNER_DISPLAY=='with_title'}checked="checked"{/if}> {'Gallery title above image'| @translate}</label><br>27 <label><input type="radio" name="display" value="with_title" {if $BANNER_DISPLAY=='with_title'}checked="checked"{/if}> {'Gallery title above image'|translate}</label><br> 28 28 <div class="display-help" id="with_title" {if $BANNER_DISPLAY!='with_title'}style="display:none;"{/if}> 29 <i>{'You can customize the display by adding CSS rules to'| @translate}</i>29 <i>{'You can customize the display by adding CSS rules to'|translate}</i> 30 30 <span style="font-family:monospace;font-size:14px;color:#000;background:#eee;padding:0 2px;">#<span style="color:#09f;font-weight:bold;">theHeader</span> <span style="color:#00f;">div</span>.<span style="color:#f00;">banner</span></span> 31 31 </div> 32 32 33 <label><input type="radio" name="display" value="with_text" {if $BANNER_DISPLAY=='with_text'}checked="checked"{/if}> {'With text'| @translate}</label><br>33 <label><input type="radio" name="display" value="with_text" {if $BANNER_DISPLAY=='with_text'}checked="checked"{/if}> {'With text'|translate}</label><br> 34 34 <div class="display-help" id="with_text" {if $BANNER_DISPLAY!='with_text'}style="display:none;"{/if}> 35 35 <textarea rows="5" cols="50" class="description" name="conf_page_banner">{$CONF_PAGE_BANNER}</textarea><br> 36 <i>{'Put <b>%header_manager%</b> where you want to display the image.'| @translate}</i>36 <i>{'Put <b>%header_manager%</b> where you want to display the image.'|translate}</i> 37 37 </div> 38 38 39 <label><input style="margin-top:20px;" type="checkbox" name="banner_on_picture" value="true" {if $BANNER_ON_PICTURE}checked="checked"{/if}> <b>{'Display banner on photo page'| @translate}</b></label>39 <label><input style="margin-top:20px;" type="checkbox" name="banner_on_picture" value="true" {if $BANNER_ON_PICTURE}checked="checked"{/if}> <b>{'Display banner on photo page'|translate}</b></label> 40 40 </fieldset> 41 41 42 42 <fieldset id="batchManagerGlobal"> 43 <legend>{'Banner'| @translate}</legend>43 <legend>{'Banner'|translate}</legend> 44 44 45 45 {if $banners} 46 46 <div class="banner-radio" style="display:block;"> 47 47 <input type="radio" name="image" value="random" id="banner-random" {if $BANNER_IMAGE=='random'}checked="checked"{/if}> 48 <label for="banner-random"><b>{'Random'| @translate}</b></label>48 <label for="banner-random"><b>{'Random'|translate}</b></label> 49 49 </div> 50 50 {foreach from=$banners item=image key=name} … … 54 54 </span> 55 55 <span class="banner-wrapper"> 56 <a href="{$CONFIG_URL}&delete_banner={$image.NAME}" title="{'Delete'| @translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');" class="delete-banner">×</a>56 <a href="{$CONFIG_URL}&delete_banner={$image.NAME}" title="{'Delete'|translate}" onclick="return confirm('{'Are you sure?'|translate|@escape:javascript}');" class="delete-banner">×</a> 57 57 <span class="banner-size">{$image.SIZE[0]} × {$image.SIZE[1]} px</span> 58 58 <label for="banner-{$image.NAME}" title="{$name}"><img src="{$image.THUMB}" alt="{$image.NAME}"></label> … … 61 61 {/foreach} 62 62 {else} 63 {'No banner added yet'| @translate}63 {'No banner added yet'|translate} 64 64 {/if} 65 65 66 66 <br><br> 67 <a href="{$ADD_IMAGE_URL}">{'Add a banner'| @translate}</a>67 <a href="{$ADD_IMAGE_URL}">{'Add a banner'|translate}</a> 68 68 </fieldset> 69 69 70 <p class="formButtons"><input type="submit" name="save_config" value="{'Submit'| @translate}" class="submit"></p>70 <p class="formButtons"><input type="submit" name="save_config" value="{'Submit'|translate}" class="submit"></p> 71 71 72 72 <fieldset> 73 <legend>{'Album specific banners'| @translate}</legend>74 <i>{'In order to add a specific banner, go to the admin page of the desired album.'| @translate}</i>73 <legend>{'Album specific banners'|translate}</legend> 74 <i>{'In order to add a specific banner, go to the admin page of the desired album.'|translate}</i> 75 75 76 76 {if $categories} … … 80 80 {$cat.NAME} 81 81 <a class="showImage" title="<img src='{$banners[$cat.IMAGE].THUMB}'>"><img src="{$HEADER_MANAGER_PATH}admin/template/image_{$cat.DEEP}.png"></a> 82 <a href="{$cat.U_DELETE}" title="{'Restore default banner'| @translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"><img src="{$themeconf.admin_icon_dir}/delete.png"></a>82 <a href="{$cat.U_DELETE}" title="{'Restore default banner'|translate}" onclick="return confirm('{'Are you sure?'|translate|@escape:javascript}');"><img src="{$themeconf.admin_icon_dir}/delete.png"></a> 83 83 </li> 84 84 {/foreach} … … 86 86 87 87 <p> 88 <img src="{$HEADER_MANAGER_PATH}admin/template/image_0.png"> : {'Non recursive'| @translate} •89 <img src="{$HEADER_MANAGER_PATH}admin/template/image_1.png"> : {'Recursive'| @translate}88 <img src="{$HEADER_MANAGER_PATH}admin/template/image_0.png"> : {'Non recursive'|translate} • 89 <img src="{$HEADER_MANAGER_PATH}admin/template/image_1.png"> : {'Recursive'|translate} 90 90 </p> 91 91 {/if}
Note: See TracChangeset
for help on using the changeset viewer.