Changeset 20169 for extensions/header_manager/admin/template/config.tpl
- Timestamp:
- Jan 15, 2013, 1:31:14 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/header_manager/admin/template/config.tpl
r17734 r20169 5 5 jQuery(".display-help:not(#"+ jQuery(this).val() +")").slideUp(); 6 6 jQuery("#"+ jQuery(this).val()).slideDown(); 7 }); 8 jQuery(".showImage").tipTip({ 9 delay: 0, 10 fadeIn: 200, 11 fadeOut: 200, 12 maxWidth: '300px', 13 defaultPosition: 'top' 7 14 }); 8 15 {/literal}{/footer_script} … … 41 48 <label for="banner-random"><b>{'Random'|@translate}</b></label> 42 49 </div> 43 {foreach from=$banners item=image }50 {foreach from=$banners item=image key=name} 44 51 <div class="banner-radio"> 45 52 <span class="actions"> … … 48 55 <span class="banner-wrapper"> 49 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> 50 <label for="banner-{$image.NAME}"><img src="{$image.THUMB}" alt="{$image.NAME}"></label> 57 <span class="banner-size">{$image.SIZE[0]} × {$image.SIZE[1]} px</span> 58 <label for="banner-{$image.NAME}" title="{$name}"><img src="{$image.THUMB}" alt="{$image.NAME}"></label> 51 59 </span> 52 60 </div> … … 60 68 </fieldset> 61 69 62 <p><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 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> 75 76 {if $categories} 77 <ul id="album_banners"> 78 {foreach from=$categories item=cat} 79 <li> 80 {$cat.NAME} 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> 83 </li> 84 {/foreach} 85 </ul> 86 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} 90 </p> 91 {/if} 92 </fieldset> 63 93 </form>
Note: See TracChangeset
for help on using the changeset viewer.