Commit f1d9357a authored by Leigh B. Stoller's avatar Leigh B. Stoller

Clean up some of the create/edit option links. We reall need proper

submenus. Looks kinda ugly right now, with options links scattered all
over and looking different in every page.
parent 7c60afe5
......@@ -59,14 +59,6 @@ if (!$isadmin) {
SHOWGROUP($pid, $gid);
#
# An edit option.
#
echo "<p><center>
Do you want to edit this Group?
<A href='editgroup_form.php3?pid=$pid&gid=$gid'>Yes</a>
</center>\n";
SHOWGROUPMEMBERS($pid, $gid);
#
......@@ -96,14 +88,21 @@ if (mysql_num_rows($query_result)) {
echo "</table>\n";
}
#
# An edit option.
#
echo "<br>
<center>
<A href='editgroup_form.php3?pid=$pid&gid=$gid'>Edit</a> this Group?
</center>\n";
#
# A delete option, but not for the default group!
#
if (strcmp($gid, $pid)) {
echo "<p><center>
Do you want to delete this Group?
<A href='deletegroup.php3?pid=$pid&gid=$gid'>Yes</a>
</center>\n";
echo "<p>
<A href='deletegroup.php3?pid=$pid&gid=$gid'>Delete</a> this Group?
\n";
}
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment