Thread: [phpWebApp-commits] CVS: lgpl-documentation/templates/tutorial templates.html,1.4,1.5 transitions.ht
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2003-02-20 10:42:11
|
Update of /cvsroot/phpwebapp/lgpl-documentation/templates/tutorial In directory sc8-pr-cvs1:/tmp/cvs-serv19092/templates/tutorial Modified Files: templates.html transitions.html Log Message: Index: templates.html =================================================================== RCS file: /cvsroot/phpwebapp/lgpl-documentation/templates/tutorial/templates.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** templates.html 28 Dec 2001 20:05:32 -0000 1.4 --- templates.html 20 Feb 2003 10:42:05 -0000 1.5 *************** *** 10,16 **** Explains how to debug the template structure. <br><br> ! [<a href="/app2/" target="_new">Test</a>] ! [<a href="/app2/browse.php" target="_new">Browse</a>] ! [<a href="http://phpwebapp.sourceforge.net/download/app2.tar.gz">Download</a>] <br><br> <hr> --- 10,16 ---- Explains how to debug the template structure. <br><br> ! [<a href="{{APP2_URL}}" target="_new">Test</a>] ! [<a href="{{APP2_URL}}browse.php" target="_new">Browse</a>] ! [<a href="http://phpwebapp.sourceforge.net/download/lgpl/app2.tar.gz">Download</a>] <br><br> <hr> *************** *** 60,66 **** See this <a href="javascript: codeReview('{{APP2_PATH}}templates/page3/page3.html','4,8,10,12','')">example</a>. The <i>{ {TPL_URL} }</i> variable in line 4 contains the URL of the folder ! 'templates', which in this case is '/app2/templates/'. The <i>{ {TPL_PATH} }</i> variable in lines 8 and 12 contains the path in the server of the folder ! templates, e.g. '/var/www/html/app2/templates/'. Both of them are declared in the file <a href="javascript: codeReview('{{APP2_PATH}}config/const.Paths.php','6,7','')"><i>config/const.Paths.php</i></a>. --- 60,66 ---- See this <a href="javascript: codeReview('{{APP2_PATH}}templates/page3/page3.html','4,8,10,12','')">example</a>. The <i>{ {TPL_URL} }</i> variable in line 4 contains the URL of the folder ! 'templates', which in this case is '{{APP2_URL}}templates/'. The <i>{ {TPL_PATH} }</i> variable in lines 8 and 12 contains the path in the server of the folder ! templates, e.g. '/var/www/html{{APP2_URL}}templates/'. Both of them are declared in the file <a href="javascript: codeReview('{{APP2_PATH}}config/const.Paths.php','6,7','')"><i>config/const.Paths.php</i></a>. *************** *** 183,187 **** <br><br> ! <li> <a href="/app2/browse.php" target="_blank">Browse</a> the files of the application and see the templates 'page1.html', 'header.html', 'footer.html', 'page1_content.html'. --- 183,187 ---- <br><br> ! <li> <a href="{{APP2_URL}}browse.php" target="_blank">Browse</a> the files of the application and see the templates 'page1.html', 'header.html', 'footer.html', 'page1_content.html'. Index: transitions.html =================================================================== RCS file: /cvsroot/phpwebapp/lgpl-documentation/templates/tutorial/transitions.html,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** transitions.html 28 Dec 2001 20:05:32 -0000 1.6 --- transitions.html 20 Feb 2003 10:42:05 -0000 1.7 *************** *** 9,15 **** debug transitions. <br><br> ! [<a href="/app1/" target="_new">Test</a>] ! [<a href="/app1/browse.php" target="_new">Browse</a>] ! [<a href="http://phpwebapp.sourceforge.net/download/app1.tar.gz">Download</a>] <br><br> <hr> --- 9,15 ---- debug transitions. <br><br> ! [<a href="{{APP1_URL}}" target="_new">Test</a>] ! [<a href="{{APP1_URL}}browse.php" target="_new">Browse</a>] ! [<a href="http://phpwebapp.sourceforge.net/download/lgpl/app1.tar.gz">Download</a>] <br><br> <hr> *************** *** 61,65 **** <br> If you have not tested the application yet, please ! <a href="/app1/" target="_new">test it</a> now and pay attention to how the <b>GoTo()</b> is used. </p> --- 61,65 ---- <br> If you have not tested the application yet, please ! <a href="{{APP1_URL}}" target="_new">test it</a> now and pay attention to how the <b>GoTo()</b> is used. </p> *************** *** 107,111 **** <p> If you have not yet browsed the application, then ! <a href="/app1/browse.php" target="_new">browse it</a> now. </p> <p> --- 107,111 ---- <p> If you have not yet browsed the application, then ! <a href="{{APP1_URL}}browse.php" target="_new">browse it</a> now. </p> <p> *************** *** 168,173 **** <li> Edit the file app1_test/config/<a href="javascript: codeReview('{{APP1_PATH}}config/const.Paths.php','3','')">const.Paths.php</a> ! so that the constant 'APP_URL' is set to '/app1_test/'. ! <li> Open the application '/app1_test/' in browser to test it. It should work. </ol> 'APP_URL' is the URL of the application starting from the DocumentRoot. --- 168,173 ---- <li> Edit the file app1_test/config/<a href="javascript: codeReview('{{APP1_PATH}}config/const.Paths.php','3','')">const.Paths.php</a> ! so that the constant 'APP_URL' is set to '/lgpl/app1_test/'. ! <li> Open the application '/lgpl/app1_test/' in browser to test it. It should work. </ol> 'APP_URL' is the URL of the application starting from the DocumentRoot. *************** *** 186,192 **** <li> Edit the file test/app1_test/config/<a href="javascript: codeReview('{{APP1_PATH}}config/const.Paths.php','3,4','')">const.Paths.php</a> ! so that the constant 'APP_URL' is set to '/test/app1_test/', and the constant 'WEBAPP_PATH' is set to '../../web_app'. ! <li> Open the application '/test/app1_test/' in browser to test it. It should work. </ol> --- 186,192 ---- <li> Edit the file test/app1_test/config/<a href="javascript: codeReview('{{APP1_PATH}}config/const.Paths.php','3,4','')">const.Paths.php</a> ! so that the constant 'APP_URL' is set to '/lgpl/test/app1_test/', and the constant 'WEBAPP_PATH' is set to '../../web_app'. ! <li> Open the application '/lgpl/test/app1_test/' in browser to test it. It should work. </ol> |