}
// Add description as navigation point
-ADD_DESCR("admin", __FILE__);
+ADD_DESCR('admin', __FILE__);
// Fix a notice
$result_main = false;
-if (REQUEST_ISSET_GET(('uid'))) {
+if (REQUEST_ISSET_GET('uid')) {
// 0 1 2 3 4 5 6 7 8 9 10 11
$result_main = SQL_QUERY_ESC("SELECT gender, surname, family, street_nr, zip, city, country, email, birth_day, birth_month, birth_year, max_mails
FROM `{!_MYSQL_PREFIX!}_user_data`
array(bigintval(REQUEST_GET('uid'))), __FILE__, __LINE__);
}
-if ((SQL_NUMROWS($result_main) == 1) || (!REQUEST_ISSET_GET(('uid'))))
+if ((SQL_NUMROWS($result_main) == 1) || (!REQUEST_ISSET_GET('uid')))
{
// User found
- if (!REQUEST_ISSET_GET(('uid')))
+ if (!REQUEST_ISSET_GET('uid'))
{
// Output selection form with all confirmed user accounts listed
ADD_MEMBER_SELECTION_BOX();
elseif (REQUEST_ISSET_POST('edit'))
{
// Ok, change the account...
- $PASS = false; $add = "";
+ $PASS = false; $add = '';
if ((!REQUEST_ISSET_POST(('pass1'))) && (!REQUEST_ISSET_POST(('pass2'))))
{
// Don't change the password
}
// Load template
- LOAD_TEMPLATE("admin_settings_saved", false, $content);
+ LOAD_TEMPLATE('admin_settings_saved', false, $content);
}
else
{
{
case "M":
define('_GENDER_M', " selected=\"selected\"");
- define('_GENDER_F', "");
- define('_GENDER_C', "");
+ define('_GENDER_F', '');
+ define('_GENDER_C', '');
break;
case "F":
- define('_GENDER_M', "");
+ define('_GENDER_M', '');
define('_GENDER_F', " selected=\"selected\"");
- define('_GENDER_C', "");
+ define('_GENDER_C', '');
break;
case "C":
- define('_GENDER_M', "");
- define('_GENDER_F', "");
+ define('_GENDER_M', '');
+ define('_GENDER_F', '');
define('_GENDER_C', " selected=\"selected\"");
break;
}
}
} else {
// Account does not exists!
- LOAD_TEMPLATE("admin_settings_saved", false, "<div class=\"admin_failed\">".sprintf(getMessage('ADMIN_MEMBER_404'), REQUEST_GET('uid'))."</div>");
+ LOAD_TEMPLATE('admin_settings_saved', false, "<div class=\"admin_failed\">".sprintf(getMessage('ADMIN_MEMBER_404'), REQUEST_GET('uid'))."</div>");
}
//