The admin sction should now be using the link() properly

This commit is contained in:
jengo 2000-09-04 18:26:32 +00:00
parent 97c11d5490
commit 5153a56400
2 changed files with 4 additions and 3 deletions

View File

@ -96,7 +96,6 @@
} }
$t->set_var("hidden_vars",$phpgw->form_sessionid());
$t->set_var("actionurl",$phpgw->link("newaccount.php")); $t->set_var("actionurl",$phpgw->link("newaccount.php"));
$t->set_var("lang_add",lang_common("add")); $t->set_var("lang_add",lang_common("add"));
$t->set_var("lang_search",lang_common("search")); $t->set_var("lang_search",lang_common("search"));

View File

@ -26,7 +26,10 @@
$phpgw->db->next_record(); $phpgw->db->next_record();
if ($phpgw->db->f(0) != 0) { if ($phpgw->db->f(0) != 0) {
$error = lang_admin("Sorry, that group name has already been taking."); $error = "<br>" . lang_admin("Sorry, that group name has already been taking.");
}
if (! $n_group) {
$error = "<br>" . lang_admin("You must enter a group name.");
} }
if (! $error) { if (! $error) {
@ -72,7 +75,6 @@
} }
$t->set_var("form_action",$phpgw->link("newgroup.php")); $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("lang_group_name",lang_admin("New group name"));
$t->set_var("group_name_value",""); $t->set_var("group_name_value","");