mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:49:10 +01:00
working with new session class
This commit is contained in:
parent
ea856c8741
commit
9c1ca50d7c
@ -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"));
|
||||
|
||||
|
@ -58,8 +58,7 @@
|
||||
echo "</td></tr>\n";
|
||||
}
|
||||
|
||||
echo "</form></table><form method=POST action=\"newapplication.php\">"
|
||||
. $phpgw->session->hidden_var()
|
||||
echo "</form></table><form method=POST action=\"".$phpgw->link("newapplication.php")."\">"
|
||||
. "<table border=0 width=45% align=center><tr><td align=left><input type=\"submit\" "
|
||||
. "value=\"" . lang_common("Add") . "\"></td></tr></table></form>";
|
||||
|
||||
|
@ -122,8 +122,7 @@
|
||||
$account_status = $phpgw->db->f("status");
|
||||
?>
|
||||
|
||||
<form method="POST" action="editaccount.php">
|
||||
<?php echo $phpgw->session->hidden_var(); ?>
|
||||
<form method="POST" action="<?php echo $phpgw->link("editaccount.php"); ?>">
|
||||
<input type="hidden" name="con" value="<? echo $con; ?>">
|
||||
<?php
|
||||
if ($error) {
|
||||
|
@ -48,11 +48,11 @@
|
||||
} else {
|
||||
$t->set_var("error","");
|
||||
}
|
||||
$t->set_var("session_hidden_var",$phpgw->session->hidden_var()
|
||||
. '<input type="hidden" name="old_app_name" value="'
|
||||
. $phpgw->db->f("app_name") . '">');
|
||||
$t->set_var("session_hidden_var","<input type=\"hidden\" "
|
||||
. "name=\"old_app_name\" value=\""
|
||||
. $phpgw->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"));
|
||||
|
@ -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()
|
||||
. '<input type="hidden" name="group_id" value="' . $group_id . '">');
|
||||
$t->set_var("form_action",$phpgw->link("editgroup.php"));
|
||||
$t->set_var("hidden_vars","<input type=\"hidden\" name=\"group_id\" value=\"" . $group_id . "\">");
|
||||
|
||||
$t->set_var("lang_group_name",lang_admin("group name"));
|
||||
$t->set_var("group_name_value",$phpgw->db->f("group_name"));
|
||||
|
@ -27,8 +27,7 @@
|
||||
|
||||
?>
|
||||
|
||||
<form method="POST" action="editheadline.php">
|
||||
<?php echo $phpgw->session->hidden_var(); ?>
|
||||
<form method="POST" action="<?php echo $phpgw->link("editheadline.php"); ?>">
|
||||
<input type="hidden" name="o_con" value="<? echo $con; ?>">
|
||||
|
||||
<center>
|
||||
|
@ -64,11 +64,11 @@
|
||||
. "\"> " . lang_common("Delete") . " </a></td>";
|
||||
}
|
||||
|
||||
echo "\n<form method=POST action=\"newgroup.php\">"
|
||||
. $phpgw->session->hidden_var() . "</table></center>"
|
||||
echo "\n<form method=POST action=\"".$phpgw->link("newgroup.php")."\">"
|
||||
. "</table></center>"
|
||||
. "<table border=0 width=45% align=center><tr><td align=left><input type=\"submit\" "
|
||||
. "value=\"" . lang_common("Add") . "\"></form><form action=\"groups.php\"></td>"
|
||||
. $phpgw->session->hidden_var() . "<td align=right>" . lang_common("search") . " "
|
||||
. "value=\"" . lang_common("Add") . "\"></form><form action=\"".$phpgw->link("groups.php")."\"></td>"
|
||||
. "<td align=right>" . lang_common("search") . " "
|
||||
. "<input name=\"query\"></td></tr></form></table>";
|
||||
|
||||
include($phpgw_info["server"]["api_dir"] . "/footer.inc.php");
|
||||
|
@ -38,8 +38,7 @@
|
||||
echo "<td width=5%><a href=\"".$phpgw->link("viewheadline.php",
|
||||
"con=".$phpgw->db->f("con"))."\"> ".lang_common("View")." </a> </td></tr>\n";
|
||||
}
|
||||
echo "<form method=POST action=\"newheadline.php\">"
|
||||
. $phpgw->session->hidden_var()
|
||||
echo "<form method=POST action=\"".$phpgw->link("newheadline.php")."\">"
|
||||
. "<tr><td colspan=\"5\"><input type=\"submit\" value=\"".lang_common("Add")
|
||||
. "\"></td></tr></form></table></center>";
|
||||
|
||||
|
@ -90,8 +90,7 @@
|
||||
$phpgw->common->header();
|
||||
$phpgw->common->navbar();
|
||||
?>
|
||||
<form method="POST" action="newaccount.php">
|
||||
<?php echo $phpgw->session->hidden_var(); ?>
|
||||
<form method="POST" action="<?php echo $phpgw->link("newaccount.php"); ?>">
|
||||
<?php
|
||||
if ($error) {
|
||||
echo "<center>" . lang_common("Error") . ":$error</center>";
|
||||
|
@ -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"));
|
||||
|
@ -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","");
|
||||
|
||||
|
@ -18,9 +18,7 @@
|
||||
include("../header.inc.php");
|
||||
if (! $submit) {
|
||||
?>
|
||||
<form method="POST" action="newheadline.php">
|
||||
<?php echo $phpgw->session->hidden_var(); ?>
|
||||
|
||||
<form method="POST" action="<?php echo $phpgw->link("newheadline.php"); ?>">
|
||||
<center>
|
||||
<table border=0 width=65%>
|
||||
<tr>
|
||||
|
@ -94,8 +94,7 @@
|
||||
|
||||
$urlname = $phpgw_info["server"]["webserver_url"]."/admin/nntp.php";
|
||||
|
||||
$common_hidden_vars = $phpgw->session->hidden_var() . "\n"
|
||||
. "<input type=\"hidden\" name=\"start\" value=\"".$start."\">\n"
|
||||
$common_hidden_vars = "<input type=\"hidden\" name=\"start\" value=\"".$start."\">\n"
|
||||
. "<input type=\"hidden\" name=\"stop\" value=\""
|
||||
. ($start + $phpgw_info["user"]["preferences"]["maxmatchs"])."\">\n"
|
||||
. "<input type=\"hidden\" name=\"tg\" value=\"".$tg."\">\n"
|
||||
|
Loading…
Reference in New Issue
Block a user