[phpwebapp-commits] CVS: web_app styles.css,1.7,1.8 class.WebApp.php,1.24,1.25
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2005-06-24 14:50:50
|
Update of /cvsroot/phpwebapp/web_app In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3358 Modified Files: styles.css class.WebApp.php Log Message: Index: styles.css =================================================================== RCS file: /cvsroot/phpwebapp/web_app/styles.css,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** styles.css 18 Apr 2005 09:41:25 -0000 1.7 --- styles.css 24 Jun 2005 14:50:35 -0000 1.8 *************** *** 48,56 **** background-color: #ffffff; } ! .xml_err_str, .xml_err_str strong { color: #dd0066; font-family: fixed; } --- 48,62 ---- background-color: #ffffff; } ! .xml_err_str { color: #dd0066; font-family: fixed; } + .xml_err_str strong + { + color: #ff0000; + font-family: sans-serif; + font-weight: bold; + } Index: class.WebApp.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/class.WebApp.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** class.WebApp.php 12 Oct 2004 10:01:10 -0000 1.24 --- class.WebApp.php 24 Jun 2005 14:50:35 -0000 1.25 *************** *** 618,627 **** * Parameters $name, $url, and $features will be used * in a javascript statement like this: ! * $name = window.open($url, $name, $features); */ ! function popup_window($name, $url, $features =UNDEFINED) { global $webPage; $webPage->popup_windows[$name]['url'] = $url; $webPage->popup_windows[$name]['features'] = $features; } --- 618,632 ---- * Parameters $name, $url, and $features will be used * in a javascript statement like this: ! * name = window.open(url, name, features); ! * and $html_content is an html code that is displayed in the ! * window, like this: ! * name.document.write(content); */ ! function popup_window($name, $url, $html_content =UNDEFINED, ! $features =UNDEFINED) { global $webPage; $webPage->popup_windows[$name]['url'] = $url; + $webPage->popup_windows[$name]['html_content'] = $html_content; $webPage->popup_windows[$name]['features'] = $features; } *************** *** 663,666 **** --- 668,672 ---- $fname = str_replace(UP_PATH, '', $fname); $xml_string = htmlentities($xml_string); + $xml_string = str_replace('^err^', "<strong>X</strong>",$xml_string); $err_msg = " |