[phpMP-CVS] CVS: phpMP/modules simple_news.php,1.2,1.3 usercp.php,1.5,1.6
Status: Pre-Alpha
Brought to you by:
heimidal
From: Brian R. <hei...@us...> - 2002-07-21 21:43:36
|
Update of /cvsroot/phpmp/phpMP/modules In directory usw-pr-cvs1:/tmp/cvs-serv22717/modules Modified Files: simple_news.php usercp.php Log Message: Moved a few template variables around. Before, the site name was hardcoded into the system. Now, it is referenced only in templates, where it should be. Index: simple_news.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/modules/simple_news.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** simple_news.php 23 Apr 2002 08:14:55 -0000 1.2 --- simple_news.php 21 Jul 2002 21:43:33 -0000 1.3 *************** *** 10,14 **** function Init() { ! $this->pagetitle = "phpMP :: Latest News"; } --- 10,14 ---- function Init() { ! $this->pagetitle = "Latest News"; } Index: usercp.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/modules/usercp.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** usercp.php 21 Jul 2002 20:58:39 -0000 1.5 --- usercp.php 21 Jul 2002 21:43:33 -0000 1.6 *************** *** 8,17 **** function Init() { ! $this->pagetitle = "phpMP :: User Control Panel"; } function MakeContent() { global $Template; ! $Template->Blocking('BeginBig', array(PAGETITLE => ".:: phpMP :: " . $this->pagetitle . "::.")); print "This is a test...<br>This is only a test...<br>\n"; --- 8,17 ---- function Init() { ! $this->pagetitle = "User Control Panel"; } function MakeContent() { global $Template; ! $Template->Blocking('BeginBig', array(PAGETITLE => $this->pagetitle)); print "This is a test...<br>This is only a test...<br>\n"; |