PageRenderTime 22ms CodeModel.GetById 13ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/upload/templates/admin/admin_extensions.tpl

http://torrentpier2.googlecode.com/
Smarty Template | 220 lines | 199 code | 21 blank | 0 comment | 0 complexity | 529b17388d2201d1c80f9ac0acae48f3 MD5 | raw file
  1
  2<!-- IF TPL_ATTACH_EXTENSIONS -->
  3<!--========================================================================-->
  4
  5<h1>{L_MANAGE_EXTENSIONS}</h1>
  6
  7<p>{L_MANAGE_EXTENSIONS_EXPLAIN}</p>
  8<br />
  9
 10<form method="post" action="{S_ATTACH_ACTION}">
 11<table class="forumline">
 12	<tr>
 13	  <td class="catTitle" colspan="4">{L_MANAGE_EXTENSIONS}
 14	  </td>
 15	</tr>
 16	<tr>
 17	  <th>&nbsp;{L_EXPLANATION}&nbsp;</th>
 18	  <th>&nbsp;{L_EXTENSION}&nbsp;</th>
 19	  <th>&nbsp;{L_EXTENSION_GROUP}&nbsp;</th>
 20	  <th>&nbsp;{L_ADD_NEW}&nbsp;</th>
 21	</tr>
 22	<tr>
 23	  <td class="row1" align="center"><input type="text" size="30" maxlength="100" name="add_extension_explain" class="post" value="{ADD_EXTENSION_EXPLAIN}" /></td>
 24	  <td class="row2" align="center"><input type="text" size="20" maxlength="100" name="add_extension" class="post" value="{ADD_EXTENSION}" /></td>
 25	  <td class="row1" align="center">{S_ADD_GROUP_SELECT}</td>
 26	  <td class="row2" align="center"><input type="checkbox" name="add_extension_check" /></td>
 27	</tr>
 28	<tr align="right">
 29	  <td class="catBottom" colspan="4"> {S_HIDDEN_FIELDS} <input type="submit" name="submit" class="liteoption" value="{L_SUBMIT}" /></td>
 30  </tr>
 31  <tr>
 32	  <th>&nbsp;{L_EXPLANATION}&nbsp;</th>
 33	  <th>&nbsp;{L_EXTENSION}&nbsp;</th>
 34	  <th>&nbsp;{L_EXTENSION_GROUP}&nbsp;</th>
 35	  <th>&nbsp;{L_DELETE}&nbsp;</th>
 36	</tr>
 37<!-- BEGIN extension_row -->
 38	<tr>
 39	  <input type="hidden" name="extension_change_list[]" value="{extension_row.EXT_ID}" />
 40	  <td class="row1" align="center"><input type="text" size="30" maxlength="100" name="extension_explain_list[]" class="post" value="{extension_row.EXTENSION_EXPLAIN}" /></td>
 41	  <td class="row2" align="center"><b><span class="gen">{extension_row.EXTENSION}</span></b></td>
 42	  <td class="row1" align="center">{extension_row.S_GROUP_SELECT}</td>
 43	  <td class="row2" align="center"><input type="checkbox" name="extension_id_list[]" value="{extension_row.EXT_ID}" /></td>
 44	</tr>
 45<!-- END extension_row -->
 46	<tr align="right">
 47	  <td class="catBottom" colspan="4">
 48	  <input type="submit" name="{L_CANCEL}" class="liteoption" value="{L_CANCEL}" onClick="self.location.href='{S_CANCEL_ACTION}'" />
 49	  <input type="submit" name="submit" class="liteoption" value="{L_SUBMIT}" /></td>
 50	</tr>
 51</table>
 52
 53</form>
 54
 55<!--========================================================================-->
 56<!-- ENDIF / TPL_ATTACH_EXTENSIONS -->
 57
 58<!-- IF TPL_ATTACH_EXTENSION_GROUPS -->
 59<!--========================================================================-->
 60
 61{GROUP_PERMISSIONS_BOX}
 62
 63<h1>{L_MANAGE_EXTENSION_GROUPS}</h1>
 64
 65<p>{L_MANAGE_EXTENSION_GROUPS_EXPLAIN}</p>
 66<br />
 67
 68<form method="post" action="{S_ATTACH_ACTION}">
 69<table class="forumline">
 70	<tr>
 71	  <td class="catTitle" colspan="8">{L_MANAGE_EXTENSION_GROUPS}
 72	  </td>
 73	</tr>
 74	<tr>
 75	  <th>&nbsp;{L_EXTENSION_GROUP}&nbsp;</th>
 76	  <th>&nbsp;{L_SPECIAL_CATEGORY}&nbsp;</th>
 77	  <th>&nbsp;{L_ALLOWED}&nbsp;</th>
 78	  <th>&nbsp;{L_DOWNLOAD_MODE}&nbsp;</th>
 79	  <th>&nbsp;{L_UPLOAD_ICON}&nbsp;</th>
 80	  <th>&nbsp;{L_MAX_FILESIZE_ATTACH}&nbsp;</th>
 81	  <th>&nbsp;{L_ALLOWED_FORUMS}&nbsp;</th>
 82	  <th>&nbsp;{L_ADD_NEW}&nbsp;</th>
 83	</tr>
 84	<tr>
 85	  <td class="row1" align="center">
 86	  <table width="100%" class="borderless">
 87	  <tr>
 88  	  <td class="row1" align="center" width="10%" wrap="nowrap">&nbsp;</td>
 89	  <td class="row1"><input type="text" size="20" maxlength="100" name="add_extension_group" class="post" value="{ADD_GROUP_NAME}" /></td>
 90	  </tr>
 91	  </table>
 92	  </td>
 93	  <td class="row2" align="center">{S_SELECT_CAT}</td>
 94	  <td class="row1" align="center"><input type="checkbox" name="add_allowed" /></td>
 95	  <td class="row2" align="center">{S_ADD_DOWNLOAD_MODE}</td>
 96	  <td class="row1" align="center"><input type="text" size="15" maxlength="100" name="add_upload_icon" class="post" value="{UPLOAD_ICON}" /></td>
 97	  <td class="row2" align="center"><input type="text" size="3" maxlength="15" name="add_max_filesize" class="post" value="{MAX_FILESIZE}" /> {S_FILESIZE}</td>
 98	  <td class="row1" align="center">&nbsp;</td>
 99	  <td class="row2" align="center"><input type="checkbox" name="add_extension_group_check" /></td>
