[puntoengine] r60 committed - - Delete old /template/public/test.php because don't use it...

2 views
Skip to first unread message

punto...@googlecode.com

unread,
Jun 10, 2011, 11:13:51 AM6/10/11
to punto...@googlegroups.com
Revision: 60
Author: jba...@gmail.com
Date: Fri Jun 10 05:35:07 2011
Log: - Delete old /template/public/test.php because don't use it
- Added html comments in master.php, head.php and menu.php from test
template
http://code.google.com/p/puntoengine/source/detail?r=60

Deleted:
/trunk/puntoengine/template/public
Modified:
/trunk/puntoengine/template/test/head.php
/trunk/puntoengine/template/test/master.php
/trunk/puntoengine/template/test/menu.php

=======================================
--- /trunk/puntoengine/template/test/head.php Fri Oct 1 15:20:25 2010
+++ /trunk/puntoengine/template/test/head.php Fri Jun 10 05:35:07 2011
@@ -1,1 +1,2 @@
+<!-- Head control loaded from masterpage -->
<title>Punto Engine - Tests</title>
=======================================
--- /trunk/puntoengine/template/test/master.php Fri Oct 1 15:20:25 2010
+++ /trunk/puntoengine/template/test/master.php Fri Jun 10 05:35:07 2011
@@ -1,13 +1,19 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- MasterPage example demo -->
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="es-ES">
<head profile="http://gmpg.org/xfn/11">
- <pep:place name="head" include="/template/test/head.php" />
+ <!-- Include a single file same php include or load control same .Net
like ascx -->
+ <pep:place name="head" include="/template/test/head.php" />
</head>
<body>
- <pep:place name="menu" include="/template/test/menu.php" />
- <h1>test phpver: <?php echo phpversion(); ?></h1>
- <pep:place name="content" />
- <hr/>
- <?php echo $request->getParam('value'); ?>
+ <!-- Include a single file same php include or load control same .Net
like ascx -->
+ <pep:place name="menu" include="/template/test/menu.php" />
+ <!-- Example of execute a php code function -->
+ <h1>test phpver: <?php echo phpversion(); ?></h1>
+ <!-- Example of placeholder -->
+ <pep:place name="content" />
+ <hr/>
+ <!-- Example of capture a request value and print it -->
+ <?php echo $request->getParam('value'); ?>
</body>
</html>
=======================================
--- /trunk/puntoengine/template/test/menu.php Fri Oct 1 15:20:25 2010
+++ /trunk/puntoengine/template/test/menu.php Fri Jun 10 05:35:07 2011
@@ -1,3 +1,4 @@
+<!-- Control menu loaded from masterpage -->
<ul>
<li><a href="~/test">base example</a></li>
<li><a href="~/test?type=content">content example</a></li>

Reply all
Reply to author
Forward
0 new messages