Thread: [phpwebapp-commits] CVS: app2/templates page2.html,1.3,1.4 page1_content.html,1.4,1.5 page1.html,1.3
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2004-07-20 17:28:58
|
Update of /cvsroot/phpwebapp/app2/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14532/templates Modified Files: page2.html page1_content.html page1.html footer.html Log Message: converted to xhtml Index: page2.html =================================================================== RCS file: /cvsroot/phpwebapp/app2/templates/page2.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** page2.html 25 Aug 2003 14:28:29 -0000 1.3 --- page2.html 20 Jul 2004 17:28:48 -0000 1.4 *************** *** 1,11 **** ! <html> <head> <title>Page 2</title> ! <link rel="stylesheet" type="text/css" href="{{./}}styles.css"> ! <link rel="stylesheet" type="text/css" href="{{./}}page2.css"> </head> <body> ! <Include SRC="{{./}}header.html" /> <h3>A Page Constructed without Subtemplates</h3> --- 1,15 ---- ! <?xml version="1.0" encoding="iso-8859-1"?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! ! <html xmlns="http://www.w3.org/1999/xhtml" lang="EN"> <head> <title>Page 2</title> ! <link rel="stylesheet" type="text/css" href="{{./}}styles.css" /> ! <link rel="stylesheet" type="text/css" href="{{./}}page2.css" /> </head> <body> ! <include src="{{./}}header.html" /> <h3>A Page Constructed without Subtemplates</h3> *************** *** 58,62 **** <tr> <td class="box_content_2_1"> ! tpl_2_1 <br> content </td> </tr> --- 62,66 ---- <tr> <td class="box_content_2_1"> ! tpl_2_1 <br /> content </td> </tr> *************** *** 74,78 **** <tr> <td class="box_content_2_2"> ! tpl_2_2 <br> content </td> </tr> --- 78,82 ---- <tr> <td class="box_content_2_2"> ! tpl_2_2 <br /> content </td> </tr> *************** *** 91,95 **** </table> ! <Include SRC="{{./}}footer.html" /> </body> </html> --- 95,99 ---- </table> ! <include src="{{./}}footer.html" /> </body> </html> Index: page1_content.html =================================================================== RCS file: /cvsroot/phpwebapp/app2/templates/page1_content.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** page1_content.html 25 Aug 2003 14:28:29 -0000 1.4 --- page1_content.html 20 Jul 2004 17:28:48 -0000 1.5 *************** *** 21,25 **** which is used to include another template inside the current template:</p> <pre> ! <Include SRC="file_to_be_included" /> </pre> --- 21,25 ---- which is used to include another template inside the current template:</p> <pre> ! <Include src="file_to_be_included" /> </pre> Index: page1.html =================================================================== RCS file: /cvsroot/phpwebapp/app2/templates/page1.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** page1.html 25 Aug 2003 14:28:29 -0000 1.3 --- page1.html 20 Jul 2004 17:28:48 -0000 1.4 *************** *** 1,12 **** ! <html> <head> <title>Page 1</title> ! <link rel="stylesheet" type="text/css" href="{{./}}styles.css"> </head> <body> ! <Include SRC="{{./}}header.html"/> ! <Include SRC="{{./}}page1_content.html"/> ! <Include SRC="{{./}}footer.html"/> ! <br> </body> </html> --- 1,17 ---- ! <?xml version="1.0" encoding="iso-8859-1"?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! ! <html xmlns="http://www.w3.org/1999/xhtml" lang="EN"> <head> <title>Page 1</title> ! <link rel="stylesheet" type="text/css" href="{{./}}styles.css" /> </head> + <body> ! <include src="{{./}}header.html"/> ! <include src="{{./}}page1_content.html"/> ! <include src="{{./}}footer.html"/> ! <br /> </body> </html> Index: footer.html =================================================================== RCS file: /cvsroot/phpwebapp/app2/templates/footer.html,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** footer.html 25 Aug 2003 14:28:29 -0000 1.5 --- footer.html 20 Jul 2004 17:28:48 -0000 1.6 *************** *** 1,10 **** <script language="JavaScript" src="{{./}}footer.js"></script> ! <hr> ! <br> Go To [ <a href="javascript: goto_page1()"> Page 1 </a> | <a href="javascript: goto_page2()"> Page 2 </a> | <a href="javascript: goto_page3()"> Page 3 </a> ] ! <br><br> ! <a href="javascript:go_back()"><img src="{{IMG_URL}}back.png" alt="Back" border="0"></a> ! <a href="{{APP_URL}}"><img src="{{IMG_URL}}home.png" alt="Home" border="0"></a> --- 1,10 ---- <script language="JavaScript" src="{{./}}footer.js"></script> ! <hr /> ! <br /> Go To [ <a href="javascript: goto_page1()"> Page 1 </a> | <a href="javascript: goto_page2()"> Page 2 </a> | <a href="javascript: goto_page3()"> Page 3 </a> ] ! <br /><br /> ! <a href="javascript:go_back()"><img src="{{IMG_URL}}back.png" alt="Back" border="0" /></a> ! <a href="{{APP_URL}}"><img src="{{IMG_URL}}home.png" alt="Home" border="0" /></a> |