Update of /cvsroot/phpmp/phpMP
In directory usw-pr-cvs1:/tmp/cvs-serv25048
Modified Files:
index.php
Log Message:
Integrated Smarty Template Engine into phpMP.
Removed old template engine and files no longer needed (but may be added back later).
Note: Blocking does not yet work. Still a few kinks.
Index: index.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/index.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** index.php 21 Jul 2002 21:43:33 -0000 1.16
--- index.php 25 Jul 2002 11:06:25 -0000 1.17
***************
*** 48,73 ****
$PHPMP->Init();
! // Start The Page
! $Template->PrintHeader( array(PAGETITLE => "Home") );
!
! // Display The Left Side
! $Template->CreateSide('left');
!
! // Start The Main Section
! $Template->Blocking('BeginMain');
!
! $Template->Blocking('BeginBig', array(PAGETITLE => "Home"));
!
! print "Welcome, one and all!!!!!<br>\n";
!
! $Template->Blocking('EndBig');
!
! // End The Main Section
! $Template->Blocking('EndMain');
!
! // Display The Right Side, If Wanted On Page
! $Template->CreateSide('right');
!
! $Template->PrintFooter( array() );
?>
--- 48,52 ----
$PHPMP->Init();
! $Template->display_template('index');
?>
|