[phpwebapp-commits] CVS: web_app/doc WebApp.txt,1.2,1.3
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2003-08-11 16:25:05
|
Update of /cvsroot/phpwebapp/web_app/doc In directory sc8-pr-cvs1:/tmp/cvs-serv29261/doc Modified Files: WebApp.txt Log Message: * added some comments (that are handled by phpDocumentor) for dividing the code into packages and subpackages * replaced .gif images by .png images Index: WebApp.txt =================================================================== RCS file: /cvsroot/phpwebapp/web_app/doc/WebApp.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** WebApp.txt 16 Jul 2003 09:27:59 -0000 1.2 --- WebApp.txt 11 Aug 2003 16:17:52 -0000 1.3 *************** *** 74,80 **** the phpWebApp looks for 'page1/page1.js') (? ! to include 'image1.gif' it first looks for 'page1/img/image1.gif', ! and if it does not find it there it looks at 'page1/image1.gif'; ! and if it still doesn't find it, it looks at 'images/image1.gif (where 'images/' is a predefined folder that keeps the common images of the application) --- 74,80 ---- the phpWebApp looks for 'page1/page1.js') (? ! to include 'image1.png' it first looks for 'page1/img/image1.png', ! and if it does not find it there it looks at 'page1/image1.png'; ! and if it still doesn't find it, it looks at 'images/image1.png (where 'images/' is a predefined folder that keeps the common images of the application) *************** *** 124,129 **** developer. Maybe it could be enforced if the template processor didn't allow absolute paths inside the templates, like this: ! <img src="/images/image1.gif">, and required the usage of variables ! like this: <img src="{{IMG_URL}}image1.gif">, which would force the developer to declare the constant IMG_URL in 'const.Paths.php'. ?) --- 124,129 ---- developer. Maybe it could be enforced if the template processor didn't allow absolute paths inside the templates, like this: ! <img src="/images/image1.png">, and required the usage of variables ! like this: <img src="{{IMG_URL}}image1.png">, which would force the developer to declare the constant IMG_URL in 'const.Paths.php'. ?) |