Update of /cvsroot/phpmp/phpMP/includes
In directory usw-pr-cvs1:/tmp/cvs-serv22717/includes
Modified Files:
constants.php template.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: constants.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/includes/constants.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** constants.php 3 Apr 2002 11:38:18 -0000 1.3
--- constants.php 21 Jul 2002 21:43:33 -0000 1.4
***************
*** 1,6 ****
<?
! $MPCONF['TPL']['copyright'] .= "powered by phpMP " . $MPCONF['GEN']['version'] . " © 2002 <a href=\"http://phpmp.sourceforge.net/\">phpMP Dev. Group</a><br>\n";
! $MPCONF['TPL']['copyright'] .= "All logos, trademarks, and content are copyrighted<br>\nby their respective owner. All rights reserved.";
?>
--- 1,6 ----
<?
! $MPCONF['TPL']['copyright'] .= "powered by phpMP " . $MPCONF['GEN']['version'] . " © 2002 <a href=\"http://phpmp.sourceforge.net/\">phpMP Dev. Group</a>.<br>\n";
! $MPCONF['TPL']['copyright'] .= "All content is property of its respective owner. All rights reserved.";
?>
Index: template.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/includes/template.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** template.php 23 Apr 2002 08:14:55 -0000 1.14
--- template.php 21 Jul 2002 21:43:33 -0000 1.15
***************
*** 75,78 ****
--- 75,80 ----
$array['TPLNAME'] = $MPCONF['TPL']['tpl_name'];
$array['COPYRIGHT'] = $MPCONF['TPL']['copyright'];
+ $array['SITENAME'] = $MPCONF['TPL']['sitename'];
+ $array['BULLET-HTML'] = $MPCONF['TPL']['bullet_html'];
include($MPCONF['GEN']['abs_path'] . '/templates/' . $MPCONF['TPL']['tpl_name'] . '/tplvars.cfg');
|