From 8ff6807a17baa500c03b558679e819563789fbe7 Mon Sep 17 00:00:00 2001 From: jengo Date: Sun, 3 Sep 2000 23:38:11 +0000 Subject: [PATCH] Replaced the hidden_var()s --- preferences/changepassword.php | 2 +- preferences/changeprofile.php | 8 ++++---- preferences/nntp.php | 2 +- preferences/settings.php | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/preferences/changepassword.php b/preferences/changepassword.php index d96b4fa46b..9ad67deadb 100755 --- a/preferences/changepassword.php +++ b/preferences/changepassword.php @@ -27,7 +27,7 @@ if (! $submit) { ?>
- session->hidden_var(); ?> + form_sessionid(); ?> diff --git a/preferences/changeprofile.php b/preferences/changeprofile.php index a4c202231a..74c52c1f58 100644 --- a/preferences/changeprofile.php +++ b/preferences/changeprofile.php @@ -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 "
Your profile has been updated
"; } @@ -61,7 +61,7 @@ ?> - session->hidden_var(); ?> + form_sessionid(); ?>
diff --git a/preferences/nntp.php b/preferences/nntp.php index eaba114dfd..eb987d64d5 100755 --- a/preferences/nntp.php +++ b/preferences/nntp.php @@ -102,7 +102,7 @@ $first = min($nntpavailgroups["con"]); - $common_hidden_vars = $phpgw->session->hidden_var() . "\n" + $common_hidden_vars = $phpgw->form_sessionid() . "\n" . "\n" . "\n" . "\n" diff --git a/preferences/settings.php b/preferences/settings.php index c38c439111..2d4ec0d6ac 100755 --- a/preferences/settings.php +++ b/preferences/settings.php @@ -55,7 +55,7 @@ if (! $submit) { ?> - session->hidden_var(); ?> + form_sessionid(); ?>
: