1 | <?php $this->_tpl_include('ucp_header.html'); ?>
|
---|
2 |
|
---|
3 | <script type="text/javascript">
|
---|
4 | // <![CDATA[
|
---|
5 | /**
|
---|
6 | * Set display of page element
|
---|
7 | * s[-1,0,1] = hide,toggle display,show
|
---|
8 | */
|
---|
9 | function dE(n,s)
|
---|
10 | {
|
---|
11 | var e = document.getElementById(n);
|
---|
12 | if (!s)
|
---|
13 | {
|
---|
14 | s = (e.style.display == '') ? -1 : 1;
|
---|
15 | }
|
---|
16 | e.style.display = (s == 1) ? 'block' : 'none';
|
---|
17 | }
|
---|
18 |
|
---|
19 | var default_dateformat = '<?php echo (isset($this->_rootref['A_DEFAULT_DATEFORMAT'])) ? $this->_rootref['A_DEFAULT_DATEFORMAT'] : ''; ?>';
|
---|
20 | // ]]>
|
---|
21 | </script>
|
---|
22 |
|
---|
23 | <table class="tablebg" width="100%" cellspacing="1">
|
---|
24 | <tr>
|
---|
25 | <th colspan="2" valign="middle"><?php echo ((isset($this->_rootref['L_TITLE'])) ? $this->_rootref['L_TITLE'] : ((isset($user->lang['TITLE'])) ? $user->lang['TITLE'] : '{ TITLE }')); ?></th>
|
---|
26 | </tr>
|
---|
27 | <?php if ($this->_rootref['ERROR']) { ?>
|
---|
28 | <tr>
|
---|
29 | <td class="row3" colspan="2" align="center"><span class="gensmall error"><?php echo (isset($this->_rootref['ERROR'])) ? $this->_rootref['ERROR'] : ''; ?></span></td>
|
---|
30 | </tr>
|
---|
31 | <?php } ?>
|
---|
32 | <tr>
|
---|
33 | <td class="row1" width="50%"><b class="genmed"><?php echo ((isset($this->_rootref['L_SHOW_EMAIL'])) ? $this->_rootref['L_SHOW_EMAIL'] : ((isset($user->lang['SHOW_EMAIL'])) ? $user->lang['SHOW_EMAIL'] : '{ SHOW_EMAIL }')); ?>:</b></td>
|
---|
34 | <td class="row2"><input type="radio" class="radio" name="viewemail" value="1"<?php if ($this->_rootref['S_VIEW_EMAIL']) { ?> checked="checked"<?php } ?> /><span class="genmed"><?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></span> <input type="radio" class="radio" name="viewemail" value="0"<?php if (! $this->_rootref['S_VIEW_EMAIL']) { ?> checked="checked"<?php } ?> /><span class="genmed"><?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></span></td>
|
---|
35 | </tr>
|
---|
36 | <tr>
|
---|
37 | <td class="row1" width="50%"><b class="genmed"><?php echo ((isset($this->_rootref['L_ADMIN_EMAIL'])) ? $this->_rootref['L_ADMIN_EMAIL'] : ((isset($user->lang['ADMIN_EMAIL'])) ? $user->lang['ADMIN_EMAIL'] : '{ ADMIN_EMAIL }')); ?>:</b></td>
|
---|
38 | <td class="row2"><input type="radio" class="radio" name="massemail" value="1"<?php if ($this->_rootref['S_MASS_EMAIL']) { ?> checked="checked"<?php } ?> /><span class="genmed"><?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></span> <input type="radio" class="radio" name="massemail" value="0"<?php if (! $this->_rootref['S_MASS_EMAIL']) { ?> checked="checked"<?php } ?> /><span class="genmed"><?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></span></td>
|
---|
39 | </tr>
|
---|
40 | <tr>
|
---|
41 | <td class="row1" width="50%"><b class="genmed"><?php echo ((isset($this->_rootref['L_ALLOW_PM'])) ? $this->_rootref['L_ALLOW_PM'] : ((isset($user->lang['ALLOW_PM'])) ? $user->lang['ALLOW_PM'] : '{ ALLOW_PM }')); ?>:</b><br /><span class="gensmall"><?php echo ((isset($this->_rootref['L_ALLOW_PM_EXPLAIN'])) ? $this->_rootref['L_ALLOW_PM_EXPLAIN'] : ((isset($user->lang['ALLOW_PM_EXPLAIN'])) ? $user->lang['ALLOW_PM_EXPLAIN'] : '{ ALLOW_PM_EXPLAIN }')); ?></span></td>
|
---|
42 | <td class="row2"><input type="radio" class="radio" name="allowpm" value="1"<?php if ($this->_rootref['S_ALLOW_PM']) { ?> checked="checked"<?php } ?> /><span class="genmed"><?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></span> <input type="radio" class="radio" name="allowpm" value="0"<?php if (! $this->_rootref['S_ALLOW_PM']) { ?> checked="checked"<?php } ?> /><span class="genmed"><?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></span></td>
|
---|
43 | </tr>
|
---|
44 | <?php if ($this->_rootref['S_CAN_HIDE_ONLINE']) { ?>
|
---|
45 | <tr>
|
---|
46 | <td class="row1" width="50%"><b class="genmed"><?php echo ((isset($this->_rootref['L_HIDE_ONLINE'])) ? $this->_rootref['L_HIDE_ONLINE'] : ((isset($user->lang['HIDE_ONLINE'])) ? $user->lang['HIDE_ONLINE'] : '{ HIDE_ONLINE }')); ?>:</b><br /><span class="gensmall"><?php echo ((isset($this->_rootref['L_HIDE_ONLINE_EXPLAIN'])) ? $this->_rootref['L_HIDE_ONLINE_EXPLAIN'] : ((isset($user->lang['HIDE_ONLINE_EXPLAIN'])) ? $user->lang['HIDE_ONLINE_EXPLAIN'] : '{ HIDE_ONLINE_EXPLAIN }')); ?></span></td>
|
---|
47 | <td class="row2"><input type="radio" class="radio" name="hideonline" value="1"<?php if ($this->_rootref['S_HIDE_ONLINE']) { ?> checked="checked"<?php } ?> /><span class="genmed"><?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></span> <input type="radio" class="radio" name="hideonline" value="0"<?php if (! $this->_rootref['S_HIDE_ONLINE']) { ?> checked="checked"<?php } ?> /><span class="genmed"><?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></span></td>
|
---|
48 | </tr>
|
---|
49 | <?php } if ($this->_rootref['S_SELECT_NOTIFY']) { ?>
|
---|
50 | <tr>
|
---|
51 | <td class="row1" width="50%"><b class="genmed"><?php echo ((isset($this->_rootref['L_NOTIFY_METHOD'])) ? $this->_rootref['L_NOTIFY_METHOD'] : ((isset($user->lang['NOTIFY_METHOD'])) ? $user->lang['NOTIFY_METHOD'] : '{ NOTIFY_METHOD }')); ?>:</b><br /><span class="gensmall"><?php echo ((isset($this->_rootref['L_NOTIFY_METHOD_EXPLAIN'])) ? $this->_rootref['L_NOTIFY_METHOD_EXPLAIN'] : ((isset($user->lang['NOTIFY_METHOD_EXPLAIN'])) ? $user->lang['NOTIFY_METHOD_EXPLAIN'] : '{ NOTIFY_METHOD_EXPLAIN }')); ?></span></td>
|
---|
52 | <td class="row2"><input type="radio" class="radio" name="notifymethod" value="0"<?php if ($this->_rootref['S_NOTIFY_EMAIL']) { ?> checked="checked"<?php } ?> /><span class="genmed"><?php echo ((isset($this->_rootref['L_NOTIFY_METHOD_EMAIL'])) ? $this->_rootref['L_NOTIFY_METHOD_EMAIL'] : ((isset($user->lang['NOTIFY_METHOD_EMAIL'])) ? $user->lang['NOTIFY_METHOD_EMAIL'] : '{ NOTIFY_METHOD_EMAIL }')); ?></span> <input type="radio" class="radio" name="notifymethod" value="1"<?php if ($this->_rootref['S_NOTIFY_IM']) { ?> checked="checked"<?php } ?> /><span class="genmed"><?php echo ((isset($this->_rootref['L_NOTIFY_METHOD_IM'])) ? $this->_rootref['L_NOTIFY_METHOD_IM'] : ((isset($user->lang['NOTIFY_METHOD_IM'])) ? $user->lang['NOTIFY_METHOD_IM'] : '{ NOTIFY_METHOD_IM }')); ?></span> <input type="radio" class="radio" name="notifymethod" value="2"<?php if ($this->_rootref['S_NOTIFY_BOTH']) { ?> checked="checked"<?php } ?> /><span class="genmed"><?php echo ((isset($this->_rootref['L_NOTIFY_METHOD_BOTH'])) ? $this->_rootref['L_NOTIFY_METHOD_BOTH'] : ((isset($user->lang['NOTIFY_METHOD_BOTH'])) ? $user->lang['NOTIFY_METHOD_BOTH'] : '{ NOTIFY_METHOD_BOTH }')); ?></span></td>
|
---|
53 | </tr>
|
---|
54 | <?php } ?>
|
---|
55 | <tr>
|
---|
56 | <td class="row1" width="50%"><b class="genmed"><?php echo ((isset($this->_rootref['L_NOTIFY_ON_PM'])) ? $this->_rootref['L_NOTIFY_ON_PM'] : ((isset($user->lang['NOTIFY_ON_PM'])) ? $user->lang['NOTIFY_ON_PM'] : '{ NOTIFY_ON_PM }')); ?>:</b></td>
|
---|
57 | <td class="row2"><input type="radio" class="radio" name="notifypm" value="1"<?php if ($this->_rootref['S_NOTIFY_PM']) { ?> checked="checked"<?php } ?> /><span class="genmed"><?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></span> <input type="radio" class="radio" name="notifypm" value="0"<?php if (! $this->_rootref['S_NOTIFY_PM']) { ?> checked="checked"<?php } ?> /><span class="genmed"><?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></span></td>
|
---|
58 | </tr>
|
---|
59 | <tr>
|
---|
60 | <td class="row1" width="50%"><b class="genmed"><?php echo ((isset($this->_rootref['L_POPUP_ON_PM'])) ? $this->_rootref['L_POPUP_ON_PM'] : ((isset($user->lang['POPUP_ON_PM'])) ? $user->lang['POPUP_ON_PM'] : '{ POPUP_ON_PM }')); ?>:</b></td>
|
---|
61 | <td class="row2"><input type="radio" class="radio" name="popuppm" value="1"<?php if ($this->_rootref['S_POPUP_PM']) { ?> checked="checked"<?php } ?> /><span class="genmed"><?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></span> <input type="radio" class="radio" name="popuppm" value="0"<?php if (! $this->_rootref['S_POPUP_PM']) { ?> checked="checked"<?php } ?> /><span class="genmed"><?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></span></td>
|
---|
62 | </tr>
|
---|
63 | <tr>
|
---|
64 | <td class="row1" width="50%"><b class="genmed"><?php echo ((isset($this->_rootref['L_BOARD_LANGUAGE'])) ? $this->_rootref['L_BOARD_LANGUAGE'] : ((isset($user->lang['BOARD_LANGUAGE'])) ? $user->lang['BOARD_LANGUAGE'] : '{ BOARD_LANGUAGE }')); ?>:</b></td>
|
---|
65 | <td class="row2"><select name="lang"><?php echo (isset($this->_rootref['S_LANG_OPTIONS'])) ? $this->_rootref['S_LANG_OPTIONS'] : ''; ?></select></td>
|
---|
66 | </tr>
|
---|
67 | <?php if ($this->_rootref['S_STYLE_OPTIONS']) { ?>
|
---|
68 | <tr>
|
---|
69 | <td class="row1" width="50%"><b class="genmed"><?php echo ((isset($this->_rootref['L_BOARD_STYLE'])) ? $this->_rootref['L_BOARD_STYLE'] : ((isset($user->lang['BOARD_STYLE'])) ? $user->lang['BOARD_STYLE'] : '{ BOARD_STYLE }')); ?>:</b></td>
|
---|
70 | <td class="row2"><select name="style"><?php echo (isset($this->_rootref['S_STYLE_OPTIONS'])) ? $this->_rootref['S_STYLE_OPTIONS'] : ''; ?></select></td>
|
---|
71 | </tr>
|
---|
72 | <?php } ?>
|
---|
73 | <tr>
|
---|
74 | <td class="row1" width="50%"><b class="genmed"><?php echo ((isset($this->_rootref['L_BOARD_TIMEZONE'])) ? $this->_rootref['L_BOARD_TIMEZONE'] : ((isset($user->lang['BOARD_TIMEZONE'])) ? $user->lang['BOARD_TIMEZONE'] : '{ BOARD_TIMEZONE }')); ?>:</b></td>
|
---|
75 | <td class="row2">
|
---|
76 | <select id="tz" name="tz"><?php echo (isset($this->_rootref['S_TZ_OPTIONS'])) ? $this->_rootref['S_TZ_OPTIONS'] : ''; ?></select>
|
---|
77 | </td>
|
---|
78 | </tr>
|
---|
79 | <tr>
|
---|
80 | <td class="row1" width="50%"><b class="genmed"><?php echo ((isset($this->_rootref['L_BOARD_DST'])) ? $this->_rootref['L_BOARD_DST'] : ((isset($user->lang['BOARD_DST'])) ? $user->lang['BOARD_DST'] : '{ BOARD_DST }')); ?>:</b></td>
|
---|
81 | <td class="row2"><input type="radio" class="radio" name="dst" value="1"<?php if ($this->_rootref['S_DST']) { ?> checked="checked"<?php } ?> /> <span class="genmed"><?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></span> <input type="radio" class="radio" name="dst" value="0"<?php if (! $this->_rootref['S_DST']) { ?> checked="checked"<?php } ?> /> <span class="genmed"><?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></span></td>
|
---|
82 | </tr>
|
---|
83 | <tr>
|
---|
84 | <td class="row1" width="50%"><b class="genmed"><?php echo ((isset($this->_rootref['L_BOARD_DATE_FORMAT'])) ? $this->_rootref['L_BOARD_DATE_FORMAT'] : ((isset($user->lang['BOARD_DATE_FORMAT'])) ? $user->lang['BOARD_DATE_FORMAT'] : '{ BOARD_DATE_FORMAT }')); ?>:</b><br /><span class="gensmall"><?php echo ((isset($this->_rootref['L_BOARD_DATE_FORMAT_EXPLAIN'])) ? $this->_rootref['L_BOARD_DATE_FORMAT_EXPLAIN'] : ((isset($user->lang['BOARD_DATE_FORMAT_EXPLAIN'])) ? $user->lang['BOARD_DATE_FORMAT_EXPLAIN'] : '{ BOARD_DATE_FORMAT_EXPLAIN }')); ?></span></td>
|
---|
85 | <td class="row2">
|
---|
86 | <select name="dateoptions" id="dateoptions" onchange="if(this.value=='custom'){dE('custom_date',1);}else{dE('custom_date',-1);} if (this.value == 'custom') { document.getElementById('dateformat').value = default_dateformat; } else { document.getElementById('dateformat').value = this.value; }">
|
---|
87 | <?php echo (isset($this->_rootref['S_DATEFORMAT_OPTIONS'])) ? $this->_rootref['S_DATEFORMAT_OPTIONS'] : ''; ?>
|
---|
88 | </select>
|
---|
89 | <div id="custom_date"<?php if (! $this->_rootref['S_CUSTOM_DATEFORMAT']) { ?> style="display:none;"<?php } ?>><input type="text" name="dateformat" id="dateformat" value="<?php echo (isset($this->_rootref['DATE_FORMAT'])) ? $this->_rootref['DATE_FORMAT'] : ''; ?>" maxlength="30" class="post" style="margin-top: 3px;" /></div>
|
---|
90 | </td>
|
---|
91 | </tr>
|
---|
92 | <tr>
|
---|
93 | <td class="cat" colspan="2" align="center"><?php echo (isset($this->_rootref['S_HIDDEN_FIELDS'])) ? $this->_rootref['S_HIDDEN_FIELDS'] : ''; ?><input class="btnmain" type="submit" name="submit" value="<?php echo ((isset($this->_rootref['L_SUBMIT'])) ? $this->_rootref['L_SUBMIT'] : ((isset($user->lang['SUBMIT'])) ? $user->lang['SUBMIT'] : '{ SUBMIT }')); ?>" /> <input class="btnlite" type="reset" value="<?php echo ((isset($this->_rootref['L_RESET'])) ? $this->_rootref['L_RESET'] : ((isset($user->lang['RESET'])) ? $user->lang['RESET'] : '{ RESET }')); ?>" name="reset" /></td>
|
---|
94 | </tr>
|
---|
95 | </table>
|
---|
96 |
|
---|
97 | <?php $this->_tpl_include('ucp_footer.html'); ?>
|
---|