[phpwebapp-commits] CVS: web_app class.WebApp.php,1.9,1.10
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2003-08-20 10:10:32
|
Update of /cvsroot/phpwebapp/web_app In directory sc8-pr-cvs1:/tmp/cvs-serv7039 Modified Files: class.WebApp.php Log Message: Index: class.WebApp.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/class.WebApp.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** class.WebApp.php 15 Aug 2003 09:00:15 -0000 1.9 --- class.WebApp.php 20 Aug 2003 07:07:56 -0000 1.10 *************** *** 482,487 **** if (!SHOW_ERROR_MESSAGES) return ""; $err_msg = htmlentities($err_msg); ! return "\n<div class='error_msg'>WebApp Error: ".$err_msg."</div>\n"; } --- 482,489 ---- if (!SHOW_ERROR_MESSAGES) return ""; + $err_msg = str_replace(UP_PATH, '', $err_msg); $err_msg = htmlentities($err_msg); ! return "\n<span class='webapp_error'><b>WebApp Error:</b> " ! . $err_msg . "</span>\n"; } *************** *** 491,496 **** if (!SHOW_ERROR_MESSAGES) return ""; $warn_msg = htmlentities($warn_msg); ! return "\n<div class='warning_msg'>WebApp Warning: ".$warn_msg."</div>\n"; } --- 493,500 ---- if (!SHOW_ERROR_MESSAGES) return ""; + $err_msg = str_replace(UP_PATH, '', $err_msg); $warn_msg = htmlentities($warn_msg); ! return "\n<span class='webapp_warning'><b>WebApp Warning:</b> " ! . $warn_msg . "</span>\n"; } |