|
|
@ -1900,7 +1900,7 @@
|
|
|
|
unset($oldid);
|
|
|
|
unset($oldid);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if($oldid == 41)
|
|
|
|
if($oldid == 41 && $_REQUEST['action'] == 'default')
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$lang = mysql_real_escape_string($_REQUEST['lang']);
|
|
|
|
$lang = mysql_real_escape_string($_REQUEST['lang']);
|
|
|
|
foreach($_SESSION['_config']['translations'] as $key => $val)
|
|
|
|
foreach($_SESSION['_config']['translations'] as $key => $val)
|
|
|
@ -1922,6 +1922,16 @@
|
|
|
|
exit;
|
|
|
|
exit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if($oldid == 41 && $_REQUEST['action'] == 'addsec')
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
$lang = mysql_real_escape_string($_REQUEST['addlang']);
|
|
|
|
|
|
|
|
mysql_query("insert into `addlang` set `userid`='".$_SESSION['profile']['id']."', `lang`='$lang'");
|
|
|
|
|
|
|
|
showheader(_("My CAcert.org Account!"));
|
|
|
|
|
|
|
|
echo _("Your language setting has been updated.");
|
|
|
|
|
|
|
|
showfooter();
|
|
|
|
|
|
|
|
exit;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(($id == 42 || $id == 43 || $id == 44 || $id == 48 || $id == 49 || $id == 50 ||
|
|
|
|
if(($id == 42 || $id == 43 || $id == 44 || $id == 48 || $id == 49 || $id == 50 ||
|
|
|
|
$oldid == 42 || $oldid == 43 || $oldid == 44 || $oldid == 48 || $oldid == 49 || $oldid == 50) &&
|
|
|
|
$oldid == 42 || $oldid == 43 || $oldid == 44 || $oldid == 48 || $oldid == 49 || $oldid == 50) &&
|
|
|
|
$_SESSION['profile']['admin'] != 1)
|
|
|
|
$_SESSION['profile']['admin'] != 1)
|
|
|
|