Replaced the hidden_var()s

This commit is contained in:
jengo 2000-09-03 23:38:11 +00:00
parent ad1bddfcf7
commit 8ff6807a17
4 changed files with 7 additions and 7 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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"

View File

@ -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>