100	</tr>
101	<tr align="right">
102	  <td class="catBottom" colspan="8"><input type="submit" name="submit" class="liteoption" value="{L_SUBMIT}" /></td>
103  </tr>
104  <tr>
105	  <th>&nbsp;{L_EXTENSION_GROUP}&nbsp;</th>
106	  <th>&nbsp;{L_SPECIAL_CATEGORY}&nbsp;</th>
107	  <th>&nbsp;{L_ALLOWED}&nbsp;</th>
108	  <th>&nbsp;{L_DOWNLOAD_MODE}&nbsp;</th>
109	  <th>&nbsp;{L_UPLOAD_ICON}&nbsp;</th>
110	  <th>&nbsp;{L_MAX_GROUPS_FILESIZE}&nbsp;</th>
111	  <th>&nbsp;{L_ALLOWED_FORUMS}&nbsp;</th>
112	  <th>&nbsp;{L_DELETE}&nbsp;</th>
113	</tr>
114  <!-- BEGIN grouprow -->
115  <tr>
116	  <input type="hidden" name="group_change_list[]" value="{grouprow.GROUP_ID}" />
117	  <td class="row1" align="center">
118	  <table width="100%" class="borderless">
119	  <tr>
120		<td class="row1" align="center" width="10%" wrap="nowrap"><b><span class="small"><a href="{grouprow.U_VIEWGROUP}" class="small">{grouprow.CAT_BOX}</a></span></b></td>
121		<td class="row1"><input type="text" size="20" maxlength="100" name="extension_group_list[]" class="post" value="{grouprow.EXTENSION_GROUP}" /></td>
122	  </tr>
123	  </table>
124	  </td>
125	  <td class="row2" align="center">{grouprow.S_SELECT_CAT}</td>
126	  <td class="row1" align="center"><input type="checkbox" name="allowed_list[]" value="{grouprow.GROUP_ID}" {grouprow.S_ALLOW_SELECTED} /></td>
127	  <td class="row2" align="center">{grouprow.S_DOWNLOAD_MODE}</td>
128	  <td class="row1" align="center"><input type="text" size="15" maxlength="100" name="upload_icon_list[]" class="post" value="{grouprow.UPLOAD_ICON}" /></td>
129	  <td class="row2" align="center"><input type="text" size="3" maxlength="15" name="max_filesize_list[]" class="post" value="{grouprow.MAX_FILESIZE}" /> {grouprow.S_FILESIZE}</td>
130	  <td class="row1" align="center"><span class="small"><a href="{grouprow.U_FORUM_PERMISSIONS}" class="small">{L_EXT_GROUP_PERMISSIONS}</a></span></td>
131	  <td class="row2" align="center"><input type="checkbox" name="group_id_list[]" value="{grouprow.GROUP_ID}" /></td>
132	</tr>
133  <!-- BEGIN extensionrow -->
134  <tr>
135	<td class="row2" align="center"><span class="small">{grouprow.extensionrow.EXTENSION}</span></td>
136    <td class="row2" align="center"><span class="small">{grouprow.extensionrow.EXPLANATION}</span></td>
137	<td class="row2" align="center">&nbsp;</td>
138	<td class="row2" align="center">&nbsp;</td>
139	<td class="row2" align="center">&nbsp;</td>
140	<td class="row2" align="center">&nbsp;</td>
141	<td class="row2" align="center">&nbsp;</td>
142	<td class="row2" align="center">&nbsp;</td>
143  </tr>
144
145  <!-- END extensionrow -->
146  <!-- END grouprow -->
147
148	<tr align="right">
149	  <td class="catBottom" colspan="8">
150	  <input type="submit" name="{L_CANCEL}" class="liteoption" value="{L_CANCEL}" onClick="self.location.href='{S_CANCEL_ACTION}'" />
151	  <input type="submit" name="submit" class="liteoption" value="{L_SUBMIT}" /></td>
152	</tr>
153</table>
154
155</form>
156
157<!--========================================================================-->
158<!-- ENDIF / TPL_ATTACH_EXTENSION_GROUPS -->
159
160<!-- IF TPL_ATTACH_EXTENSION_GROUPS_PERMISSIONS -->
161<!--========================================================================-->
162
163<h1>{L_GROUP_PERMISSIONS_TITLE}</h1>
164
165<p>{L_GROUP_PERMISSIONS_EXPLAIN}</p>
166<br />
167<table width="100%">
168	<tr>
169		<td align="center">
170			<form method="post" action="{A_PERM_ACTION}">
171			<table width="90%" class="forumline">
172				<tr>
173					<th>{L_ALLOWED_FORUMS}</th>
174				</tr>
175				<tr>
176					<td class="row1" align="center">
177						<select style="width:560px" name="entries[]" multiple="multiple" size="5">
178						<!-- BEGIN allow_option_values -->
179						<option value="{allow_option_values.VALUE}">{allow_option_values.OPTION}</option>
180						<!-- END allow_option_values -->
181						</select>
182					</td>
183				</tr>
184				<tr>
185					<td class="cat" align="center"> <input class="liteoption" type="submit" name="del_forum" value="{L_REMOVE_SELECTED}" /> &nbsp; <input class="liteoption" type="submit" name="close_perm" value="{L_CLOSE_WINDOW}" /><input type="hidden" name="e_mode" value="perm" /></td>
186				</tr>
187			</table>
188			</form>
189		</td>
190	</tr>
191	<tr>
192		<td>
193			<form method="post" action="{A_PERM_ACTION}">
194			<table width="90%" class="forumline">
195				<tr>
196					<th>{L_ADD_FORUMS}</th>
197				</tr>
198				<tr>
199					<td class="row1" align="center">
200					<select style="width:560px" name="entries[]" multiple="multiple" size="5">
201					<!-- BEGIN forum_option_values -->
202					<option value="{forum_option_values.VALUE}">{forum_option_values.OPTION}</option>
203					<!-- END forum_option_values -->
204					</select>
205					</td>
206				</tr>
207				<tr>
208					<td class="cat" align="center"> <input type="submit" name="add_forum" value="{L_ADD_SELECTED}" class="mainoption" />&nbsp; <input type="reset" value="{L_RESET}" class="liteoption" />&nbsp; <input type="hidden" name="e_mode" value="perm" /></td>
209				</tr>
210			</table>
211			</form>
212		</td>
213	</tr>
214</table>
215
216<!--========================================================================-->
217<!-- ENDIF / TPL_ATTACH_EXTENSION_GROUPS_PERMISSIONS -->
218
219<br clear="all" />
220