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

Last change on this file since 27155 was 27155, checked in by JanisV, 7 years ago

Added navigation
Added translation

File size: 3.3 KB
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>{'Allows fullscreen'|@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>{'How to fit an image'|@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>{'What transition to use'|@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    <label for="nav">
43      <b>{'Navigation style'|@translate}</b>
44    </label>
45    <select class="categoryDropDown" id="nav" name="nav">
46      <option value="false"{if $Fotorama.nav == 'false'} selected{/if}>{'false'|@translate}</option>
47      <option value="dots"{if $Fotorama.nav == 'dots'} selected{/if}>{'dots'|@translate}</option>
48      <option value="thumbs"{if $Fotorama.nav == 'thumbs'} selected{/if}>{'thumbs'|@translate}</option>
49    </select>
50  </li>
51  <li>
52    <input type="checkbox" id="shadows" name="shadows"{if $Fotorama.shadows} checked="checked"{/if}>
53    <label for="shadows">
54      <b>{'Enables shadows'|@translate}</b>
55    </label>
56  </li>
57  <li>
58    <input type="checkbox" id="autoplay" name="autoplay"{if $Fotorama.autoplay} checked="checked"{/if}>
59    <label for="autoplay">
60      <b>{'Enables autoplay'|@translate}</b>
61    </label>
62  </li>
63  <li>
64    <input type="checkbox" id="stopautoplayontouch" name="stopautoplayontouch"{if $Fotorama.stopautoplayontouch} checked="checked"{/if}>
65    <label for="stopautoplayontouch">
66      <b>{'Stops slideshow at any user action with the fotorama'|@translate}</b>
67    </label>
68  </li>
69  <li>
70    <input type="checkbox" id="loop" name="loop"{if $Fotorama.loop} checked="checked"{/if}>
71    <label for="loop">
72      <b>{'Enables loop'|@translate}</b>
73    </label>
74  </li>
75</ul>
76</fieldset>
77
78<p class="formButtons">
79  <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
80  <input type="submit" name="submit" value="{'Save Settings'|@translate}">
81</p>
82</form>
Note: See TracBrowser for help on using the repository browser.