phpwebapp-commits Mailing List for phpWebApp (Page 32)
Brought to you by:
dashohoxha
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(15) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(2) |
Feb
|
Mar
|
Apr
(5) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2003 |
Jan
|
Feb
(43) |
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(194) |
Sep
(60) |
Oct
(6) |
Nov
|
Dec
(16) |
2004 |
Jan
(73) |
Feb
(13) |
Mar
(5) |
Apr
|
May
(5) |
Jun
|
Jul
(183) |
Aug
|
Sep
(5) |
Oct
(30) |
Nov
|
Dec
|
2005 |
Jan
|
Feb
|
Mar
|
Apr
(9) |
May
(1) |
Jun
(35) |
Jul
(17) |
Aug
(2) |
Sep
(6) |
Oct
(19) |
Nov
(108) |
Dec
|
2006 |
Jan
(10) |
Feb
(1) |
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Dashamir H. <das...@us...> - 2003-08-11 16:28:11
|
Update of /cvsroot/phpwebapp/web_app/timer In directory sc8-pr-cvs1:/tmp/cvs-serv29261/timer Modified Files: class.Timer.php 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: class.Timer.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/timer/class.Timer.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** class.Timer.php 7 Aug 2003 16:12:22 -0000 1.3 --- class.Timer.php 11 Aug 2003 16:17:51 -0000 1.4 *************** *** 1,5 **** <?php /** ! * Class TIMER is used for mesuring the execution time of * SQL queries and other processes or procedures. */ --- 1,5 ---- <?php /** ! * Used for mesuring the execution time of * SQL queries and other processes or procedures. */ |
From: Dashamir H. <das...@us...> - 2003-08-11 16:28:10
|
Update of /cvsroot/phpwebapp/web_app/session/sample In directory sc8-pr-cvs1:/tmp/cvs-serv29261/session/sample Modified Files: test.Session.php 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: test.Session.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/session/sample/test.Session.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** test.Session.php 16 Jul 2003 09:27:59 -0000 1.2 --- test.Session.php 11 Aug 2003 16:17:51 -0000 1.3 *************** *** 1,3 **** --- 1,6 ---- <?php + /** @package session */ + /** */ + $session_path = "../"; include $session_path."class.Session.php"; *************** *** 28,37 **** <a href="JavaScript:on_Add()"> ! <img src="Add.gif" border="0"> </a> </form> <p> <a href="JavaScript:on_Back()"> ! <img src="Back.gif" border="0"> </a> <p> --- 31,40 ---- <a href="JavaScript:on_Add()"> ! <img src="add.png" border="0"> </a> </form> <p> <a href="JavaScript:on_Back()"> ! <img src="back.png" border="0"> </a> <p> |
From: Dashamir H. <das...@us...> - 2003-08-11 16:25:05
|
Update of /cvsroot/phpwebapp/web_app/session In directory sc8-pr-cvs1:/tmp/cvs-serv29261/session Modified Files: wbSession.php tst.php class.Session.php 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: wbSession.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/session/wbSession.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** wbSession.php 7 Aug 2003 16:12:22 -0000 1.3 --- wbSession.php 11 Aug 2003 16:17:51 -0000 1.4 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * Includes the session inside the HTML page. + * @package session + */ class wbSession extends WebObject { Index: tst.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/session/tst.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** tst.php 21 Feb 2003 08:17:00 -0000 1.1.1.1 --- tst.php 11 Aug 2003 16:17:51 -0000 1.2 *************** *** 1,3 **** --- 1,6 ---- <?php + /** @package session */ + /** */ + include "class.Event.php"; Index: class.Session.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/session/class.Session.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** class.Session.php 16 Jul 2003 12:05:23 -0000 1.3 --- class.Session.php 11 Aug 2003 16:17:51 -0000 1.4 *************** *** 1,5 **** <?php /** ! * Used to keep session variables */ class Session --- 1,6 ---- <?php /** ! * Used to keep session variables. ! * @package session */ class Session |
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'. ?) |
From: Dashamir H. <das...@us...> - 2003-08-11 16:25:04
|
Update of /cvsroot/phpwebapp/web_app/parser In directory sc8-pr-cvs1:/tmp/cvs-serv29261/parser Modified Files: package.ParseRender.php class.WebPage.php class.WebObjectTpl.php class.WebObject.php class.WebClassTpl.php class.VarStack.php class.Template.php class.RepeatTpl.php class.Render.php class.Parser.php class.MainTpl.php class.IfTpl.php class.FileTpl.php 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: package.ParseRender.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/parser/package.ParseRender.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** package.ParseRender.php 21 Feb 2003 08:16:57 -0000 1.1.1.1 --- package.ParseRender.php 11 Aug 2003 16:17:51 -0000 1.2 *************** *** 1,3 **** --- 1,6 ---- <?php + /** @package parser */ + + /** */ include_once PARSER_PATH."class.WebPage.php"; include_once PARSER_PATH."class.VarStack.php"; Index: class.WebPage.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/parser/class.WebPage.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** class.WebPage.php 16 Jul 2003 12:05:23 -0000 1.3 --- class.WebPage.php 11 Aug 2003 16:17:51 -0000 1.4 *************** *** 1,4 **** <?php ! //include timing functions include_once TIMER_PATH."class.Timer.php"; --- 1,4 ---- <?php ! /** include timing functions */ include_once TIMER_PATH."class.Timer.php"; *************** *** 6,9 **** --- 6,11 ---- * Keeps the templates, recordsets etc. that are used * to build an HTML page. + * + * @package parser */ class WebPage Index: class.WebObjectTpl.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/parser/class.WebObjectTpl.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** class.WebObjectTpl.php 16 Jul 2003 12:05:23 -0000 1.3 --- class.WebObjectTpl.php 11 Aug 2003 16:17:51 -0000 1.4 *************** *** 1,4 **** <?php ! class WebObjectTpl extends Template { --- 1,4 ---- <?php ! /** @package parser */ class WebObjectTpl extends Template { Index: class.WebObject.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/parser/class.WebObject.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** class.WebObject.php 16 Jul 2003 12:05:23 -0000 1.3 --- class.WebObject.php 11 Aug 2003 16:17:51 -0000 1.4 *************** *** 1,6 **** <?php ! //This is like an interface or a general class that should be ! //extended by all the PHP classes of the <WebClass>-es. ! class WebObject extends WebObjectTpl { --- 1,9 ---- <?php ! /** ! * This is like an interface or a general class that should be ! * extended by all the PHP classes of the <WebClass>-es. ! * ! * @package parser ! */ class WebObject extends WebObjectTpl { Index: class.WebClassTpl.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/parser/class.WebClassTpl.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** class.WebClassTpl.php 7 Aug 2003 16:12:22 -0000 1.4 --- class.WebClassTpl.php 11 Aug 2003 16:17:51 -0000 1.5 *************** *** 1,3 **** --- 1,4 ---- <?php + /** @package parser */ class WebClassTpl extends Template { Index: class.VarStack.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/parser/class.VarStack.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** class.VarStack.php 16 Jul 2003 12:05:23 -0000 1.3 --- class.VarStack.php 11 Aug 2003 16:17:51 -0000 1.4 *************** *** 1,8 **** <?php ! /**********************************************************************/ ! /* CLASS VARSTACK ! /* A stack of associative arrays, keeping variables in nesting scopes. ! /**********************************************************************/ ! class VarStack { --- 1,7 ---- <?php ! /** ! * A stack of associative arrays, keeping variables in nesting scopes. ! * @package parser ! */ class VarStack { Index: class.Template.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/parser/class.Template.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** class.Template.php 16 Jul 2003 12:05:23 -0000 1.3 --- class.Template.php 11 Aug 2003 16:17:51 -0000 1.4 *************** *** 1,6 **** <?php ! /** ! * class Template ! */ class Template { --- 1,4 ---- <?php ! /** @package parser */ class Template { Index: class.RepeatTpl.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/parser/class.RepeatTpl.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** class.RepeatTpl.php 16 Jul 2003 09:27:59 -0000 1.2 --- class.RepeatTpl.php 11 Aug 2003 16:17:51 -0000 1.3 *************** *** 2,5 **** --- 2,6 ---- /** * A template that is repeated for each record of a recordset. + * @package parser */ class RepeatTpl extends Template Index: class.Render.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/parser/class.Render.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** class.Render.php 7 Aug 2003 16:12:22 -0000 1.3 --- class.Render.php 11 Aug 2003 16:17:51 -0000 1.4 *************** *** 2,5 **** --- 2,6 ---- /** * Renders an HTML page from the templates and structures of the $webPage. + * @package parser */ class Render Index: class.Parser.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/parser/class.Parser.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** class.Parser.php 16 Jul 2003 12:05:23 -0000 1.3 --- class.Parser.php 11 Aug 2003 16:17:51 -0000 1.4 *************** *** 1,3 **** --- 1,4 ---- <?php + /** @package parser */ class Parser { Index: class.MainTpl.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/parser/class.MainTpl.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** class.MainTpl.php 16 Jul 2003 12:05:23 -0000 1.3 --- class.MainTpl.php 11 Aug 2003 16:17:52 -0000 1.4 *************** *** 2,5 **** --- 2,7 ---- /** * Represents the main (root) template in the page configuration. + * + * @package parser */ class MainTpl extends FileTpl Index: class.IfTpl.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/parser/class.IfTpl.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** class.IfTpl.php 16 Jul 2003 09:27:59 -0000 1.2 --- class.IfTpl.php 11 Aug 2003 16:17:52 -0000 1.3 *************** *** 2,5 **** --- 2,7 ---- /** * A template that is renderd if the condition evaluates to true. + * + * @package parser */ class IfTpl extends Template Index: class.FileTpl.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/parser/class.FileTpl.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** class.FileTpl.php 16 Jul 2003 09:27:59 -0000 1.2 --- class.FileTpl.php 11 Aug 2003 16:17:52 -0000 1.3 *************** *** 3,6 **** --- 3,8 ---- * A template that contains the content of a file that is * being parsed, e.g. the main file or a file that is included. + * + * @package parser */ class FileTpl extends Template |
From: Dashamir H. <das...@us...> - 2003-08-11 16:19:45
|
Update of /cvsroot/phpwebapp/web_app/webobjects/xlistbox In directory sc8-pr-cvs1:/tmp/cvs-serv29261/webobjects/xlistbox Modified Files: xlistbox.php 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: xlistbox.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/xlistbox/xlistbox.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** xlistbox.php 16 Jul 2003 09:27:59 -0000 1.2 --- xlistbox.php 11 Aug 2003 16:17:50 -0000 1.3 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package webobjects + * @subpackage listbox + */ class xlistbox extends WebObject { |
From: Dashamir H. <das...@us...> - 2003-08-11 16:18:25
|
Update of /cvsroot/phpwebapp/web_app/boxes/editMenus In directory sc8-pr-cvs1:/tmp/cvs-serv26825/boxes/editMenus Added Files: tri.png Log Message: .png images added in place of .gif images --- NEW FILE: tri.png --- PNG |
From: Dashamir H. <das...@us...> - 2003-08-11 16:12:46
|
Update of /cvsroot/phpwebapp/web_app/session/sample In directory sc8-pr-cvs1:/tmp/cvs-serv26825/session/sample Added Files: back.png add.png Log Message: .png images added in place of .gif images --- NEW FILE: back.png --- PNG --- NEW FILE: add.png --- PNG |
From: Dashamir H. <das...@us...> - 2003-08-11 16:12:45
|
Update of /cvsroot/phpwebapp/web_app/boxes/editMenus/sample_menu In directory sc8-pr-cvs1:/tmp/cvs-serv26825/boxes/editMenus/sample_menu Added Files: tri.png Log Message: .png images added in place of .gif images --- NEW FILE: tri.png --- PNG |
From: Dashamir H. <das...@us...> - 2003-08-07 16:27:49
|
Update of /cvsroot/phpwebapp/web_app In directory sc8-pr-cvs1:/tmp/cvs-serv8227 Modified Files: class.WebApp.php WebApp.php ChangeLog Log Message: WebApp::to_url_path() renamed WebApp::to_url() Index: class.WebApp.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/class.WebApp.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** class.WebApp.php 7 Aug 2003 15:47:50 -0000 1.6 --- class.WebApp.php 7 Aug 2003 16:12:22 -0000 1.7 *************** *** 447,451 **** /** takes a path and returns the corresponding url */ ! function to_url_path($path) { $doc_root = $_SERVER["DOCUMENT_ROOT"]; --- 447,451 ---- /** takes a path and returns the corresponding url */ ! function to_url($path) { $doc_root = $_SERVER["DOCUMENT_ROOT"]; Index: WebApp.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/WebApp.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** WebApp.php 16 Jul 2003 09:28:00 -0000 1.2 --- WebApp.php 7 Aug 2003 16:12:22 -0000 1.3 *************** *** 18,22 **** //declare constants define("UNDEFINED", "undefined"); ! define("WEBAPP_URL", WebApp::to_url_path(WEBAPP_PATH)); //declare some global variables --- 18,22 ---- //declare constants define("UNDEFINED", "undefined"); ! define("WEBAPP_URL", WebApp::to_url(WEBAPP_PATH)); //declare some global variables Index: ChangeLog =================================================================== RCS file: /cvsroot/phpwebapp/web_app/ChangeLog,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** ChangeLog 21 Feb 2003 08:15:01 -0000 1.1.1.1 --- ChangeLog 7 Aug 2003 16:12:22 -0000 1.2 *************** *** 0 **** --- 1,4 ---- + 2003-08-07 Dashamir Hoxha <da...@ve...> + + * class.WebApp.php: WebApp::to_url_path() improved + |
From: Dashamir H. <das...@us...> - 2003-08-07 16:25:27
|
Update of /cvsroot/phpwebapp/web_app/doc In directory sc8-pr-cvs1:/tmp/cvs-serv8227/doc Modified Files: WebApp.mdl Log Message: WebApp::to_url_path() renamed WebApp::to_url() Index: WebApp.mdl =================================================================== RCS file: /cvsroot/phpwebapp/web_app/doc/WebApp.mdl,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** WebApp.mdl 21 Feb 2003 08:16:37 -0000 1.1.1.1 --- WebApp.mdl 7 Aug 2003 16:12:22 -0000 1.2 *************** *** 611,615 **** opExportControl "Public" uid 0) ! (object Operation "to_url_path" quid "3B8B747F0334" documentation --- 611,615 ---- opExportControl "Public" uid 0) ! (object Operation "to_url" quid "3B8B747F0334" documentation |
From: Dashamir H. <das...@us...> - 2003-08-07 16:25:25
|
Update of /cvsroot/phpwebapp/web_app/boxes/fileView In directory sc8-pr-cvs1:/tmp/cvs-serv8227/boxes/fileView Modified Files: viewUnknown.php viewImage.php Log Message: WebApp::to_url_path() renamed WebApp::to_url() Index: viewUnknown.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/fileView/viewUnknown.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** viewUnknown.php 21 Feb 2003 08:15:50 -0000 1.1.1.1 --- viewUnknown.php 7 Aug 2003 16:12:22 -0000 1.2 *************** *** 5,9 **** { $file_path = WebApp::getSVar("fileView->file"); ! $url_path = WebApp::to_url_path($file_path); WebApp::addVar("url", $url_path); WebApp::addVar("fileName", basename($file_path)); --- 5,9 ---- { $file_path = WebApp::getSVar("fileView->file"); ! $url_path = WebApp::to_url($file_path); WebApp::addVar("url", $url_path); WebApp::addVar("fileName", basename($file_path)); Index: viewImage.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/fileView/viewImage.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** viewImage.php 21 Feb 2003 08:15:50 -0000 1.1.1.1 --- viewImage.php 7 Aug 2003 16:12:22 -0000 1.2 *************** *** 5,9 **** { $file_path = WebApp::getSVar("fileView->file"); ! $img_url = WebApp::to_url_path($file_path); WebApp::addVar("image_src", $img_url); } --- 5,9 ---- { $file_path = WebApp::getSVar("fileView->file"); ! $img_url = WebApp::to_url($file_path); WebApp::addVar("image_src", $img_url); } |
From: Dashamir H. <das...@us...> - 2003-08-07 16:17:56
|
Update of /cvsroot/phpwebapp/web_app/parser In directory sc8-pr-cvs1:/tmp/cvs-serv8227/parser Modified Files: class.WebClassTpl.php class.Render.php Log Message: WebApp::to_url_path() renamed WebApp::to_url() Index: class.WebClassTpl.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/parser/class.WebClassTpl.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** class.WebClassTpl.php 16 Jul 2003 12:05:23 -0000 1.3 --- class.WebClassTpl.php 7 Aug 2003 16:12:22 -0000 1.4 *************** *** 94,98 **** { global $webPage; ! $fname = WebApp::to_url_path($fname); $include_js = " <script language='JavaScript' src='$fname'></script>\n"; $webPage->append_to_head($include_js); --- 94,98 ---- { global $webPage; ! $fname = WebApp::to_url($fname); $include_js = " <script language='JavaScript' src='$fname'></script>\n"; $webPage->append_to_head($include_js); *************** *** 111,115 **** { global $webPage; ! $fname = WebApp::to_url_path($fname); $include_css = " <link rel='stylesheet' href='$fname' type='text/css'>\n"; $webPage->append_to_head($include_css); --- 111,115 ---- { global $webPage; ! $fname = WebApp::to_url($fname); $include_css = " <link rel='stylesheet' href='$fname' type='text/css'>\n"; $webPage->append_to_head($include_css); Index: class.Render.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/parser/class.Render.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** class.Render.php 16 Jul 2003 09:27:59 -0000 1.2 --- class.Render.php 7 Aug 2003 16:12:22 -0000 1.3 *************** *** 141,145 **** //add the variable {{./}} which contains the current path $tpl_path = dirname($file_tpl->filename) . "/"; ! $tpl_path = WebApp::to_url_path($tpl_path); $tplVars->addVar("./", $tpl_path); --- 141,145 ---- //add the variable {{./}} which contains the current path $tpl_path = dirname($file_tpl->filename) . "/"; ! $tpl_path = WebApp::to_url($tpl_path); $tplVars->addVar("./", $tpl_path); *************** *** 193,197 **** $class_path = $wobj_tpl->class->path; ! $class_url = WebApp::to_url_path($class_path); $tplVars->addVar("./", $class_url); --- 193,197 ---- $class_path = $wobj_tpl->class->path; ! $class_url = WebApp::to_url($class_path); $tplVars->addVar("./", $class_url); |
From: Dashamir H. <das...@us...> - 2003-08-07 16:17:56
|
Update of /cvsroot/phpwebapp/web_app/session In directory sc8-pr-cvs1:/tmp/cvs-serv8227/session Modified Files: wbSession.php Log Message: WebApp::to_url_path() renamed WebApp::to_url() Index: wbSession.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/session/wbSession.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** wbSession.php 16 Jul 2003 09:27:59 -0000 1.2 --- wbSession.php 7 Aug 2003 16:12:22 -0000 1.3 *************** *** 5,9 **** { global $webPage; ! $session_url = WebApp::to_url_path(SESSION_PATH); $func_goto = " <script language='JavaScript' " . "src='${session_url}func.GoTo.js'></script>\n"; --- 5,9 ---- { global $webPage; ! $session_url = WebApp::to_url(SESSION_PATH); $func_goto = " <script language='JavaScript' " . "src='${session_url}func.GoTo.js'></script>\n"; |
From: Dashamir H. <das...@us...> - 2003-08-07 16:12:25
|
Update of /cvsroot/phpwebapp/web_app/webobjects/form In directory sc8-pr-cvs1:/tmp/cvs-serv8227/webobjects/form Modified Files: formWebObj.php Log Message: WebApp::to_url_path() renamed WebApp::to_url() Index: formWebObj.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/form/formWebObj.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** formWebObj.php 16 Jul 2003 09:27:59 -0000 1.2 --- formWebObj.php 7 Aug 2003 16:12:22 -0000 1.3 *************** *** 7,11 **** //prepend js code to the content of this template ! $form_url = WebApp::to_url_path(FORM_PATH); $js_code = "<script language='JavaScript' " . "src='".$form_url."formWebObj.js'></script>\n"; --- 7,11 ---- //prepend js code to the content of this template ! $form_url = WebApp::to_url(FORM_PATH); $js_code = "<script language='JavaScript' " . "src='".$form_url."formWebObj.js'></script>\n"; |
From: Dashamir H. <das...@us...> - 2003-08-07 16:12:25
|
Update of /cvsroot/phpwebapp/web_app/timer In directory sc8-pr-cvs1:/tmp/cvs-serv8227/timer Modified Files: class.Timer.php Log Message: WebApp::to_url_path() renamed WebApp::to_url() Index: class.Timer.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/timer/class.Timer.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** class.Timer.php 16 Jul 2003 09:27:59 -0000 1.2 --- class.Timer.php 7 Aug 2003 16:12:22 -0000 1.3 *************** *** 81,85 **** if (!EXECUTION_TIME_INFO) return ""; ! $timer_path = WebApp::to_url_path(TIMER_PATH); $js_code = " <script language='JavaScript' src='".$timer_path."class.Timer.js'></script> --- 81,85 ---- if (!EXECUTION_TIME_INFO) return ""; ! $timer_path = WebApp::to_url(TIMER_PATH); $js_code = " <script language='JavaScript' src='".$timer_path."class.Timer.js'></script> |
From: Dashamir H. <das...@us...> - 2003-08-07 16:08:56
|
Update of /cvsroot/phpwebapp/documentation In directory sc8-pr-cvs1:/tmp/cvs-serv4726 Removed Files: .emacs.desktop Log Message: --- .emacs.desktop DELETED --- |
From: Dashamir H. <das...@us...> - 2003-08-07 16:01:02
|
Update of /cvsroot/phpwebapp/app2 In directory sc8-pr-cvs1:/tmp/cvs-serv6356 Modified Files: webapp.php browse.php Log Message: Index: webapp.php =================================================================== RCS file: /cvsroot/phpwebapp/app2/webapp.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** webapp.php 21 Feb 2003 08:24:11 -0000 1.1.1.1 --- webapp.php 7 Aug 2003 16:00:59 -0000 1.2 *************** *** 1,7 **** <?php ! $app_path = dirname(__FILE__); ! $app_path = str_replace("\\", "/", $app_path); //could be a Windows path ! define("APP_PATH", $app_path."/"); define("CONFIG_PATH", APP_PATH."config/"); include CONFIG_PATH."const.Paths.php"; --- 1,18 ---- <?php ! //define APP_PATH and APP_URL ! $script_filename = $_SERVER["SCRIPT_FILENAME"]; ! $app_path = dirname($script_filename)."/"; ! define("APP_PATH", $app_path); ! $document_root = $_SERVER["DOCUMENT_ROOT"]; ! $app_url = str_replace($document_root, '', $app_path); ! define("APP_URL", $app_url); ! ! //define the path and the URL of the upper folder ! $up_path = ereg_replace('[^/]+/$', '', APP_PATH); ! define("UP_PATH", $up_path); ! $up_url = ereg_replace('[^/]+/$', '', APP_URL); ! define("UP_URL", $up_url); + //define CONFIG_PATH and include the other path constants define("CONFIG_PATH", APP_PATH."config/"); include CONFIG_PATH."const.Paths.php"; Index: browse.php =================================================================== RCS file: /cvsroot/phpwebapp/app2/browse.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** browse.php 21 Feb 2003 08:24:11 -0000 1.1.1.1 --- browse.php 7 Aug 2003 16:00:59 -0000 1.2 *************** *** 1,4 **** <?php ! include "application.php"; WebApp::addVar("APP_STYLE", APP_URL."templates/styles.css"); WebApp::constructHtmlPage(BROWSER_PATH."fileBrowser.html"); --- 1,4 ---- <?php ! include "webapp.php"; WebApp::addVar("APP_STYLE", APP_URL."templates/styles.css"); WebApp::constructHtmlPage(BROWSER_PATH."fileBrowser.html"); |
From: Dashamir H. <das...@us...> - 2003-08-07 16:01:02
|
Update of /cvsroot/phpwebapp/app2/config In directory sc8-pr-cvs1:/tmp/cvs-serv6356/config Modified Files: const.Paths.php Log Message: Index: const.Paths.php =================================================================== RCS file: /cvsroot/phpwebapp/app2/config/const.Paths.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** const.Paths.php 21 Feb 2003 08:24:11 -0000 1.1.1.1 --- const.Paths.php 7 Aug 2003 16:00:59 -0000 1.2 *************** *** 1,5 **** <?php //constants of the paths in the application - define("APP_URL", "/app2/"); define("WEBAPP_PATH", APP_PATH."../web_app/"); define("EVENTHANDLER_PATH", APP_PATH."event_handlers/"); --- 1,4 ---- |
From: Dashamir H. <das...@us...> - 2003-08-07 15:58:52
|
Update of /cvsroot/phpwebapp/app1 In directory sc8-pr-cvs1:/tmp/cvs-serv5887 Modified Files: webapp.php Log Message: Index: webapp.php =================================================================== RCS file: /cvsroot/phpwebapp/app1/webapp.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** webapp.php 21 Feb 2003 08:23:38 -0000 1.1.1.1 --- webapp.php 7 Aug 2003 15:58:49 -0000 1.2 *************** *** 1,7 **** <?php ! $app_path = dirname(__FILE__); ! $app_path = str_replace("\\", "/", $app_path); //could be a Windows path ! define("APP_PATH", $app_path."/"); define("CONFIG_PATH", APP_PATH."config/"); include CONFIG_PATH."const.Paths.php"; --- 1,18 ---- <?php ! //define APP_PATH and APP_URL ! $script_filename = $_SERVER["SCRIPT_FILENAME"]; ! $app_path = dirname($script_filename)."/"; ! define("APP_PATH", $app_path); ! $document_root = $_SERVER["DOCUMENT_ROOT"]; ! $app_url = str_replace($document_root, '', $app_path); ! define("APP_URL", $app_url); ! ! //define the path and the URL of the upper folder ! $up_path = ereg_replace('[^/]+/$', '', APP_PATH); ! define("UP_PATH", $up_path); ! $up_url = ereg_replace('[^/]+/$', '', APP_URL); ! define("UP_URL", $up_url); + //define CONFIG_PATH and include the other path constants define("CONFIG_PATH", APP_PATH."config/"); include CONFIG_PATH."const.Paths.php"; |
From: Dashamir H. <das...@us...> - 2003-08-07 15:58:52
|
Update of /cvsroot/phpwebapp/app1/config In directory sc8-pr-cvs1:/tmp/cvs-serv5887/config Modified Files: const.Paths.php Log Message: Index: const.Paths.php =================================================================== RCS file: /cvsroot/phpwebapp/app1/config/const.Paths.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** const.Paths.php 21 Feb 2003 08:23:38 -0000 1.1.1.1 --- const.Paths.php 7 Aug 2003 15:58:49 -0000 1.2 *************** *** 1,5 **** <?php //constants of the paths in the application - define("APP_URL", "/app1/"); define("WEBAPP_PATH", APP_PATH."../web_app/"); define("EVENTHANDLER_PATH", APP_PATH."event_handlers/"); --- 1,4 ---- |
From: Dashamir H. <das...@us...> - 2003-08-07 15:58:05
|
Update of /cvsroot/phpwebapp/app1/event_handlers In directory sc8-pr-cvs1:/tmp/cvs-serv5754/event_handlers Removed Files: on.firstTime.php Log Message: --- on.firstTime.php DELETED --- |
From: Dashamir H. <das...@us...> - 2003-08-07 15:54:17
|
Update of /cvsroot/phpwebapp/documentation In directory sc8-pr-cvs1:/tmp/cvs-serv4938 Modified Files: webapp.php Log Message: Index: webapp.php =================================================================== RCS file: /cvsroot/phpwebapp/documentation/webapp.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** webapp.php 21 Feb 2003 08:18:23 -0000 1.1.1.1 --- webapp.php 7 Aug 2003 15:54:14 -0000 1.2 *************** *** 1,7 **** <?php ! $app_path = dirname(__FILE__); ! $app_path = str_replace("\\", "/", $app_path); //could be a Windows path ! define("APP_PATH", $app_path."/"); define("CONFIG_PATH", APP_PATH."config/"); include CONFIG_PATH."const.Paths.php"; --- 1,18 ---- <?php ! //define APP_PATH and APP_URL ! $script_filename = $_SERVER["SCRIPT_FILENAME"]; ! $app_path = dirname($script_filename)."/"; ! define("APP_PATH", $app_path); ! $document_root = $_SERVER["DOCUMENT_ROOT"]; ! $app_url = str_replace($document_root, '', $app_path); ! define("APP_URL", $app_url); ! ! //define the path and the URL of the upper folder ! $up_path = ereg_replace('[^/]+/$', '', APP_PATH); ! define("UP_PATH", $up_path); ! $up_url = ereg_replace('[^/]+/$', '', APP_URL); ! define("UP_URL", $up_url); + //define CONFIG_PATH and include the other path constants define("CONFIG_PATH", APP_PATH."config/"); include CONFIG_PATH."const.Paths.php"; |
From: Dashamir H. <das...@us...> - 2003-08-07 15:54:17
|
Update of /cvsroot/phpwebapp/documentation/templates In directory sc8-pr-cvs1:/tmp/cvs-serv4938/templates Modified Files: about.html Log Message: Index: about.html =================================================================== RCS file: /cvsroot/phpwebapp/documentation/templates/about.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** about.html 4 Aug 2003 15:26:25 -0000 1.4 --- about.html 7 Aug 2003 15:54:14 -0000 1.5 *************** *** 81,99 **** <p> To install the phpWebApp framework you don't need to make or build ! anything, just get it and copy it to your DocumentRoot folder (the ! folder where your web server looks for web documents). You should ! copy to DocumentRoot the folders 'web_app', 'documentation', and any ! or all the sample applications. </p> <p> ! You can get the phpWebApp directly from ! <a href="http://sourceforge.net/cvs/?group_id=41147" target="_blank">CVS@sourceforge</a>. ! Login as an <i>anonymous</i> user and checkout the modules <i>web_app</i>, ! <i>documentation</i>, <i>app1</i>, <i>app2</i> etc. Alternatively, you can ! download them from here: ! <a href="http://phpwebapp.sourceforge.net/download/web_app.tar.gz">web_app.tar.gz</a> (268 KB) , ! <a href="http://phpwebapp.sourceforge.net/download/documentation.tar.gz">documentation.tar.gz</a> (254 KB) , ! <a href="http://phpwebapp.sourceforge.net/download/app1.tar.gz">app1.tar.gz</a> (5 KB) , ! <a href="http://phpwebapp.sourceforge.net/download/app2.tar.gz">app2.tar.gz</a> (7 KB) </p> <h3>Related Links</h3> --- 81,94 ---- <p> To install the phpWebApp framework you don't need to make or build ! anything, just get it and extract it to your DocumentRoot folder (the ! folder where your web server looks for web documents). </p> <p> ! <a href="http://sourceforge.net/project/showfiles.php?group_id=41147" ! target="_blank">Download</a> the latest release, or get it from ! <a href="http://sourceforge.net/cvs/?group_id=41147" ! target="_blank">CVS@sourceforge</a> (login as <i>anonymous</i> ! and checkout the modules <i>web_app</i>, <i>documentation</i>, ! <i>app1</i>, <i>app2</i> etc.). </p> <h3>Related Links</h3> *************** *** 137,154 **** </li> <li> ! Other <a href="http://sourceforge.net/search/?type=soft&exact=1&q=content+management+system&offset=0" target="_blank"> ! content management system</a>s at SourceForge. </li> <li> ! Other <a href="http://sourceforge.net/search/?type=soft&exact=1&q=document+management+system&offset=0" target="_blank"> ! document management system</a>s at SourceForge. </li> <li> ! Other <a href="http://sourceforge.net/search/?type=soft&exact=1&q=template+system&offset=0" target="_blank"> ! template system</a>s at SourceForge. </li> <li> ! Other <a href="http://sourceforge.net/search/?type=soft&exact=1&q=groupware&offset=0" target="_blank"> ! groupware</a>s at SourceForge. </li> </ul> --- 132,153 ---- </li> <li> ! <a href="http://sourceforge.net/search/?type=soft&exact=1&q=content+management+system&offset=0" target="_blank"> ! content management system</a>s </li> <li> ! <a href="http://sourceforge.net/search/?type=soft&exact=1&q=document+management+system&offset=0" target="_blank"> ! document management system</a>s </li> <li> ! <a href="http://sourceforge.net/search/?type=soft&exact=1&q=template+system&offset=0" target="_blank"> ! template system</a>s </li> <li> ! <a href="http://sourceforge.net/search/?type=soft&exact=1&q=groupware&offset=0" target="_blank"> ! groupware</a>s ! </li> ! <li> ! <a href="http://sourceforge.net/search/?type=soft&exact=1&q=wiki&offset=0" target="_blank"> ! wiki</a>s </li> </ul> |
From: Dashamir H. <das...@us...> - 2003-08-07 15:54:17
|
Update of /cvsroot/phpwebapp/documentation/config In directory sc8-pr-cvs1:/tmp/cvs-serv4938/config Modified Files: const.Paths.php const.Options.php Log Message: Index: const.Paths.php =================================================================== RCS file: /cvsroot/phpwebapp/documentation/config/const.Paths.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** const.Paths.php 23 Feb 2003 14:29:07 -0000 1.2 --- const.Paths.php 7 Aug 2003 15:54:14 -0000 1.3 *************** *** 1,6 **** <?php //constants of the paths in the application ! define("APP_URL", "/documentation/"); ! define("WEBAPP_PATH", APP_PATH."../web_app/"); define("EVENTHANDLER_PATH", APP_PATH."event_handlers/"); --- 1,5 ---- <?php //constants of the paths in the application ! define("WEBAPP_PATH", UP_PATH."web_app/"); define("EVENTHANDLER_PATH", APP_PATH."event_handlers/"); *************** *** 9,17 **** define("WOBJ_PATH", APP_PATH."webobjects/"); ! define("APP1_PATH", APP_PATH."../app1/"); ! define("APP2_PATH", APP_PATH."../app2/"); ! define("APP3_PATH", APP_PATH."../app3/"); ! define("APP1_URL", "/app1/"); ! define("APP2_URL", "/app2/"); ! define("APP3_URL", "/app3/"); ?> --- 8,18 ---- define("WOBJ_PATH", APP_PATH."webobjects/"); ! //define paths and URLs of the sample applications ! define("APP1_PATH", UP_PATH."app1/"); ! define("APP2_PATH", UP_PATH."app2/"); ! define("APP3_PATH", UP_PATH."app3/"); ! ! define("APP1_URL", UP_URL."app1/"); ! define("APP2_URL", UP_URL."app2/"); ! define("APP3_URL", UP_URL."app3/"); ?> Index: const.Options.php =================================================================== RCS file: /cvsroot/phpwebapp/documentation/config/const.Options.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** const.Options.php 21 Feb 2003 08:18:23 -0000 1.1.1.1 --- const.Options.php 7 Aug 2003 15:54:14 -0000 1.2 *************** *** 49,59 **** define("DISPLAY_CGI_VARS", false); - /** - * When this constant is true, then the application provides - * an interface for setting the current date of the application - * in order to test the application for a long period of time. - */ - define("TEST", true); - //etc. ?> --- 49,52 ---- |