30 require_once(
"../class/config.php");
32 include_once(
"head.php");
35 "help_setting" => array (
"request",
"string",
""),
36 "showhelp" => array (
"request",
"integer",
""),
41 if (!empty($help_setting)) {
42 $mem->set_help_param($showhelp);
43 $error=_(
"Your help setting has been updated.");
47 <div align=
"center"><h3><?php
__(
"Settings of your account"); ?></h3></div>
50 echo
"<font color=red>$error</font>";
51 include_once(
"foot.php");
58 <li
class=
"hta"><a href=
"#tabsmem-password"><?php
__(
"Password"); ?></a></li>
59 <li
class=
"mail"><a href=
"#tabsmem-mail"><?php
__(
"Mail"); ?></a></li>
60 <li
class=
"help"><a href=
"#tabsmem-help"><?php
__(
"Help"); ?></a></li>
62 if (
$mem->user[
"su"]) { ?>
63 <li
class=
"admin"><a href=
"#tabsmem-admin"><?php
__(
"Administrator"); ?></a></li> <?php
68 <div
id=
"tabsmem-password">
69 <h3><?php
__(
"Password change"); ?></h3>
71 if (!
$mem->user[
"canpass"]) {
73 __(
"You cannot change your password");
78 __(
"help_chg_passwd"); ?>
80 <form method=
"post" action=
"mem_passwd.php" name=
"main" id=
"main">
81 <table border=
"1" cellspacing=
"0" cellpadding=
"4" class=
"tedit" >
82 <tr><th><?php
__(
"Old password"); ?></th><td><input type=
"password" class=
"int" name=
"oldpass" value=
"<?php isset($oldpass) ? : $oldpass=""; echo $oldpass; ?>" size=
"20" maxlength=
"128" /></td></tr>
83 <tr><th><?php
__(
"New password"); ?> (1)</th><td><input type=
"password" class=
"int" id=
"newpass" name=
"newpass" value=
"<?php isset($newpass) ? : $newpass=""; echo $newpass; ?>" size=
"20" maxlength=
"60" /><?php
display_div_generate_password(
DEFAULT_PASS_SIZE,
"#newpass",
"#newpass2"); ?></td></tr>
84 <tr><th><?php
__(
"New password"); ?> (2)</th><td><input type=
"password" class=
"int" id=
"newpass2" name=
"newpass2" value=
"<?php isset($newpass2) ? : $newpass2=""; echo $newpass2;?>" size=
"20" maxlength=
"61" /></td></tr>
85 <tr
class=
"trbtn"><td colspan=
"3"><input type=
"submit" class=
"inb ok" name=
"submit" value=
"<?php __("Change my password
"); ?>" /></td></tr>
90 </div> <!-- tabsmem-password -->
91 <div
id=
"tabsmem-mail">
92 <h3><?php
__(
"Change the email of the account"); ?></h3>
93 <form method=
"post" action=
"mem_chgmail.php">
94 <table border=
"1" cellspacing=
"0" cellpadding=
"4" class=
"tedit">
95 <tr><td colspan=
"2"><?php
__(
"help_chg_mail"); ?></td></tr>
96 <tr><th><?php
__(
"Current mailbox"); ?></th><td><big><code><?php echo
$mem->user[
"mail"]; ?></code></big></td></tr>
97 <tr><th><?php
__(
"New mailbox"); ?></th><td><input type=
"text" class=
"int" name=
"newmail" value=
"<?php isset($newmail) ? : $newmail=""; echo $newmail;?>" size=
"40" maxlength=
"128" /></td></tr>
98 <tr
class=
"trbtn"><td colspan=
"3"><input type=
"submit" class=
"inb ok" name=
"submit" value=
"<?php __("Change my email address
"); ?>" /></td></tr>
101 </div> <!-- tabsmem-mail -->
102 <div
id=
"tabsmem-help">
103 <h3><?php
__(
"Online help settings"); ?></h3>
104 <form method=
"post" action=
"mem_param.php">
105 <table border=
"1" cellspacing=
"0" cellpadding=
"4" class=
"tedit">
106 <tr><td colspan=
"2"><?php
__(
"help_help_settings"); ?></td></tr>
107 <tr><th><label
for=
"showhelp"><?php
__(
"Do you want to see the help texts and links on each page?"); ?></label></th><td><input type=
"checkbox" class=
"inc" id=
"showhelp" name=
"showhelp" value=
"1" <?php
if (
$mem->get_help_param()) echo
"checked=\"checked\""; ?> /></td></tr>
108 <tr
class=
"trbtn"><td colspan=
"3"><input type=
"submit" class=
"inb ok" name=
"help_setting" value=
"<?php __("Change these settings
"); ?>" /></td></tr>
111 </div> <!-- tabsmem-help -->
115 <div
id=
"tabsmem-admin">
116 <h3><?php
__(
"Admin preferences"); ?></h3>
117 <form method=
"post" action=
"mem_admin.php">
118 <table border=
"1" cellspacing=
"0" cellpadding=
"4" class=
"tedit">
119 <tr><th><?php
__(
"Members list view"); ?></th><td><select name=
"admlist" class=
"inl">
120 <option value=
"0"<?php
if (
$mem->user[
"admlist"]==0) echo
" selected=\"selected\""; ?>><?php
__(
"Large view"); ?></option>
121 <option value=
"1"<?php
if (
$mem->user[
"admlist"]==1) echo
" selected=\"selected\""; ?>><?php
__(
"Short view"); ?></option>
123 <tr
class=
"trbtn"><td colspan=
"2"><input type=
"submit" class=
"inb ok" name=
"submit" value=
"<?php __("Change my admin preferences
"); ?>" /></td></tr>
126 </div> <!-- tabsmem-admin -->
129 </div> <!-- tabsmem -->
131 <script type=
"text/javascript">
132 document.forms[
'main'].oldpass.focus();
133 $(
function() {$(
"#tabsmem" ).tabs();});
136 <?php include_once(
"foot.php"); ?>