A lightweight forum engine written in PHP. Repository is now obsolete and read-only. http://www.pioder.pl/uforum.html
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

382 lines
17 KiB

  1. <form action="admin_script.php" method="POST">
  2. <center>
  3. <div align="center" style="width: <?= (TABLES_WIDTH+40); ?>px; background-color: #F1F3FE">
  4. <div align="center" style="width: <?= TABLES_WIDTH; ?>px;"><br>
  5. <div align="left" style="width: <?= TABLES_WIDTH; ?>px">
  6. <span class="pa_sect"><?= $skin['L.scriptoptions']; ?></span>
  7. </div>
  8. <?php include($ERROR); ?>
  9. <table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-width: 0px">
  10. <!-- general preferences beam -->
  11. <tr>
  12. <td width="17" style="background-image: url('template/images/td_beam_left.gif')"></td>
  13. <td class="beam" align="center" colspan="2" style="background-image: url('template/images/td_beam_top.gif')">
  14. <?= $skin['L.general_preferences']; ?>
  15. <td width="17" style="background-image: url('template/images/td_beam_right.gif')"></td>
  16. </td>
  17. </tr>
  18. </table>
  19. <table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-top: 0px">
  20. <!-- forum path -->
  21. <tr>
  22. <td class="fitem" align="right" width="50%" height="19">
  23. <span class="fstandard"><?= $skin['L.forum_path']; ?>:&nbsp;&nbsp;</span><br>
  24. <span class="fverysmall"><?= $skin['L.forum_path.D']; ?>&nbsp;&nbsp;</span>
  25. </td>
  26. <td class="fitem" width="50%" height="19">
  27. <input type="text" style="width: 250px" name="forum_path" value="<? echo $skin['forum_path']; ?>">
  28. </td>
  29. </tr>
  30. <!-- forum name -->
  31. <tr>
  32. <td class="fitem" align="right" width="50%" height="19">
  33. <span class="fstandard"><?= $skin['L.forum_name']; ?>:&nbsp;&nbsp;</span>
  34. </td>
  35. <td class="fitem" width="50%" height="19">
  36. <input type="text" style="width: 250px" name="forum_name" value="<?= $skin['forum_name'] ?>" maxlength="30">
  37. </td>
  38. </tr>
  39. <!-- forum description -->
  40. <tr>
  41. <td class="fitem" align="right" width="50%" height="19">
  42. <span class="fstandard"><?= $skin['L.forum_desc']; ?>:&nbsp;&nbsp;</span>
  43. </td>
  44. <td class="fitem" width="50%" height="19">
  45. <input type="text" style="width: 250px" name="forum_desc" value="<?= $skin['forum_desc'] ?>" maxlength="30">
  46. </td>
  47. </tr>
  48. <!-- forum disabled -->
  49. <tr>
  50. <td class="fitem" align="right" width="50%" height="19">
  51. <span class="fstandard"><?= $skin['L.forum_disabled']; ?>:&nbsp;&nbsp;</span><br>
  52. <span class="fverysmall"><?= $skin['L.forum_disabled.D']; ?>&nbsp;&nbsp;</span>
  53. </td>
  54. <td class="fitem" width="50%" height="19">
  55. <textarea style="width: 250px" name="forum_disabled"><?= $skin['forum_disabled']; ?></textarea>
  56. </td>
  57. </tr>
  58. <!-- default skin -->
  59. <tr>
  60. <td class="fitem" align="right" width="50%" height="19">
  61. <span class="fstandard"><?= $skin['L.default_skin']; ?>:&nbsp;&nbsp;</span>
  62. </td>
  63. <td class="fitem" width="50%" height="19">
  64. <select name="default_skin" style="width: 150px">
  65. <option value="-1"><?= $skin['L2.default_skin']; ?></option>
  66. <option value="-1"></option>
  67. <?= $skin['OPTIONS.default_skin']; ?>
  68. </select>
  69. </td>
  70. </tr>
  71. <!-- tables width -->
  72. <tr>
  73. <td class="fitem" align="right" width="50%" height="19">
  74. <span class="fstandard"><?= $skin['L.tables_width']; ?>:&nbsp;&nbsp;</span>
  75. </td>
  76. <td class="fitem" width="50%" height="19">
  77. <input type="text" maxlength="4" name="tables_width" value="<?= $skin['OPTION.tables_width']; ?>">
  78. </td>
  79. </tr>
  80. <!-- default language -->
  81. <tr>
  82. <td class="fitem" align="right" width="50%" height="19">
  83. <span class="fstandard"><?= $skin['L.default_lang']; ?>:&nbsp;&nbsp;</span>
  84. </td>
  85. <td class="fitem" width="50%" height="19">
  86. <select name="default_lang" style="width: 150px">
  87. <option value="-1"><?= $skin['L2.default_lang']; ?></option>
  88. <option value="-1"></option>
  89. <?= $skin['OPTIONS.default_lang']; ?>
  90. </select>
  91. </td>
  92. </tr>
  93. <!-- enable send email -->
  94. <tr>
  95. <td class="fitem" align="right" width="50%" height="19">
  96. <span class="fstandard"><?= $skin['L.enable_send_email']; ?>:&nbsp;&nbsp;</span>
  97. </td>
  98. <td class="fitem" width="50%" height="19">
  99. <input type="checkbox" name="enable_send_email" <?= $skin['OPTION.enable_send_email']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
  100. </td>
  101. </tr>
  102. <!-- allow upload avatars -->
  103. <tr>
  104. <td class="fitem" align="right" width="50%" height="19">
  105. <span class="fstandard"><?= $skin['L.allow_upload_avatars']; ?>:&nbsp;&nbsp;</span>
  106. </td>
  107. <td class="fitem" width="50%" height="19">
  108. <input type="checkbox" name="allow_upload_avatars" <?= $skin['OPTION.allow_upload_avatars']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
  109. </td>
  110. </tr>
  111. <!-- avatar max x -->
  112. <tr>
  113. <td class="fitem" align="right" width="50%" height="19">
  114. <span class="fstandard"><?= $skin['L.max_av_x']; ?>:&nbsp;&nbsp;</span>
  115. </td>
  116. <td class="fitem" width="50%" height="19">
  117. <input type="text" maxlength="4" name="max_av_x" value="<?= $skin['OPTION.max_av_x']; ?>">
  118. </td>
  119. </tr>
  120. <!-- avatar max y -->
  121. <tr>
  122. <td class="fitem" align="right" width="50%" height="19">
  123. <span class="fstandard"><?= $skin['L.max_av_y']; ?>:&nbsp;&nbsp;</span>
  124. </td>
  125. <td class="fitem" width="50%" height="19">
  126. <input type="text" maxlength="4" name="max_av_y" value="<?= $skin['OPTION.max_av_y']; ?>">
  127. </td>
  128. </tr>
  129. <!-- avatar max filesize -->
  130. <tr>
  131. <td class="fitem" align="right" width="50%" height="19">
  132. <span class="fstandard"><?= $skin['L.max_av_filesize']; ?>:&nbsp;&nbsp;</span>
  133. </td>
  134. <td class="fitem" width="50%" height="19">
  135. <input type="text" maxlength="4" name="max_av_filesize" value="<?= $skin['OPTION.max_av_filesize']; ?>">
  136. </td>
  137. </tr>
  138. <!-- max signature length -->
  139. <tr>
  140. <td class="fitem" align="right" width="50%" height="19">
  141. <span class="fstandard"><?= $skin['L.sig_len']; ?>:&nbsp;&nbsp;</span>
  142. </td>
  143. <td class="fitem" width="50%" height="19">
  144. <input type="text" maxlength="4" name="sig_len" value="<?= $skin['OPTION.sig_len']; ?>">
  145. </td>
  146. </tr>
  147. <!-- time antiflood -->
  148. <tr>
  149. <td class="fitem" align="right" width="50%" height="19">
  150. <span class="fstandard"><?= $skin['L.time_antiflood']; ?>:&nbsp;&nbsp;</span>
  151. </td>
  152. <td class="fitem" width="50%" height="19">
  153. <input type="text" maxlength="4" name="time_antiflood" value="<?= $skin['OPTION.time_antiflood']; ?>">
  154. </td>
  155. </tr>
  156. <!-- time antiflood -->
  157. <tr>
  158. <td class="fitem" align="right" width="50%" height="19">
  159. <span class="fstandard"><?= $skin['L.newpasswd_len']; ?>:&nbsp;&nbsp;</span>
  160. </td>
  161. <td class="fitem" width="50%" height="19">
  162. <input type="text" maxlength="1" name="newpasswd_len" value="<?= $skin['OPTION.newpasswd_len']; ?>">
  163. </td>
  164. </tr>
  165. </table>
  166. <span class="fverysmall">&nbsp;</span>
  167. <table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-width: 0px">
  168. <!-- general preferences beam -->
  169. <tr>
  170. <td width="17" style="background-image: url('template/images/td_beam_left.gif')"></td>
  171. <td class="beam" align="center" colspan="2" style="background-image: url('template/images/td_beam_top.gif')">
  172. <?= $skin['L.positioning']; ?>
  173. <td width="17" style="background-image: url('template/images/td_beam_right.gif')"></td>
  174. </td>
  175. </tr>
  176. </table>
  177. <table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-top: 0px">
  178. <!-- meta_keywords -->
  179. <tr>
  180. <td class="fitem" align="right" width="50%" height="19">
  181. <span class="fstandard"><?= $skin['L.meta_keywords']; ?>:&nbsp;&nbsp;</span>
  182. </td>
  183. <td class="fitem" width="50%" height="19">
  184. <input type="text" style="width: 250px" name="meta_keywords" value="<?= $skin['meta_keywords']; ?>">
  185. </td>
  186. </tr>
  187. <!-- meta_description -->
  188. <tr>
  189. <td class="fitem" align="right" width="50%" height="19">
  190. <span class="fstandard"><?= $skin['L.meta_description']; ?>:&nbsp;&nbsp;</span>
  191. </td>
  192. <td class="fitem" width="50%" height="19">
  193. <input type="text" style="width: 250px" name="meta_description" value="<?= $skin['meta_description']; ?>">
  194. </td>
  195. </tr>
  196. </table>
  197. <span class="fverysmall">&nbsp;</span>
  198. <table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-width: 0px">
  199. <!-- general preferences beam -->
  200. <tr>
  201. <td width="17" style="background-image: url('template/images/td_beam_left.gif')"></td>
  202. <td class="beam" align="center" colspan="2" style="background-image: url('template/images/td_beam_top.gif')">
  203. <?= $skin['L.other']; ?>
  204. <td width="17" style="background-image: url('template/images/td_beam_right.gif')"></td>
  205. </td>
  206. </tr>
  207. </table>
  208. <table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-top: 0px">
  209. <!-- view time generation -->
  210. <tr>
  211. <td class="fitem" align="right" width="50%" height="19">
  212. <span class="fstandard"><?= $skin['L.time_generation']; ?>:&nbsp;&nbsp;</span>
  213. </td>
  214. <td class="fitem" width="50%" height="19">
  215. <input type="checkbox" name="allow_time_generation" <?= $skin['OPTION.time_generation']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
  216. </td>
  217. </tr>
  218. <!-- topics in forum -->
  219. <tr>
  220. <td class="fitem" align="right" width="50%" height="19">
  221. <span class="fstandard"><?= $skin['L.topics_in_forum']; ?>:&nbsp;&nbsp;</span>
  222. </td>
  223. <td class="fitem" width="50%" height="19">
  224. <select name="limit_ftid" style="width: 150px">
  225. <option value="-1"><?= $skin['L.select_value']; ?></option>
  226. <option value="-1"></option>
  227. <?= $skin['OPTIONS.limit_ftid']; ?>
  228. </select>
  229. </td>
  230. </tr>
  231. <!-- posts in topic -->
  232. <tr>
  233. <td class="fitem" align="right" width="50%" height="19">
  234. <span class="fstandard"><?= $skin['L.posts_in_topic']; ?>:&nbsp;&nbsp;</span>
  235. </td>
  236. <td class="fitem" width="50%" height="19">
  237. <select name="limit_tpid" style="width: 150px">
  238. <option value="-1"><?= $skin['L.select_value']; ?></option>
  239. <option value="-1"></option>
  240. <?= $skin['OPTIONS.limit_tpid']; ?>
  241. </select>
  242. </td>
  243. </tr>
  244. <!-- limit users -->
  245. <tr>
  246. <td class="fitem" align="right" width="50%" height="19">
  247. <span class="fstandard"><?= $skin['L.limit_users']; ?>:&nbsp;&nbsp;</span>
  248. </td>
  249. <td class="fitem" width="50%" height="19">
  250. <select name="limit_users" style="width: 150px">
  251. <option value="-1"><?= $skin['L.select_value']; ?></option>
  252. <option value="-1"></option>
  253. <?= $skin['OPTIONS.limit_users']; ?>
  254. </select>
  255. </td>
  256. </tr>
  257. </table>
  258. <span class="fverysmall">&nbsp;</span>
  259. <table class="maintable" style="border-width:0px" width="<?= TABLES_WIDTH; ?>">
  260. <!-- general preferences beam -->
  261. <tr>
  262. <td width="17" style="background-image: url('template/images/td_beam_left.gif')"></td>
  263. <td class="beam" align="center" colspan="2" style="background-image: url('template/images/td_beam_top.gif')">
  264. <?= $skin['L.shoutbox']; ?>
  265. <td width="17" style="background-image: url('template/images/td_beam_right.gif')"></td>
  266. </td>
  267. </tr>
  268. </table>
  269. <table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-top: 0px">
  270. <!-- allow shoutbox-->
  271. <tr>
  272. <td class="fitem" align="right" width="50%" height="19">
  273. <span class="fstandard"><?= $skin['L.allow_shoutbox']; ?>:&nbsp;&nbsp;</span>
  274. </td>
  275. <td class="fitem" width="50%" height="19">
  276. <input type="checkbox" name="allow_shoutbox" <?= $skin['OPTION.allow_shoutbox']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
  277. </td>
  278. </tr>
  279. <!-- posts in topic -->
  280. <tr>
  281. <td class="fitem" align="right" width="50%" height="19">
  282. <span class="fstandard"><?= $skin['L.shoutbox_limit']; ?>:&nbsp;&nbsp;</span>
  283. </td>
  284. <td class="fitem" width="50%" height="19">
  285. <input type="text" maxlength="4" name="shoutbox_limit" value="<?= $skin['OPTION.shoutbox_limit']; ?>">
  286. </td>
  287. </tr>
  288. <!-- posts in topic -->
  289. <tr>
  290. <td class="fitem" align="right" width="50%" height="19">
  291. <span class="fstandard"><?= $skin['L.shoutbox_max_time']; ?>:&nbsp;&nbsp;</span>
  292. </td>
  293. <td class="fitem" width="50%" height="19">
  294. <input type="text" maxlength="10" name="shoutbox_max_time" value="<?= $skin['OPTION.shoutbox_max_time']; ?>">
  295. </td>
  296. </tr>
  297. </table>
  298. <span class="fverysmall">&nbsp;</span>
  299. <table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-width: 0px">
  300. <!-- admin mod beam -->
  301. <tr>
  302. <td width="17" style="background-image: url('template/images/td_beam_left.gif')"></td>
  303. <td class="beam" align="center" colspan="2" style="background-image: url('template/images/td_beam_top.gif')">
  304. <?= $skin['L.admin_mod']; ?>
  305. <td width="17" style="background-image: url('template/images/td_beam_right.gif')"></td>
  306. </td>
  307. </tr>
  308. </table>
  309. <table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-top: 0px">
  310. <!-- color mod -->
  311. <tr>
  312. <td class="fitem" align="right" width="50%" height="19">
  313. <span class="fstandard"><?= $skin['L.color_mod']; ?>:&nbsp;&nbsp;</span>
  314. </td>
  315. <td class="fitem" width="50%" height="19">
  316. <input type="text" maxlength="8" name="color_mod" value="<?= $skin['OPTION.color_mod']; ?>">
  317. </td>
  318. </tr>
  319. <!-- color admin -->
  320. <tr>
  321. <td class="fitem" align="right" width="50%" height="19">
  322. <span class="fstandard"><?= $skin['L.color_admin']; ?>:&nbsp;&nbsp;</span>
  323. </td>
  324. <td class="fitem" width="50%" height="19">
  325. <input type="text" maxlength="8" name="color_admin" value="<?= $skin['OPTION.color_admin']; ?>">
  326. </td>
  327. </tr>
  328. <!-- enable warnings in topic -->
  329. <tr>
  330. <td class="fitem" align="right" width="50%" height="19">
  331. <span class="fstandard"><?= $skin['L.warnings_in_topic']; ?>:&nbsp;&nbsp;</span>
  332. </td>
  333. <td class="fitem" width="50%" height="19">
  334. <input type="checkbox" name="warnings_in_topic" <?= $skin['OPTION.warnings_in_topic']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
  335. </td>
  336. </tr>
  337. <!-- allow IP for mods -->
  338. <tr>
  339. <td class="fitem" align="right" width="50%" height="19">
  340. <span class="fstandard"><?= $skin['L.allow_ip_for_mods']; ?>:&nbsp;&nbsp;</span>
  341. </td>
  342. <td class="fitem" width="50%" height="19">
  343. <input type="checkbox" name="allow_ip_for_mods" <?= $skin['OPTION.allow_ip_for_mods']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
  344. </td>
  345. </tr>
  346. <!-- enable confirms -->
  347. <tr>
  348. <td class="fitem" align="right" width="50%" height="19">
  349. <span class="fstandard"><?= $skin['L.enable_confirms']; ?>:&nbsp;&nbsp;</span>
  350. </td>
  351. <td class="fitem" width="50%" height="19">
  352. <input type="checkbox" name="enable_confirms" <?= $skin['OPTION.enable_confirms']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
  353. </td>
  354. </tr>
  355. <!-- enable censor list -->
  356. <tr>
  357. <td class="fitem" align="right" width="50%" height="19">
  358. <span class="fstandard"><?= $skin['L.enable_censorlist']; ?>:&nbsp;&nbsp;</span>
  359. </td>
  360. <td class="fitem" width="50%" height="19">
  361. <input type="checkbox" name="enable_censorlist" <?= $skin['OPTION.enable_censorlist']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
  362. </td>
  363. </tr>
  364. <!-- enable warnings -->
  365. <tr>
  366. <td class="fitem" align="right" width="50%" height="19">
  367. <span class="fstandard"><?= $skin['L.enable_warnings']; ?>:&nbsp;&nbsp;</span>
  368. </td>
  369. <td class="fitem" width="50%" height="19">
  370. <input type="checkbox" name="enable_warnings" <?= $skin['OPTION.enable_warnings']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
  371. </td>
  372. </tr>
  373. <!-- submit / reset pool -->
  374. <tr>
  375. <tr>
  376. <td class="fitem" colspan="2" align="center" height="19">
  377. <input type="submit" name="submit" value="<?= $skin['L.submit']; ?>" class="fbutton">
  378. <input type="reset" name="reset" value="<?= $skin['L.reset']; ?>" class="fbutton">
  379. </td>
  380. </tr>
  381. </form>
  382. </table>