issue 1650, fixed a bug, html encode problem on extra variable edit page

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10418 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-03-12 06:09:44 +00:00
parent e29775378c
commit 0526100d5f
3 changed files with 3 additions and 3 deletions

View file

@ -1633,7 +1633,7 @@ class documentController extends document {
* @brief Move/ Delete the document in the seession
**/
function procDocumentManageCheckedDocument() {
set_time_limit(50);
set_time_limit(0);
if(!Context::get('is_logged')) return new Object(-1,'msg_not_permitted');
$type = Context::get('type');

View file

@ -902,7 +902,7 @@
$extra_keys = $this->getExtraKeys($module_srl);
Context::set('extra_keys', $extra_keys);
$security = new Security();
$security->encodeHTML('extra_keys..name','extra_keys..eid');
$security->encodeHTML('extra_keys..eid');
// Get information of module_grants
$oTemplate = &TemplateHandler::getInstance();

View file

@ -29,7 +29,7 @@
<tr>
<th>{$lang->column_name}</th>
<td >
<input type="text" name="name" value="{$selected_var->name}" id="name" /><a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','name')}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
<input type="text" name="name" value="{htmlspecialchars($selected_var->name)}" id="name" /><a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','name')}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
</td>
</tr>
<tr>