phpmp-commits Mailing List for phpMyPublications (Page 24)
Status: Pre-Alpha
Brought to you by:
heimidal
You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
(69) |
May
(1) |
Jun
|
Jul
(53) |
Aug
(27) |
Sep
|
Oct
|
Nov
(35) |
Dec
(71) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(5) |
Feb
(65) |
Mar
|
Apr
(15) |
May
(40) |
Jun
(72) |
Jul
|
Aug
(2) |
Sep
(95) |
Oct
(37) |
Nov
|
Dec
|
| 2005 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Brian R. <hei...@us...> - 2002-04-05 07:37:10
|
Update of /cvsroot/phpmp/phpMP/includes
In directory usw-pr-cvs1:/tmp/cvs-serv30481/includes
Modified Files:
auth.php
Log Message:
Fixed Auth again. Added an error page.
Index: auth.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/includes/auth.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** auth.php 5 Apr 2002 07:24:57 -0000 1.3
--- auth.php 5 Apr 2002 07:37:06 -0000 1.4
***************
*** 87,91 ****
return $this->FetchUserVars('$sess_user');
} else {
! header("Location: " . $MPCONF['GEN']['abs_path'] . "/error.php?ecode=auth");
}
} else {
--- 87,91 ----
return $this->FetchUserVars('$sess_user');
} else {
! header("Location: " . $MPCONF['GEN']['address'] . "/error.php?ecode=auth");
}
} else {
|
|
From: Brian R. <hei...@us...> - 2002-04-05 07:37:10
|
Update of /cvsroot/phpmp/phpMP In directory usw-pr-cvs1:/tmp/cvs-serv30481 Added Files: error.php Log Message: Fixed Auth again. Added an error page. --- NEW FILE: error.php --- <? print "We apologize, but there was an $ecode error."; ?> |
|
From: Brian R. <hei...@us...> - 2002-04-05 07:25:02
|
Update of /cvsroot/phpmp/phpMP/modules
In directory usw-pr-cvs1:/tmp/cvs-serv27978/modules
Modified Files:
user_side.php
Log Message:
Fixed a few problems with invalid logins.
Index: user_side.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/modules/user_side.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** user_side.php 5 Apr 2002 06:24:00 -0000 1.4
--- user_side.php 5 Apr 2002 07:24:57 -0000 1.5
***************
*** 2,5 ****
--- 2,6 ----
$identFile = "user_side.php";
+ global $PHP_SELF;
if($MPCONF['USR']['username'] != "Anonymous") {
***************
*** 10,14 ****
} else {
$blockname = "Login";
! $content .= "<form action='" . $MPCONF['GEN']['uri'] . "/login.php' method='post'>\n";
$content .= "<table>\n";
$content .= " <tr>\n";
--- 11,15 ----
} else {
$blockname = "Login";
! $content .= "<form action='" . $PHP_SELF . "' method='post'>\n";
$content .= "<table>\n";
$content .= " <tr>\n";
|
|
From: Brian R. <hei...@us...> - 2002-04-05 07:25:02
|
Update of /cvsroot/phpmp/phpMP/includes
In directory usw-pr-cvs1:/tmp/cvs-serv27978/includes
Modified Files:
auth.php
Log Message:
Fixed a few problems with invalid logins.
Index: auth.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/includes/auth.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** auth.php 3 Apr 2002 08:47:42 -0000 1.2
--- auth.php 5 Apr 2002 07:24:57 -0000 1.3
***************
*** 52,56 ****
function AuthUser() {
! global $MPCONF, $DBA;
session_start();
--- 52,56 ----
function AuthUser() {
! global $MPCONF, $DBA, $HTTP_POST_VARS;
session_start();
***************
*** 77,86 ****
}
! } elseif(($username != "") && ($password != "")) {
$enc_password = md5($password);
! $result = $DBA->query('SELECT username FROM ' . $MPCONF['DB']['table_prefix'] . "users WHERE username='$username' AND password='$password'");
if(@mysql_num_rows($result) == 1) {
! $sess_user = $username;
session_register("$sess_user");
--- 77,86 ----
}
! } elseif(($HTTP_POST_VARS['username'] != "") && ($HTTP_POST_VARS['password'] != "")) {
$enc_password = md5($password);
! $result = $DBA->query('SELECT username FROM ' . $MPCONF['DB']['table_prefix'] . "users WHERE username='{$HTTP_POST_VARS['username']}' AND password='$enc_password'");
if(@mysql_num_rows($result) == 1) {
! $sess_user = $HTTP_POST_VARS['username'];
session_register("$sess_user");
|
|
From: Brian R. <hei...@us...> - 2002-04-05 06:24:05
|
Update of /cvsroot/phpmp/phpMP/modules
In directory usw-pr-cvs1:/tmp/cvs-serv14308/modules
Modified Files:
user_side.php
Log Message:
Moved form elements aroudn to correct spacing problem.
Index: user_side.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/modules/user_side.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** user_side.php 5 Apr 2002 06:01:28 -0000 1.3
--- user_side.php 5 Apr 2002 06:24:00 -0000 1.4
***************
*** 28,32 ****
$content .= " </tr>\n";
$content .= " <tr>\n";
! $content .= " <td align='right'><input type='submit' value='Login' /> </td>\n";
$content .= " </tr>\n";
$content .= " <tr>\n";
--- 28,32 ----
$content .= " </tr>\n";
$content .= " <tr>\n";
! $content .= " <td align='right'><input type='submit' value='Login' /> </form></td>\n";
$content .= " </tr>\n";
$content .= " <tr>\n";
***************
*** 37,41 ****
$content .= " </tr>\n";
$content .= "</table>\n";
- $content .= "</form>\n";
}
--- 37,40 ----
|
|
From: Brian R. <hei...@us...> - 2002-04-05 06:08:02
|
Update of /cvsroot/phpmp/phpMP/modules
In directory usw-pr-cvs1:/tmp/cvs-serv9354/modules
Modified Files:
user_side.php
Log Message:
Sourceforge info removed. Templates reflect small updates. User module added "Register" line.
Index: user_side.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/modules/user_side.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** user_side.php 3 Apr 2002 11:38:18 -0000 1.2
--- user_side.php 5 Apr 2002 06:01:28 -0000 1.3
***************
*** 33,36 ****
--- 33,39 ----
$content .= " <td><font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/email_passwd.php'>Forgot Your Password?</a></font></td>\n";
$content .= " </tr>\n";
+ $content .= " <tr>\n";
+ $content .= " <td><font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/register.php'>Register A Username</a></font></td>\n";
+ $content .= " </tr>\n";
$content .= "</table>\n";
$content .= "</form>\n";
|
|
From: Brian R. <hei...@us...> - 2002-04-05 06:08:02
|
Update of /cvsroot/phpmp/phpMP/templates/default In directory usw-pr-cvs1:/tmp/cvs-serv9354/templates/default Modified Files: footer.tpl tplvars.cfg Log Message: Sourceforge info removed. Templates reflect small updates. User module added "Register" line. Index: footer.tpl =================================================================== RCS file: /cvsroot/phpmp/phpMP/templates/default/footer.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** footer.tpl 3 Apr 2002 11:38:18 -0000 1.3 --- footer.tpl 5 Apr 2002 06:01:28 -0000 1.4 *************** *** 16,21 **** </td></tr></table> - <br> - <center><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=49934&type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a></center> </body> --- 16,19 ---- Index: tplvars.cfg =================================================================== RCS file: /cvsroot/phpmp/phpMP/templates/default/tplvars.cfg,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** tplvars.cfg 1 Apr 2002 23:54:30 -0000 1.1 --- tplvars.cfg 5 Apr 2002 06:01:28 -0000 1.2 *************** *** 5,9 **** $array['NAVBAR'] .= '<a href="' . $MPCONF['GEN']['uri'] . '/downloads.php">files</a> • '; $array['NAVBAR'] .= '<a href="' . $MPCONF['GEN']['uri'] . '/support.php">support</a> • '; ! $array['NAVBAR'] .= '<a href="' . $MPCONF['GEN']['uri'] . '/about.php">about</a> • '; $array['NAVBAR'] .= '<a href="http://phpmp.sourceforge.net/devworld/">dev.world</a> • '; $array['NAVBAR'] .= '<a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpmp/phpMP/">cvs</a> • '; --- 5,9 ---- $array['NAVBAR'] .= '<a href="' . $MPCONF['GEN']['uri'] . '/downloads.php">files</a> • '; $array['NAVBAR'] .= '<a href="' . $MPCONF['GEN']['uri'] . '/support.php">support</a> • '; ! $array['NAVBAR'] .= '<a href="' . $MPCONF['GEN']['uri'] . '/team.php">team</a> • '; $array['NAVBAR'] .= '<a href="http://phpmp.sourceforge.net/devworld/">dev.world</a> • '; $array['NAVBAR'] .= '<a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpmp/phpMP/">cvs</a> • '; |
|
From: Brian R. <hei...@us...> - 2002-04-04 01:13:34
|
Update of /cvsroot/phpmp/phpMP
In directory usw-pr-cvs1:/tmp/cvs-serv5349
Modified Files:
index.php
Log Message:
Testing syncmail.
Index: index.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/index.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** index.php 1 Apr 2002 23:48:40 -0000 1.8
--- index.php 4 Apr 2002 01:13:29 -0000 1.9
***************
*** 49,53 ****
// Start The Page
! $Template->PrintHeader( array(PAGETITLE => ".::phpMP Sample Page::.") );
// Display The Left Side
--- 49,53 ----
// Start The Page
! $Template->PrintHeader( array(PAGETITLE => ".::phpMP Home Page::.") );
// Display The Left Side
|
|
From: Christopher C. <ch...@pa...> - 2002-04-03 05:25:15
|
On Mon, 01 Apr 2002 15:48:42 -0800 Brian Rose <hei...@us...> wrote: BR> Log Message: BR> It is finally starting to all come together! Just a suggestion, commit messages should contain something relevant to the commit. In several months, you may look at this commit and have absolutely no idea what change was made -- Christopher |
|
From: Brian R. <hei...@us...> - 2002-04-01 23:54:34
|
Update of /cvsroot/phpmp/phpMP/templates/default/css
In directory usw-pr-cvs1:/tmp/cvs-serv19442/templates/default/css
Added Files:
tpl_style.css
Log Message:
Added template images and css file.
--- NEW FILE: tpl_style.css ---
BODY { background-color: #C0C0C0 }
.header { background-color: #E2E2E2 }
.tableborder { border-style: solid; border-width: 2px}
|
|
From: Brian R. <hei...@us...> - 2002-04-01 23:54:34
|
Update of /cvsroot/phpmp/phpMP/templates/default/images In directory usw-pr-cvs1:/tmp/cvs-serv19442/templates/default/images Added Files: bottombg.gif logo.gif navbg.gif navbotbg.gif navend.gif navendleft.gif navendright.gif navtopbg.gif pixel.gif topbg.gif Log Message: Added template images and css file. --- NEW FILE: bottombg.gif --- GIF89a --- NEW FILE: logo.gif --- GIF89a,d --- NEW FILE: navbg.gif --- GIF89a --- NEW FILE: navbotbg.gif --- GIF89a --- NEW FILE: navend.gif --- GIF89a --- NEW FILE: navendleft.gif --- GIF89a --- NEW FILE: navendright.gif --- GIF89a --- NEW FILE: navtopbg.gif --- GIF89a --- NEW FILE: pixel.gif --- GIF89a --- NEW FILE: topbg.gif --- GIF89a JÔæ£H*]Ê´©Ó§P£JJµêTX³jÝʵ«×¯`ÃK¶¬Y²Òª]˶۷pãÊK·®Ý»u èÝË·¯ß¿L¸°áÃ+^̸±ãÇ#KL¹²åË3kî+ ³çÏ CMº´éÓ¨S«^:ë×°cËM»¶íÛ¸sëÞÍ[7ßÀN¼¸ñãÈ+_μ¹óçУKN½zÑëØ³kßν»÷ïþO¾¼ùóèÓ«_Ͼ½û÷ðÝ'O¿¾ýûøóëßÏ¿¿ÿÿ |
|
From: Brian R. <hei...@us...> - 2002-04-01 23:54:34
|
Update of /cvsroot/phpmp/phpMP/templates/default In directory usw-pr-cvs1:/tmp/cvs-serv19442/templates/default Added Files: tplvars.cfg Log Message: Added template images and css file. --- NEW FILE: tplvars.cfg --- <? $array['NAVBAR'] .= '<a href="' . $MPCONF['GEN']['uri'] . '/index.php">home</a> • '; $array['NAVBAR'] .= '<a href="' . $MPCONF['GEN']['uri'] . '/features.php">features</a> • '; $array['NAVBAR'] .= '<a href="' . $MPCONF['GEN']['uri'] . '/downloads.php">files</a> • '; $array['NAVBAR'] .= '<a href="' . $MPCONF['GEN']['uri'] . '/support.php">support</a> • '; $array['NAVBAR'] .= '<a href="' . $MPCONF['GEN']['uri'] . '/about.php">about</a> • '; $array['NAVBAR'] .= '<a href="http://phpmp.sourceforge.net/devworld/">dev.world</a> • '; $array['NAVBAR'] .= '<a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpmp/phpMP/">cvs</a> • '; $array['NAVBAR'] .= '<a href="http://phpmp.sourceforge.net/devworld/modules/index.php?action=list">modules</a> • '; $array['NAVBAR'] .= '<a href="http://www.sourceforge.net/">sourceforge</a>'; ?> |
|
From: Brian R. <hei...@us...> - 2002-04-01 23:54:33
|
Update of /cvsroot/phpmp/phpMP/includes In directory usw-pr-cvs1:/tmp/cvs-serv19442/includes Added Files: constants.php Log Message: Added template images and css file. --- NEW FILE: constants.php --- <? $nav_links['home'] = 'home@' . $MPCONF['GEN']['uri'] . '/index.php'; $nav_links['features'] = 'features@' . $MPCONF['GEN']['uri'] . '/features.php'; $nav_links['files'] = 'files@' . $MPCONF['GEN']['uri'] . '/downloads.php'; $nav_links['support'] = 'support@' . $MPCONF['GEN']['uri'] . '/support.php'; $nav_links['about'] = 'about@' . $MPCONF['GEN']['uri'] . '/about.php'; $nav_links['dev'] = 'dev. group@' . $MPCONF['GEN']['uri'] . '/dev.php'; $nav_links['cvs'] = 'cvs@' . $MPCONF['GEN']['uri'] . '/cvs.php'; $nav_links['modules'] = 'modules@' . $MPCONF['GEN']['uri'] . '/modules.php?action=list'; $nav_links['sf'] = 'sourceforge@http://www.sourceforge.net'; $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 by their respective owner. All rights reserved."; ?> |
|
From: Brian R. <hei...@us...> - 2002-04-01 23:48:44
|
Update of /cvsroot/phpmp/phpMP/templates/default
In directory usw-pr-cvs1:/tmp/cvs-serv18083/templates/default
Modified Files:
box.tpl footer.tpl header.tpl
Log Message:
It is finally starting to all come together!
Index: box.tpl
===================================================================
RCS file: /cvsroot/phpmp/phpMP/templates/default/box.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- box.tpl 1 Apr 2002 09:43:20 -0000 1.1
+++ box.tpl 1 Apr 2002 23:48:40 -0000 1.2
@@ -1,11 +1,11 @@
<table width="150" cellspacing="0" cellpadding="0">
<tr height="5">
- <td rowspan="2"><img src="images/navendleft.gif" /></td>
- <td background="images/navtopbg.gif" width="100%"><img src="images/pixel.gif" /></td>
- <td rowspan="2"><img src="images/navendright.gif" /></td>
+ <td rowspan="2"><img src="{MPURLPATH}/templates/{TPLNAME}/images/navendleft.gif" /></td>
+ <td background="{MPURLPATH}/templates/{TPLNAME}/images/navtopbg.gif" width="100%"><img src="{MPURLPATH}/templates/{TPLNAME}/images/pixel.gif" /></td>
+ <td rowspan="2"><img src="{MPURLPATH}/templates/{TPLNAME}/images/navendright.gif" /></td>
</tr>
<tr>
- <td height="20" align="center" background="images/navbotbg.gif"><font color=white>{TITLE}</font></td>
+ <td height="20" align="center" background="{MPURLPATH}/templates/{TPLNAME}/images/navbotbg.gif"><font color=white>{TITLE}</font></td>
</tr>
<tr>
<td colspan="3">
Index: footer.tpl
===================================================================
RCS file: /cvsroot/phpmp/phpMP/templates/default/footer.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- footer.tpl 1 Apr 2002 09:43:20 -0000 1.1
+++ footer.tpl 1 Apr 2002 23:48:40 -0000 1.2
@@ -1,8 +1,8 @@
<table width="100%" cellpadding="0" cellspacing="0"><tr><td> <!-- Begining of footer -->
-<table width="100%" height="11" background="images/bottombg.gif">
+<table width="100%" height="11" background="{MPURLPATH}/templates/{TPLNAME}/images/bottombg.gif">
<tr>
- <td><img src="images/pixel.gif" /></td>
+ <td><img src="{MPURLPATH}/templates/{TPLNAME}/images/pixel.gif" /></td>
</tr>
</table>
@@ -10,7 +10,7 @@
<table width="60%" border="1" bordercolor=black align="center">
<tr>
- <td align="center">Legal info and shit here.</td>
+ <td align="center">{COPYRIGHT}</td>
</tr>
</table>
Index: header.tpl
===================================================================
RCS file: /cvsroot/phpmp/phpMP/templates/default/header.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- header.tpl 1 Apr 2002 09:43:20 -0000 1.1
+++ header.tpl 1 Apr 2002 23:48:40 -0000 1.2
@@ -1,23 +1,23 @@
<html>
<head>
<title>{PAGETITLE}</title>
-<link rel="stylesheet" href="css/tpl_style.css" type="text/css">
+<link rel="stylesheet" href="{MPURLPATH}/templates/{TPLNAME}/css/tpl_style.css" type="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table class="header" width="100%" cellpadding="0" cellspacing="0">
<tr>
- <td width="300" align="left"><img src="images/logo.gif" /></td>
- <td width="100%" align="center" background="images/topbg.gif"><img src="images/pixel.gif" /></td>
+ <td width="300" align="left"><img src="{MPURLPATH}/templates/{TPLNAME}/images/logo.gif" /></td>
+ <td width="100%" align="center" background="{MPURLPATH}/templates/{TPLNAME}/images/topbg.gif"><img src="{MPURLPATH}/templates/{TPLNAME}/images/pixel.gif" /></td>
</tr>
<tr>
- <td width="100%" bgcolor=black colspan="2"><img src="images/pixel.gif" /></td>
+ <td width="100%" bgcolor=black colspan="2"><img src="{MPURLPATH}/templates/{TPLNAME}/images/pixel.gif" /></td>
</tr>
<tr>
- <td width="100%" colspan="2" align="center" bgcolor="#C0C0C0">I am a nav bar...gwar!</td>
+ <td width="100%" colspan="2" align="center" bgcolor="#C0C0C0">{NAVBAR}</td>
</tr>
<tr>
- <td width="100%" bgcolor=black colspan="2"><img src="images/pixel.gif" /></td>
+ <td width="100%" bgcolor=black colspan="2"><img src="{MPURLPATH}/templates/{TPLNAME}/images/pixel.gif" /></td>
</tr>
</table>
|
|
From: Brian R. <hei...@us...> - 2002-04-01 23:48:44
|
Update of /cvsroot/phpmp/phpMP/includes
In directory usw-pr-cvs1:/tmp/cvs-serv18083/includes
Modified Files:
core.php template.php
Log Message:
It is finally starting to all come together!
Index: core.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/includes/core.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- core.php 1 Apr 2002 09:43:20 -0000 1.7
+++ core.php 1 Apr 2002 23:48:40 -0000 1.8
@@ -52,6 +52,7 @@
$core_array = explode(',', "$core_files"); // Splits core_files.
}
+ $core_array[] = 'constants';
$core_array[] = 'temp';
$core_array[] = 'dba';
$core_array[] = 'template';
Index: template.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/includes/template.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- template.php 1 Apr 2002 09:43:20 -0000 1.4
+++ template.php 1 Apr 2002 23:48:40 -0000 1.5
@@ -36,6 +36,7 @@
var $boxcache = "";
var $block_vars_read = 0;
var $TPLVars;
+ var $nav_bar_content;
// Initializes a variable or two.
// Returns: none.
@@ -44,11 +45,31 @@
global $MPCONF, $DBA;
$sql = "SELECT * FROM " . $MPCONF['DB']['table_prefix'] . "config";
$db = $DBA->query($sql);
- while($row = @mysql_fetch_row($db)) {
- $MPCONF["{$row['type']}"]["{$row['name']}"] = $row["value"];
- }
- //if($MPCONF['TPL']['tpl_name'] != 'default') { die('$MPCONF[\'TPL\'][\'tpl_name\'] equals ' . $MPCONF['TPL']['tpl_name']); }
+ while($row = @mysql_fetch_array($db)) {
+ $MPCONF[$row['type']][$row['name']] = $row["value"];
+ }
}
+
+ function AssembleNav($link_list,$sep) {
+ global $nav_links;
+
+ $link_array = explode(',', "$link_list");
+
+ $i = 0;
+ while($link_array[$i] != "") {
+ $link_name = $link_array[$i];
+ if(isset($nav_links["$link_name"])) {
+ if($i != 0) {
+ $nav_bar_content .= ' ' . $sep . ' ' . "\n";
+ }
+ $link_each = explode('@',$nav_links["$link_name"]);
+ $this->nav_bar_content .= "<a href=\"{$link_each[0]}\">{$link_each[1]}</a>";
+ }
+ $i++;
+ }
+
+ return $this->nav_bar_content;
+ }
// Takes an array and adds default (and needed) template values to it.
// Returns: $array with some extra, assigned values.
@@ -56,9 +77,13 @@
global $MPCONF;
$array['MPPATH'] = $MPCONF['GEN']['abs_path'];
- $array['MPURL'] = $MPCONF['GEN']['uri'];
+ $array['MPURLPATH'] = $MPCONF['GEN']['uri'];
+ $array['SITEADDRESS'] = $MPCONF['GEN']['address'];
$array['DATE'] = date('l, F jS, Y');
$array['TPLNAME'] = $MPCONF['TPL']['tpl_name'];
+ $array['COPYRIGHT'] = $MPCONF['TPL']['copyright'];
+
+ include($MPCONF['GEN']['abs_path'] . '/templates/' . $MPCONF['TPL']['tpl_name'] . '/tplvars.cfg');
return $array;
}
|
|
From: Brian R. <hei...@us...> - 2002-04-01 23:48:44
|
Update of /cvsroot/phpmp/phpMP
In directory usw-pr-cvs1:/tmp/cvs-serv18083
Modified Files:
index.php
Log Message:
It is finally starting to all come together!
Index: index.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/index.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- index.php 1 Apr 2002 09:43:20 -0000 1.7
+++ index.php 1 Apr 2002 23:48:40 -0000 1.8
@@ -66,7 +66,7 @@
//echo $string . "<br><br>" . $retstring;
- print "Welcome, one and all!!!!!<br>\n" . $Template->box_sql;
+ print "Welcome, one and all!!!!!<br>\n";
$Template->Blocking('EndBig');
|