mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
Replaced the hidden_var()s
This commit is contained in:
parent
ad1bddfcf7
commit
8ff6807a17
@ -27,7 +27,7 @@ if (! $submit) {
|
||||
|
||||
?>
|
||||
<form method="POST" acion="changepassword.php">
|
||||
<?php echo $phpgw->session->hidden_var(); ?>
|
||||
<?php echo $phpgw->form_sessionid(); ?>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
|
@ -42,8 +42,8 @@
|
||||
$phpgw->db->query("delete from profiles where owner='" .$phpgw->session->loginid . "'");
|
||||
|
||||
$phpgw->db->query("insert into profiles (owner,title,phone_number,comments,"
|
||||
. "picture_format,picture) values ('" . $phpgw->session->loginid . "','"
|
||||
. "$title','$phone_number','$comments','$picture_type','$picture_raw')");
|
||||
. "picture_format,picture) values ('" . $phpgw->session->loginid . "','"
|
||||
. "$title','$phone_number','$comments','$picture_type','$picture_raw')");
|
||||
} else {
|
||||
$phone_number = addslashes($phone_number);
|
||||
$picture_raw = addslashes($picture_raw);
|
||||
@ -51,7 +51,7 @@
|
||||
$title = addslashes($title);
|
||||
|
||||
$phpgw->db->query("update profiles set title='$title',phone_number='$phone_number',"
|
||||
. "comments='$comments' where owner='" . $phpgw->session->loginid. "'");
|
||||
. "comments='$comments' where owner='" . $phpgw->session->loginid. "'");
|
||||
}
|
||||
echo "<center>Your profile has been updated</center>";
|
||||
}
|
||||
@ -61,7 +61,7 @@
|
||||
?>
|
||||
|
||||
<form method="POST" ENCTYPE="multipart/form-data" action="changeprofile.php">
|
||||
<?php echo $phpgw->session->hidden_var(); ?>
|
||||
<?php echo $phpgw->form_sessionid(); ?>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
|
@ -102,7 +102,7 @@
|
||||
|
||||
$first = min($nntpavailgroups["con"]);
|
||||
|
||||
$common_hidden_vars = $phpgw->session->hidden_var() . "\n"
|
||||
$common_hidden_vars = $phpgw->form_sessionid() . "\n"
|
||||
. "<input type=\"hidden\" name=\"start\" value=\"".$start."\">\n"
|
||||
. "<input type=\"hidden\" name=\"first\" value=\"".$first."\">\n"
|
||||
. "<input type=\"hidden\" name=\"tg\" value=\"".$tg."\">\n"
|
||||
|
@ -55,7 +55,7 @@
|
||||
if (! $submit) {
|
||||
?>
|
||||
<form method="POST" action="settings.php">
|
||||
<?php echo $phpgw->session->hidden_var(); ?>
|
||||
<?php echo $phpgw->form_sessionid(); ?>
|
||||
<table border=0>
|
||||
<tr>
|
||||
<td><?php echo lang_pref("max matchs per page"); ?>: </td>
|
||||
|
Loading…
Reference in New Issue
Block a user