[phpwebapp-commits] CVS: web_app/parser class.WebClassTpl.php,1.3,1.4 class.Render.php,1.2,1.3
Brought to you by:
dashohoxha
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); |