diff --git a/admin/accounts.php b/admin/accounts.php index ef1abf86e5..0d15901f29 100755 --- a/admin/accounts.php +++ b/admin/accounts.php @@ -96,7 +96,7 @@ } - $t->set_var("hidden_vars",$phpgw->session->hidden_var()); + $t->set_var("actionurl",$phpgw->link("newaccount.php")); $t->set_var("lang_add",lang_common("add")); $t->set_var("lang_search",lang_common("search")); diff --git a/admin/applications.php b/admin/applications.php index 58e78e3354..d7339e63a5 100644 --- a/admin/applications.php +++ b/admin/applications.php @@ -58,8 +58,7 @@ echo "\n"; } - echo "
" - . $phpgw->session->hidden_var() + echo "
link("newapplication.php")."\">" . "
"; diff --git a/admin/editaccount.php b/admin/editaccount.php index 9e73f369ea..577b8fb644 100755 --- a/admin/editaccount.php +++ b/admin/editaccount.php @@ -122,8 +122,7 @@ $account_status = $phpgw->db->f("status"); ?> -
- session->hidden_var(); ?> + "> set_var("error",""); } - $t->set_var("session_hidden_var",$phpgw->session->hidden_var() - . ''); + $t->set_var("session_hidden_var","db->f("app_name") . "\">"); - $t->set_var("form_action","editapplication.php"); + $t->set_var("form_action",$phpgw->link("editapplication.php")); $t->set_var("lang_app_name",lang_admin("application name")); $t->set_var("lang_app_title",lang_admin("application title")); $t->set_var("lang_enabled",lang_admin("enabled")); diff --git a/admin/editgroup.php b/admin/editgroup.php index fedf9f0213..aad86369f0 100755 --- a/admin/editgroup.php +++ b/admin/editgroup.php @@ -119,9 +119,8 @@ $phpgw->db->query("select * from groups where group_id='$group_id'"); $phpgw->db->next_record(); - $t->set_var("form_action","editgroup.php"); - $t->set_var("hidden_vars",$phpgw->session->hidden_var() - . ''); + $t->set_var("form_action",$phpgw->link("editgroup.php")); + $t->set_var("hidden_vars",""); $t->set_var("lang_group_name",lang_admin("group name")); $t->set_var("group_name_value",$phpgw->db->f("group_name")); diff --git a/admin/editheadline.php b/admin/editheadline.php index 0057d361d3..930f46ef58 100755 --- a/admin/editheadline.php +++ b/admin/editheadline.php @@ -27,8 +27,7 @@ ?> - - session->hidden_var(); ?> + ">
diff --git a/admin/groups.php b/admin/groups.php index 80a9a0e4a3..193ea1ce01 100755 --- a/admin/groups.php +++ b/admin/groups.php @@ -64,11 +64,11 @@ . "\"> " . lang_common("Delete") . " "; } - echo "\n" - . $phpgw->session->hidden_var() . "
" + echo "\nlink("newgroup.php")."\">" + . "" . "" - . $phpgw->session->hidden_var() . "" + . "
" . lang_common("search") . " " + . "value=\"" . lang_common("Add") . "\">
link("groups.php")."\">
" . lang_common("search") . " " . "
"; include($phpgw_info["server"]["api_dir"] . "/footer.inc.php"); diff --git a/admin/headlines.php b/admin/headlines.php index 73442a429a..640de7f80f 100755 --- a/admin/headlines.php +++ b/admin/headlines.php @@ -38,8 +38,7 @@ echo "link("viewheadline.php", "con=".$phpgw->db->f("con"))."\"> ".lang_common("View")." \n"; } - echo "
" - . $phpgw->session->hidden_var() + echo "link("newheadline.php")."\">" . "
"; diff --git a/admin/newaccount.php b/admin/newaccount.php index 467123cf4d..fde4f205ad 100755 --- a/admin/newaccount.php +++ b/admin/newaccount.php @@ -90,8 +90,7 @@ $phpgw->common->header(); $phpgw->common->navbar(); ?> -
- session->hidden_var(); ?> + "> " . lang_common("Error") . ":$error"; diff --git a/admin/newapplication.php b/admin/newapplication.php index b31cfcc0fe..fecc7b0d96 100644 --- a/admin/newapplication.php +++ b/admin/newapplication.php @@ -47,8 +47,8 @@ $t->set_var("error",""); } - $t->set_var("session_hidden_var",$phpgw->session->hidden_var()); - $t->set_var("form_action","newapplication.php"); + $t->set_var("session_hidden_var",""); + $t->set_var("form_action",$phpgw->link("newapplication.php")); $t->set_var("lang_app_name",lang_admin("application name")); $t->set_var("lang_app_title",lang_admin("application title")); $t->set_var("lang_enabled",lang_admin("enabled")); diff --git a/admin/newgroup.php b/admin/newgroup.php index 06aa3430db..11ac8227dd 100755 --- a/admin/newgroup.php +++ b/admin/newgroup.php @@ -71,8 +71,8 @@ $t->set_var("error",""); } - $t->set_var("form_action","newgroup.php"); - $t->set_var("hidden_vars",$phpgw->session->hidden_var()); + $t->set_var("form_action",$phpgw->link("newgroup.php")); + $t->set_var("hidden_vars",""); $t->set_var("lang_group_name",lang_admin("New group name")); $t->set_var("group_name_value",""); diff --git a/admin/newheadline.php b/admin/newheadline.php index 648bfa8d8e..a8792a10bf 100755 --- a/admin/newheadline.php +++ b/admin/newheadline.php @@ -18,9 +18,7 @@ include("../header.inc.php"); if (! $submit) { ?> - - session->hidden_var(); ?> - + ">
diff --git a/admin/nntp.php b/admin/nntp.php index 9b007c803c..1b2157e4ba 100755 --- a/admin/nntp.php +++ b/admin/nntp.php @@ -94,8 +94,7 @@ $urlname = $phpgw_info["server"]["webserver_url"]."/admin/nntp.php"; - $common_hidden_vars = $phpgw->session->hidden_var() . "\n" - . "\n" + $common_hidden_vars = "\n" . "\n" . "\n"