source: extensions/Fotorama/template/admin.tpl @ 27148

Revision 27148, 2.8 KB checked in by JanisV, 6 years ago (diff)

Added basic customization

Line 
1<div class="titrePage">
2<h2>Fotorama</h2>
3</div>
4
5<form action="" method="post" class="properties">
6
7<fieldset id="Fotorama">
8<legend>{'Configuration'|@translate}</legend>
9<ul>
10  <li>
11    <label for="allowfullscreen">
12      <b>{'allowfullscreen'|@translate}</b>
13    </label>
14    <select class="categoryDropDown" id="allowfullscreen" name="allowfullscreen">
15      <option value="false"{if $Fotorama.allowfullscreen == 'false'} selected{/if}>{'false'|@translate}</option>
16      <option value="true"{if $Fotorama.allowfullscreen == 'true'} selected{/if}>{'true'|@translate}</option>
17      <option value="native"{if $Fotorama.allowfullscreen == 'native'} selected{/if}>{'native'|@translate}</option>
18    </select>
19  </li>
20  <li>
21    <label for="fit">
22      <b>{'fit'|@translate}</b>
23    </label>
24    <select class="categoryDropDown" id="fit" name="fit">
25      <option value="contain"{if $Fotorama.fit == 'contain'} selected{/if}>{'contain'|@translate}</option>
26      <option value="cover"{if $Fotorama.fit == 'cover'} selected{/if}>{'cover'|@translate}</option>
27      <option value="scaledown"{if $Fotorama.fit == 'scaledown'} selected{/if}>{'scaledown'|@translate}</option>
28      <option value="none"{if $Fotorama.fit == 'none'} selected{/if}>{'none'|@translate}</option>
29    </select>
30  </li>
31  <li>
32    <label for="transition">
33      <b>{'transition'|@translate}</b>
34    </label>
35    <select class="categoryDropDown" id="transition" name="transition">
36      <option value="slide"{if $Fotorama.transition == 'slide'} selected{/if}>{'slide'|@translate}</option>
37      <option value="crossfade"{if $Fotorama.transition == 'crossfade'} selected{/if}>{'crossfade'|@translate}</option>
38      <option value="dissolve"{if $Fotorama.transition == 'dissolve'} selected{/if}>{'dissolve'|@translate}</option>
39    </select>
40  </li>
41  <li>
42    <input type="checkbox" id="shadows" name="shadows"{if $Fotorama.shadows} checked="checked"{/if}>
43    <label for="shadows">
44      <b>{'shadows'|@translate}</b>
45    </label>
46  </li>
47  <li>
48    <input type="checkbox" id="autoplay" name="autoplay"{if $Fotorama.autoplay} checked="checked"{/if}>
49    <label for="autoplay">
50      <b>{'autoplay'|@translate}</b>
51    </label>
52  </li>
53  <li>
54    <input type="checkbox" id="stopautoplayontouch" name="stopautoplayontouch"{if $Fotorama.stopautoplayontouch} checked="checked"{/if}>
55    <label for="stopautoplayontouch">
56      <b>{'stopautoplayontouch'|@translate}</b>
57    </label>
58  </li>
59  <li>
60    <input type="checkbox" id="loop" name="loop"{if $Fotorama.loop} checked="checked"{/if}>
61    <label for="loop">
62      <b>{'loop'|@translate}</b>
63    </label>
64  </li>
65</ul>
66</fieldset>
67
68<p class="formButtons">
69  <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
70  <input type="submit" name="submit" value="{'Save Settings'|@translate}">
71</p>
72</form>
Note: See TracBrowser for help on using the repository browser.