True, "nonavbar" => True); } if (! $group_id) Header("Location: " . $phpgw->link("groups.php")); $phpgw_flags["currentapp"] = "admin"; include("../header.inc.php"); if (! $submit) { $phpgw->db->query("select group_name from groups where group_id='$group_id'"); $phpgw->db->next_record(); ?>
db->query("select group_name from groups where group_id='$group_id'"); $phpgw->db->next_record(); $group_name = $phpgw->db->f("group_name"); $phpgw->db->query("update groups set group_name='" . addslashes($n_group) . "' where group_id='$group_id'"); $sep = $phpgw->common->filesystem_sepeartor(); $basedir = $phpgw_info["server"]["server_root"] . $sep . "filemanager" . $sep . "groups" . $sep; if (! rename($basedir . $group_name,$basedir . $n_group)) { $cd = 39; } else { $cd = 33; } Header("Location: " . $phpgw->link("groups.php","cd=$cd")); }