mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
merge 1.4.5.10
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9272 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
commit
105e3f4843
66 changed files with 4864 additions and 214 deletions
|
|
@ -34,7 +34,11 @@
|
|||
// Get a list of module categories
|
||||
$module_category = $oModuleModel->getModuleCategories();
|
||||
Context::set('module_category', $module_category);
|
||||
// Get a template path (page in the administrative template tpl putting together)
|
||||
//Security
|
||||
$security = new Security();
|
||||
$security->encodeHTML('module_category..title');
|
||||
|
||||
// Get a template path (page in the administrative template tpl putting together)
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
|
||||
}
|
||||
|
|
@ -66,7 +70,13 @@
|
|||
Context::set('page', $output->page);
|
||||
Context::set('page_list', $output->data);
|
||||
Context::set('page_navigation', $output->page_navigation);
|
||||
// Set a template file
|
||||
//Security
|
||||
$security = new Security();
|
||||
$security->encodeHTML('page_list..browser_title');
|
||||
$security->encodeHTML('page_list..mid');
|
||||
$security->encodeHTML('module_info.');
|
||||
|
||||
// Set a template file
|
||||
$this->setTemplateFile('index');
|
||||
}
|
||||
|
||||
|
|
@ -76,7 +86,6 @@
|
|||
function dispPageAdminInfo() {
|
||||
// Get module_srl by GET parameter
|
||||
$module_srl = Context::get('module_srl');
|
||||
|
||||
$module_info = Context::get('module_info');
|
||||
// If you do not value module_srl just showing the index page
|
||||
if(!$module_srl) return $this->dispPageAdminContent();
|
||||
|
|
@ -105,6 +114,14 @@
|
|||
Context::set('mskin_list', $mskin_list);
|
||||
}
|
||||
|
||||
//Security
|
||||
$security = new Security();
|
||||
$security->encodeHTML('layout_list..layout');
|
||||
$security->encodeHTML('layout_list..title');
|
||||
$security->encodeHTML('mlayout_list..layout');
|
||||
$security->encodeHTML('mlayout_list..title');
|
||||
$security->encodeHTML('module_info.');
|
||||
|
||||
$this->setTemplateFile('page_info');
|
||||
}
|
||||
|
||||
|
|
@ -121,6 +138,9 @@
|
|||
Context::set('setup_content', $content);
|
||||
// Set a template file
|
||||
$this->setTemplateFile('addition_setup');
|
||||
|
||||
$security = new Security();
|
||||
$security->encodeHTML('module_info.');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -154,6 +174,14 @@
|
|||
|
||||
$mskin_list = $oModuleModel->getSkins($this->module_path, "m.skins");
|
||||
Context::set('mskin_list', $mskin_list);
|
||||
|
||||
//Security
|
||||
$security = new Security();
|
||||
$security->encodeHTML('layout_list..layout');
|
||||
$security->encodeHTML('layout_list..title');
|
||||
$security->encodeHTML('mlayout_list..layout');
|
||||
$security->encodeHTML('mlayout_list..title');
|
||||
|
||||
// Set a template file
|
||||
$this->setTemplateFile('page_insert');
|
||||
}
|
||||
|
|
@ -168,7 +196,7 @@
|
|||
else $mtime = filemtime($cache_file);
|
||||
|
||||
if($mtime + $interval*60 > time()) {
|
||||
$page_content = FileHandler::readFile($cache_file);
|
||||
$page_content = FileHandler::readFile($cache_file);
|
||||
} else {
|
||||
$oWidgetController = &getController('widget');
|
||||
$page_content = $oWidgetController->transWidgetCode($this->module_info->mcontent);
|
||||
|
|
@ -178,7 +206,7 @@
|
|||
if(file_exists($cache_file)) FileHandler::removeFile($cache_file);
|
||||
$page_content = $this->module_info->mcontent;
|
||||
}
|
||||
|
||||
|
||||
Context::set('module_info', $this->module_info);
|
||||
Context::set('page_content', $page_content);
|
||||
|
||||
|
|
@ -199,7 +227,12 @@
|
|||
$oWidgetModel = &getModel('widget');
|
||||
$widget_list = $oWidgetModel->getDownloadedWidgetList();
|
||||
Context::set('widget_list', $widget_list);
|
||||
// Set a template file
|
||||
|
||||
//Security
|
||||
$security = new Security();
|
||||
$security->encodeHTML('widget_list..title','module_info.mid');
|
||||
|
||||
// Set a template file
|
||||
$this->setTemplateFile('page_mobile_content_modify');
|
||||
}
|
||||
|
||||
|
|
@ -231,6 +264,14 @@
|
|||
$this->setTemplateFile('page_content_modify');
|
||||
}
|
||||
|
||||
//Security
|
||||
$security = new Security();
|
||||
$security->encodeHTML('widget_list..title','module_info.mid');
|
||||
|
||||
// 템플릿 파일 지정
|
||||
$this->setTemplateFile('page_content_modify');
|
||||
}
|
||||
|
||||
function _setArticleTypeContentModify() {
|
||||
$oDocumentModel = &getModel('document');
|
||||
$oDocument = $oDocumentModel->getDocument(0, true);
|
||||
|
|
@ -259,6 +300,9 @@
|
|||
Context::set('module_info',$module_info);
|
||||
// Set a template file
|
||||
$this->setTemplateFile('page_delete');
|
||||
|
||||
$security = new Security();
|
||||
$security->encodeHTML('module_info.');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -271,6 +315,9 @@
|
|||
Context::set('grant_content', $grant_content);
|
||||
|
||||
$this->setTemplateFile('grant_list');
|
||||
|
||||
$security = new Security();
|
||||
$security->encodeHTML('module_info.');
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@
|
|||
<input type="hidden" name="act" value="dispPageAdminContent" />
|
||||
|
||||
<fieldset>
|
||||
{$lang->mid} <input type="text" name="s_mid" value="{$s_mid}" class="inputTypeText" />
|
||||
{$lang->browser_title} <input type="text" name="s_browser_title" value="{$s_browser_title}" class="inputTypeText" />
|
||||
{$lang->mid} <input type="text" name="s_mid" value="{htmlspecialchars($s_mid)}" class="inputTypeText" />
|
||||
{$lang->browser_title} <input type="text" name="s_browser_title" value="{htmlspecialchars($s_browser_title)}" class="inputTypeText" />
|
||||
<span class="button blue"><input type="submit" value="{$lang->cmd_search}" /></span>
|
||||
<a href="{getUrl('s_mid','','s_browser_title','','page','')}" class="button black"><span>{$lang->cmd_cancel}</span></a>
|
||||
</fieldset>
|
||||
|
|
@ -65,7 +65,7 @@
|
|||
<!--@end-->
|
||||
</td>
|
||||
<td>{$val->page_type}</td>
|
||||
<td>{htmlspecialchars($val->mid)}</td>
|
||||
<td>{$val->mid}</td>
|
||||
<td><a href="{getSiteUrl($val->domain,'','mid',$val->mid)}" onclick="window.open(this.href); return false;">{$val->browser_title}</a></td>
|
||||
<td>{zdate($val->regdate,"Y-m-d")}</td>
|
||||
<td><a href="{getUrl('act','dispPageAdminInfo','module_srl',$val->module_srl)}" class="buttonSet buttonSetting"><span>{$lang->cmd_setup}</span></a></td>
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
<tr>
|
||||
<th scope="row"><div>{$lang->browser_title}</div></th>
|
||||
<td colspan="3">
|
||||
<input type="text" name="browser_title" value="{htmlspecialchars($module_info->browser_title)}" class="inputTypeText w400" id="browser_title"/>
|
||||
<input type="text" name="browser_title" value="{$module_info->browser_title}" class="inputTypeText w400" id="browser_title"/>
|
||||
<a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','browser_title')}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
|
||||
<p>{$lang->about_browser_title}</p>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
<tr>
|
||||
<th scope="row"><div>{$lang->browser_title}</div></th>
|
||||
<td colspan="3">
|
||||
<input type="text" name="browser_title" value="{htmlspecialchars($module_info->browser_title)}" class="inputTypeText w400" id="browser_title"/>
|
||||
<input type="text" name="browser_title" value="{$module_info->browser_title}" class="inputTypeText w400" id="browser_title"/>
|
||||
<a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','browser_title')}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
|
||||
<p>{$lang->about_browser_title}</p>
|
||||
</td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue