[phpMP-CVS] CVS: phpMP/admin index.php,1.5,1.6 main.php,1.3,1.4 nav.php,1.3,1.4
Status: Pre-Alpha
Brought to you by:
heimidal
From: Anthony W. <ant...@us...> - 2003-02-11 00:24:28
|
Update of /cvsroot/phpmp/phpMP/admin In directory sc8-pr-cvs1:/tmp/cvs-serv15132/admin Modified Files: index.php main.php nav.php Log Message: Minor Changes to index and nav - added some user management to main Index: index.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/admin/index.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** index.php 8 Feb 2003 18:05:22 -0000 1.5 --- index.php 11 Feb 2003 00:24:25 -0000 1.6 *************** *** 23,25 **** print "</frameset>"; ! ?> \ No newline at end of file --- 23,25 ---- print "</frameset>"; ! ?> Index: main.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/admin/main.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** main.php 9 Feb 2003 19:22:17 -0000 1.3 --- main.php 11 Feb 2003 00:24:25 -0000 1.4 *************** *** 3,6 **** --- 3,7 ---- define( C_ACTION_NONE, 0 ); define( C_ACTION_SITE, 1 ); + define( C_ACTION_USER, 2 ); define( C_PHPMP_ROOT, '../' ); *************** *** 19,28 **** switch ($parse) { ! case C_ACTION_SITE: ! $admin->parse_site($sname, $ovrtpl, $deftpl, $deflang, $defdate, $accact, $systime, $portperms); ! break; ! default: // $parse is not supplied, so execute $action instead ! if ($action != C_ACTION_NONE) { $admin->execute($action); } ! break; } --- 20,32 ---- switch ($parse) { ! case C_ACTION_SITE: ! $admin->parse_site($sname, $ovrtpl, $deftpl, $deflang, $defdate, $accact, $systime, $portperms); ! break; ! case C_ACTION_USER: ! $admin->show_user($userid); ! break; ! default: // $parse is not supplied, so execute $action instead ! if ($action != C_ACTION_NONE) { $admin->execute($action); } ! break; } Index: nav.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/admin/nav.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** nav.php 9 Feb 2003 19:22:17 -0000 1.3 --- nav.php 11 Feb 2003 00:24:25 -0000 1.4 *************** *** 20,24 **** print "<base target=\"cont\">\n"; ! print "<a href=\"main.php?action=1\">Site Configuration</a>"; ?> --- 20,25 ---- print "<base target=\"cont\">\n"; ! print "<a href=\"main.php?action=1\">Site Configuration</a><br>"; ! print "<a href=\"main.php?action=2\">User Management</a>"; ?> |