source: extensions/piwishack/admin/piwishack_admin.tpl @ 23724

Last change on this file since 23724 was 23724, checked in by gil, 11 years ago
File size: 7.7 KB
Line 
1<link rel="stylesheet" type="text/css" href="{$ROOT_URL}plugins/piwishack/admin/piwishack_admin.css">
2<div class="titrePage">
3  <h2>{'admin_title'|@translate}</h2>
4</div>
5<form method="post" action="{$URLSHACK_F_ACTION}" class="properties">
6<fieldset>
7  <legend>{'admin_fieldset_main'|@translate}</legend>
8        <ul>
9    <li>
10    <span class="propertyleft">
11      <label>{'admin_used_by'|@translate}</label>
12    </span>
13    <select name="URLSHACK_RIGHT">
14      <option value="admin" {if $URLSHACK_RIGHT == "admin"}selected="selected"{/if}>{'admin_used_by_admin'|@translate}</option>
15            <option value="member" {if $URLSHACK_RIGHT == "member"}selected="selected"{/if}>{'admin_used_by_members'|@translate}</option>
16            <option value="all" {if $URLSHACK_RIGHT == "all"}selected="selected"{/if}>{'admin_used_by_all'|@translate}</option>
17          </select>
18          </li>
19    <li>
20    <span class="propertyleft">
21      <label>{'admin_default_sheet'|@translate}</label>
22    </span>
23    <select name="URLSHACK_DEFAULTCODE">
24      <option value="html" {if $URLSHACK_DEFAULTCODE == "html"}selected="selected"{/if}>{'admin_default_sheet_html'|@translate}</option>
25      <option value="bbcode" {if $URLSHACK_DEFAULTCODE == "bbcode"}selected="selected"{/if}>{'admin_default_sheet_bbcode'|@translate}</option>
26      <option value="custom" {if $URLSHACK_DEFAULTCODE == "custom"}selected="selected"{/if}>{'admin_default_sheet_custom'|@translate}</option>
27    </select>
28          </li>
29    <li>
30    <span class="propertyleft">
31      <label>{'admin_window_open'|@translate}</label>
32    </span>
33          <select name="URLSHACK_BLANK">
34            <option value="local" {if $URLSHACK_BLANK != "other"}selected="selected"{/if}>{'admin_window_open_local'|@translate}</option>
35            <option value="other" {if $URLSHACK_BLANK == "other"}selected="selected"{/if}>{'admin_window_open_other'|@translate}</option>
36          </select>
37          </li>
38    <li>
39    <span class="propertyleft">
40      <label>{'admin_img_name'|@translate}</label>
41    </span>
42          <select name="URLSHACK_IMG_NAME">
43            <option value="no" {if $URLSHACK_IMG_NAME == "no"}selected="selected"{/if}>{'admin_img_name_never'|@translate}</option>
44            <option value="list" {if $URLSHACK_IMG_NAME == "list"}selected="selected"{/if}>{'admin_img_name_list'|@translate}</option>
45            <option value="all" {if $URLSHACK_IMG_NAME == "all"}selected="selected"{/if}>{'admin_img_name_all'|@translate}</option>
46          </select>
47          </li>
48  </ul>
49</fieldset>
50<fieldset>
51        <legend>{'admin_fieldset_codes'|@translate}</legend>
52        <ul>
53          <li>
54          <span class="propertyleft">
55      <label>{'admin_codes_thumb'|@translate}</label>
56    </span>
57    <input type="text" size="2" name="URLSHACK_THUMB" value="{$URLSHACK_THUMB}" /> BBCode: <span class="pattern">[img]##t[/img]</span> - HTML: <span class="pattern">&lt;img src="##t" /&gt;</span>
58    </li>
59    <li>
60    <span class="propertyleft">
61      <label>{'admin_codes_thumb_to_page'|@translate}</label>
62    </span>
63    <input type="text" size="2" name="URLSHACK_THUMB_TO_GAL" value="{$URLSHACK_THUMB_TO_GAL}" /> BBCode: <span class="pattern">[url=##g][img]##t[/img][/url]</span> - HTML: <span class="pattern">&lt;a src="##g" /&gt&lt;img src="##t" /&gt;&lt;/a&gt;</span>
64    </li>
65    <li>
66    <span class="propertyleft">
67      <label>{'admin_codes_thumb_to_image'|@translate}</label>
68    </span>
69    <input type="text" size="2" name="URLSHACK_THUMB_TO_IMG" value="{$URLSHACK_THUMB_TO_IMG}" /> BBCode: <span class="pattern">[url=##i][img]##t[/img][/url]</span> - HTML: <span class="pattern">&lt;a src="##i" /&gt&lt;img src="##t" /&gt;&lt;/a&gt;</span>
70    </li>
71    <li>
72    <span class="propertyleft">
73      <label>{'admin_codes_img'|@translate}</label>
74    </span>
75    <input type="text" size="2" name="URLSHACK_IMG" value="{$URLSHACK_IMG}" /> BBCode: <span class="pattern">[img]##i[/img]</span> - HTML: <span class="pattern">&lt;img src="##i" /&gt;</span>
76    </li>
77    <li>
78    <span class="propertyleft">
79      <label>{'admin_codes_img_to_page'|@translate}</label>
80    </span>
81    <input type="text" size="2" name="URLSHACK_IMG_TO_GAL" value="{$URLSHACK_IMG_TO_GAL}" /> BBCode: <span class="pattern">[url=##g][img]##i[/img][/url]</span> - HTML: <span class="pattern">&lt;a src="##g" /&gt&lt;img src="##i" /&gt;&lt;/a&gt;</span>
82    </li>
83    <li>
84    <span class="propertyleft">
85      <label>{'admin_codes_name_to_image'|@translate}</label>
86    </span>
87    <input type="text" size="2" name="URLSHACK_URL_IMG" value="{$URLSHACK_URL_IMG}" /> BBCode: <span class="pattern">[url=##i]##n[/url]</span> - HTML: <span class="pattern">&lt;a href="##i"&gt;##n&lt;/a&gt;</span>
88    </li>
89    <li>
90    <span class="propertyleft">
91      <label>{'admin_codes_name_to_page'|@translate}</label>
92    </span>
93    <input type="text" size="2" name="URLSHACK_URL_GAL" value="{$URLSHACK_URL_GAL}" /> BBCode: <span class="pattern">[url=##g]##n[/url]</span> - HTML: <span class="pattern">&lt;a src="##g" /&gt##n&lt;/a&gt;</span>
94    </li>
95  </ul>
96        <div class="help">{'admin_codes_help'|@translate}</div>
97</fieldset>
98<fieldset>
99        <legend>{'admin_fieldset_custom'|@translate}</legend>
100  <ul>
101    <li>
102          <span class="propertyleft">
103      <label>{'admin_custom_code'|@translate}1</label>
104    </span>
105    <input type="text" size="65" name="URLSHACK_PERSO1" value='{$URLSHACK_PERSO1}' />
106      <label>{'admin_custom_name'|@translate}</label>
107    <input type="text" size="35" name="URLSHACK_PLABEL1" value='{$URLSHACK_PLABEL1}' />
108    </li>
109    <li>
110    <span class="propertyleft">
111      <label>{'admin_custom_code'|@translate}2</label>
112    </span>
113    <input type="text" size="65" name="URLSHACK_PERSO2" value='{$URLSHACK_PERSO2}' />
114      <label>{'admin_custom_name'|@translate}</label>
115    <input type="text" size="35" name="URLSHACK_PLABEL2" value='{$URLSHACK_PLABEL2}' />
116    </li>
117    <li>
118    <span class="propertyleft">
119      <label>{'admin_custom_code'|@translate}3</label>
120    </span>
121    <input type="text" size="65" name="URLSHACK_PERSO3" value='{$URLSHACK_PERSO3}' />
122      <label>{'admin_custom_name'|@translate}</label>
123    <input type="text" size="35" name="URLSHACK_PLABEL3" value='{$URLSHACK_PLABEL3}' />
124    </li>
125    <li>
126    <span class="propertyleft">
127      <label>{'admin_custom_code'|@translate}4</label>
128    </span>
129    <input type="text" size="65" name="URLSHACK_PERSO4" value='{$URLSHACK_PERSO4}' />
130      <label>{'admin_custom_name'|@translate}</label>
131    <input type="text" size="35" name="URLSHACK_PLABEL4" value='{$URLSHACK_PLABEL4}' />
132    </li>
133    <li>
134    <span class="propertyleft">
135      <label>{'admin_custom_code'|@translate}5</label>
136    </span>
137    <input type="text" size="65" name="URLSHACK_PERSO5" value='{$URLSHACK_PERSO5}' />
138      <label>{'admin_custom_name'|@translate}</label>
139    <input type="text" size="35" name="URLSHACK_PLABEL5" value='{$URLSHACK_PLABEL5}' />
140    </li>
141    <li>
142    <span class="propertyleft">
143      <label>{'admin_custom_code'|@translate}6</label>
144    </span>
145    <input type="text" size="65" name="URLSHACK_PERSO6" value='{$URLSHACK_PERSO6}' />
146      <label>{'admin_custom_name'|@translate}</label>
147    <input type="text" size="35" name="URLSHACK_PLABEL6" value='{$URLSHACK_PLABEL6}' />
148    </li>
149    <li>
150    <span class="propertyleft">
151      <label>{'admin_custom_code'|@translate}7</label>
152    </span>
153    <input type="text" size="65" name="URLSHACK_PERSO7" value='{$URLSHACK_PERSO7}' />
154      <label>{'admin_custom_name'|@translate}</label>
155    <input type="text" size="35" name="URLSHACK_PLABEL7" value='{$URLSHACK_PLABEL7}' />
156    </li>
157  </ul>
158        <div class="help">{'admin_custom_help'|@translate}</div>
159</fieldset>
160 
161<p><input type="submit" value="{'admin_save'|@translate}" name="submit" /></p>
162</form>
Note: See TracBrowser for help on using the repository browser.