source: extensions/header_manager/admin/template/album.tpl @ 30737

Last change on this file since 30737 was 26298, checked in by mistic100, 11 years ago

update for 2.6 + better calculation + option to force ratio
TODO: issue with PNG (unable to generate thumbnail with IM)

File size: 1.6 KB
Line 
1{combine_css path=$HEADER_MANAGER_PATH|cat:'admin/template/style.css'}
2
3<div class="titrePage">
4  <h2><span style="letter-spacing:0">{$CATEGORIES_NAV}</span> &#8250; {'Edit album'|translate} [{'Banner'|translate}]</h2>
5</div>
6
7<form method="post" action="{$F_ACTION}" class="properties" id="batchManagerGlobal">
8  {if $banners}
9    <div class="banner-radio" style="display:block;">
10      <input type="radio" name="image" value="default" id="banner-default"{if $BANNER_IMAGE=='default'}checked="checked"{/if}>
11      <label for="banner-default"><b>{'Default banner'|translate}</b></label>
12    </div>
13    {foreach from=$banners item=image}
14    <div class="banner-radio">
15      <span class="actions">
16        <input type="radio" name="image" value="{$image.NAME}" id="banner-{$image.NAME}" {if $BANNER_IMAGE==$image.NAME}checked="checked"{/if}><br>&nbsp;
17      </span>
18      <span class="banner-wrapper">
19        <span class="banner-size">{$image.SIZE[0]} &times; {$image.SIZE[1]} px</span>
20        <label for="banner-{$image.NAME}"><img src="{$image.THUMB}" alt="{$image.NAME}"></label>
21      </span>
22    </div>
23    {/foreach}
24  {else}
25    <p style="text-align:left;">{'No banner added yet'|translate}</p>
26  {/if}
27 
28  <p style="text-align:left;">
29    <a href="{$ADD_IMAGE_URL}&redirect={$F_ACTION|urlencode}">{'Add a banner'|translate}</a>
30  </p>
31   
32  {if $banners}
33  <p class="actionButtons">
34    <label><input type="checkbox" name="deep" value="1" {if $BANNER_DEEP}checked="checked"{/if}> {'Apply to sub-albums'|translate}</label>
35    <br><br>
36    <input type="submit" name="save_banner" value="{'Submit'|translate}" class="submit">
37  </p>
38  {/if}
39</form>
Note: See TracBrowser for help on using the repository browser.