Update of /cvsroot/phpmp/phpMP/modules
In directory usw-pr-cvs1:/tmp/cvs-serv25420/modules
Modified Files:
user_side.php usercp.php
Log Message:
Attempt at adding PHP session support in the Auth system. Not exactly working, but at least we'll be able to view the code from the CVS web repo.
Removed the 'designed by trevorj' notice on the template, since he's the lead designer and gets enough recognition already. :-P
Index: user_side.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/modules/user_side.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** user_side.php 21 Jul 2002 20:49:40 -0000 1.8
--- user_side.php 27 Jul 2002 05:35:59 -0000 1.9
***************
*** 6,17 ****
if($MPCONF['USR']['username'] != "Anonymous") {
! $blockname = "Welcome";
! $content .= "<font size='1'>Welcome back,<br> " . $MPCONF['USR']['username'] . "!</font><br />";
! $content .= "<br />";
! $content .= "<font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/members/profile.php?action=edit'>Edit User Profile</a></font><br />";
if($MPCONF['USR']['isadmin'] == 1) {
! $content .= "<font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/admin/index.php'>Administration Area</a></font>";
}
} else {
--- 6,19 ----
if($MPCONF['USR']['username'] != "Anonymous") {
! $blockname = "Welcome\n";
! $content .= "<font size='1'>Welcome back,<br> " . $MPCONF['USR']['username'] . "!</font><br />\n";
! $content .= "<br />\n";
! $content .= "<font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/members/profile.php?action=edit'>Edit User Profile</a></font><br />\n";
if($MPCONF['USR']['isadmin'] == 1) {
! $content .= "<font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/admin/index.php'>Administration Area</a></font>\n";
}
+
+ $content .= "<font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/index.php?logout=true'>Logout</a></font>\n";
} else {
Index: usercp.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/modules/usercp.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** usercp.php 25 Jul 2002 20:50:07 -0000 1.7
--- usercp.php 27 Jul 2002 05:35:59 -0000 1.8
***************
*** 30,34 ****
$this->module_content .= ' <tr>' . "\n";
$this->module_content .= ' <td>' . "\n";
! $this->module_content .= ' Right now, this is all complete filler. Eventually, the User Control Panel will be contained here. C-ya when it\'s done!' . "\n";
$this->module_content .= ' </td>' . "\n";
$this->module_content .= ' </tr>' . "\n";
--- 30,34 ----
$this->module_content .= ' <tr>' . "\n";
$this->module_content .= ' <td>' . "\n";
! $this->module_content .= ' Right now, this is all complete filler. Eventually, the User Control Panel will be contained here. C-ya when it\'s done!<br />The time now is ' . time() . ".\n";
$this->module_content .= ' </td>' . "\n";
$this->module_content .= ' </tr>' . "\n";
|