source: extensions/lightbox/admin/admin.tpl @ 5329

Last change on this file since 5329 was 3609, checked in by patdenice, 15 years ago

Convert all php and tpl files in Unix format for my plugins.

File size: 5.9 KB
RevLine 
[3609]1<div class="titrePage">
2<h2>Lightbox</h2>
3</div>
4
5<form action="" method="post">
6
7<fieldset>
8<legend>{'lb_display'|@translate}</legend>
9<table>
10  <tr>
11    <td align="right">{'lb_display_name'|@translate} : &nbsp;&nbsp;</td>
12    <td><input type="radio" name="display_name" value="1" {if $DISPLAY_NAME}checked="checked"{/if} onClick="javascript: jQuery('.name_link').show();"> {'lb_yes'|@translate} &nbsp;
13        <input type="radio" name="display_name" value="0" {if !$DISPLAY_NAME}checked="checked"{/if} onClick="javascript: jQuery('.name_link').hide();"> {'lb_no'|@translate}
14    </td>
15  </tr>
16
17  <tr class="name_link"><td>&nbsp;</td></tr>
18 
19  <tr class="name_link">
20    <td align="right">{'lb_name_link'|@translate} : &nbsp;&nbsp;</td>
21    <td><select name="name_link">
22          <option label="{'lb_picture'|@translate}" value="picture" {if $NAME_LINK == 'picture'}selected="selected"{/if}>{'lb_picture'|@translate}</option>
23          <option label="{'lb_high'|@translate}" value="high" {if $NAME_LINK == 'high'}selected="selected"{/if}>{'lb_high'|@translate}</option>
24          <option label="{'lb_none'|@translate}" value="none" {if $NAME_LINK == 'none'}selected="selected"{/if}>{'lb_none'|@translate}</option>
25        </select>
26    </td>
27  </tr>
28
29  <tr><td>&nbsp;</td></tr>
30
31  <tr>
32    <td align="right">{'lb_display_arrows'|@translate} : &nbsp;&nbsp;</td>
33    <td><input type="radio" name="display_arrows" value="1" {if $DISPLAY_ARROWS}checked="checked"{/if} onClick="javascript: jQuery('.all_cat').show();"> {'lb_yes'|@translate} &nbsp;
34        <input type="radio" name="display_arrows" value="0" {if !$DISPLAY_ARROWS}checked="checked"{/if} onClick="javascript: jQuery('.all_cat').hide();"> {'lb_no'|@translate}
35    </td>
36  </tr>
37
38  <tr class="all_cat"><td>&nbsp;</td></tr>
39
40  <tr class="all_cat">
41    <td align="right">{'lb_all_category'|@translate} : &nbsp;&nbsp;</td>
42    <td><input type="radio" name="all_cat" value="1" {if $ALL_CAT}checked="checked"{/if}> {'lb_yes'|@translate} &nbsp;
43        <input type="radio" name="all_cat" value="0" {if !$ALL_CAT}checked="checked"{/if}> {'lb_no'|@translate}
44    </td>
45  </tr>
46
47  <tr><td>&nbsp;</td></tr>
48</table>
49</fieldset>
50
51<fieldset>
52<legend>{'lb_theme_transition'|@translate}</legend>
53<table>
54  <tr>
55    <td align="right">{'lb_theme'|@translate} : &nbsp;&nbsp;</td>
56    <td><select name="theme">
57          {foreach from=$themes item=theme key=i}
58          <option label="{$theme|@ucwords}" value="{$theme}" {if $SELECTED_THEME == $theme}selected="selected"{/if}>{$theme|@ucwords}</option>
59          {/foreach}
60        </select>
61    </td>
62  </tr>
63 
64  <tr><td>&nbsp;</td></tr>
65
66  <tr>
67    <td align="right">{'lb_transition'|@translate} : &nbsp;&nbsp;</td>
68    <td><select name="transition">
69          <option label="{'lb_transition_elastic'|@translate}" value="elastic" {if $SELECTED_TRANSITION == 'elastic'}selected="selected"{/if}>{'lb_transition_elastic'|@translate}</option>
70          <option label="{'lb_transition_fade'|@translate}" value="fade" {if $SELECTED_TRANSITION == 'fade'}selected="selected"{/if}>{'lb_transition_fade'|@translate}</option>
71          <option label="{'lb_transition_none'|@translate}" value="none" {if $SELECTED_TRANSITION == 'none'}selected="selected"{/if}>{'lb_transition_none'|@translate}</option>
72        </select>
73    </td>
74  </tr>
75
76  <tr><td>&nbsp;</td></tr>
77
78  <tr>
79    <td align="right">{'lb_transition_speed'|@translate} : &nbsp;&nbsp;</td>
80    <td><input type="text" size="2" maxlength="3" name="transition_speed" value="{$TRANSITION_SPEED}"> ms</td>
81  </tr>
82 
83  <tr><td>&nbsp;</td></tr>
84</table>
85</fieldset>
86
87<fieldset>
88<legend>{'lb_dimensions'|@translate}</legend>
89<table>
90  <tr>
91    <td align="right">{'lb_initial_width'|@translate} : &nbsp;&nbsp;</td>
92    <td><input type="text" size="2" maxlength="3" name="initial_width" value="{$INITIAL_WIDTH}">&nbsp;&nbsp;
93        <input type="radio" name="initial_width_px" value="px" {if $INITIAL_WIDTH_PX}checked="checked"{/if}> px &nbsp;
94        <input type="radio" name="initial_width_px" value="%" {if !$INITIAL_WIDTH_PX}checked="checked"{/if}> %</td>
95  </tr>
96  <tr>
97    <td align="right">{'lb_initial_height'|@translate} : &nbsp;&nbsp;</td>
98    <td><input type="text" size="2" maxlength="3" name="initial_height" value="{$INITIAL_HEIGHT}">&nbsp;&nbsp;
99        <input type="radio" name="initial_height_px" value="px" {if $INITIAL_HEIGHT_PX}checked="checked"{/if}> px &nbsp;
100        <input type="radio" name="initial_height_px" value="%" {if !$INITIAL_HEIGHT_PX}checked="checked"{/if}> %</td>
101  </tr>
102
103  <tr><td>&nbsp;</td></tr>
104
105  <tr>
106    <td align="right">{'lb_fixed_width'|@translate} : &nbsp;&nbsp;</td>
107    <td><input type="text" size="2" maxlength="3" name="fixed_width" value="{$FIXED_WIDTH}">&nbsp;&nbsp;
108        <input type="radio" name="fixed_width_px" value="px" {if $FIXED_WIDTH_PX}checked="checked"{/if}> px &nbsp;
109        <input type="radio" name="fixed_width_px" value="%" {if !$FIXED_WIDTH_PX}checked="checked"{/if}> %</td>
110  </tr>
111  <tr>
112    <td align="right">{'lb_fixed_height'|@translate} : &nbsp;&nbsp;</td>
113    <td><input type="text" size="2" maxlength="3" name="fixed_height" value="{$FIXED_HEIGHT}">&nbsp;&nbsp;
114        <input type="radio" name="fixed_height_px" value="px" {if $FIXED_HEIGHT_PX}checked="checked"{/if}> px &nbsp;
115        <input type="radio" name="fixed_height_px" value="%" {if !$FIXED_HEIGHT_PX}checked="checked"{/if}> %</td>
116  </tr>
117
118  <tr><td>&nbsp;</td></tr>
119</table>
120</fieldset>
121
122<p><input type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}>
123<input type="submit" name="restore" value="{'lb_default_parameters'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');" {$TAG_INPUT_ENABLED}></p>
124</form>
125
126<script type="text/javascript">
127if (document.getElementsByName("display_name")[1].checked == true)
128  jQuery('.name_link').hide();
129if (document.getElementsByName("display_arrows")[1].checked == true)
130  jQuery('.all_cat').hide();
[3298]131</script>
Note: See TracBrowser for help on using the repository browser.