فهرست منبع

Fixed bug with the brand new about box

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3006 a333f486-631f-4898-b8df-5754b55c2be0
romainq 11 سال پیش
والد
کامیت
96960353a3
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      pages/ajax.render.php

+ 2 - 2
pages/ajax.render.php

@@ -1101,8 +1101,8 @@ EOF
 		case 'about_box':
 		case 'about_box':
 		$oPage->SetContentType('text/html');
 		$oPage->SetContentType('text/html');
 
 
-		$sDialogTitle = Dict::S('UI:About:Title');
-		$sOkButtonLabel = Dict::S('UI:Button:Ok');
+		$sDialogTitle = addslashes(Dict::S('UI:About:Title'));
+		$sOkButtonLabel = addslashes(Dict::S('UI:Button:Ok'));
 		$oPage->add_ready_script(
 		$oPage->add_ready_script(
 <<<EOF
 <<<EOF
 $('#about_box').dialog({
 $('#about_box').dialog({