[phpMP-CVS] CVS: phpMP index.php,1.20,1.21 modules.php,1.11,1.12 profile.php,1.3,1.4
Status: Pre-Alpha
Brought to you by:
heimidal
From: Brian R. <hei...@us...> - 2002-08-14 06:24:26
|
Update of /cvsroot/phpmp/phpMP In directory usw-pr-cvs1:/tmp/cvs-serv6721 Modified Files: index.php modules.php profile.php Log Message: Re-added page title support. One extra line in all directly-accessible files...no biggie. Fixed my idiotic mistake in online_users_side.php regarding the fetching of non-expired sessions. Should now work correctly (but not quite perfectly). Index: index.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/index.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -r1.20 -r1.21 *** index.php 12 Aug 2002 01:08:29 -0000 1.20 --- index.php 14 Aug 2002 06:24:23 -0000 1.21 *************** *** 49,52 **** --- 49,53 ---- $PHPMP->Init(); + $Template->assign( 'page_title', $Language->lang['l_home'] ); $Template->display_template('index.tpl'); Index: modules.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/modules.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** modules.php 12 Aug 2002 01:08:29 -0000 1.11 --- modules.php 14 Aug 2002 06:24:23 -0000 1.12 *************** *** 102,107 **** } $Template->assign( 'module_content', $Module->module_content ); - $Template->display_template('modules.tpl'); --- 102,107 ---- } + $Template->assign( 'page_title', $Module->module_title ); $Template->assign( 'module_content', $Module->module_content ); $Template->display_template('modules.tpl'); Index: profile.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/profile.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** profile.php 12 Aug 2002 01:08:29 -0000 1.3 --- profile.php 14 Aug 2002 06:24:23 -0000 1.4 *************** *** 69,72 **** --- 69,73 ---- mail($_POST['r_email'], $Language->lang['l_fin_register_subject'], $temp_message); + $Template->assign( 'page_title', $Language->lang['l_register'] ); $Template->assign( "general_subject", $Language->lang['l_register'] ); $Template->assign( "general_message", $Language->lang['l_register_fin'] ); *************** *** 87,91 **** } else { ! $Template->display_template('register.tpl'); --- 88,93 ---- } else { ! ! $Template->assign( 'page_title', $Language->lang['l_register'] ); $Template->display_template('register.tpl'); *************** *** 100,103 **** --- 102,106 ---- $DBA->query($sql); + $Template->assign( 'page_title', $Language->lang['l_register'] ); $Template->assign( "general_subject", $Language->lang['l_register'] ); $Template->assign( "general_message", $Language->lang['l_activated'] ); |