mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Apply autoescape to admin module templates
This commit is contained in:
parent
24df74d618
commit
d9178e91d6
20 changed files with 52 additions and 3 deletions
|
|
@ -1,3 +1,5 @@
|
|||
<config autoescape="on" />
|
||||
|
||||
<load target="css/admin.bootstrap.css" />
|
||||
<load target="css/admin.iefix.css" />
|
||||
<load target="./../../../common/css/xeicon/xeicon.css" />
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<config autoescape="on" />
|
||||
<load target="js/dashboard_counter.js" />
|
||||
|
||||
<div>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
<config autoescape="on" />
|
||||
|
||||
<div>
|
||||
<section class="member">
|
||||
<h2>{$lang->member}</h2>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
<config autoescape="on" />
|
||||
|
||||
<include target="./_admin_common.html" />
|
||||
{Context::addMetaTag("viewport", "width=device-width, user-scalable=yes")}
|
||||
<script>
|
||||
|
|
@ -25,7 +27,7 @@
|
|||
<a class="default_header" href="{getUrl('','module','admin')}"><i class="xi xi-cog"></i></a>
|
||||
<a class="mobile_menu_open" href="#gnbNav"><i class="xi xi-bars"></i></a>
|
||||
</h1>
|
||||
<p class="site"><a href="{$xe_default_url}">{$site_module_info->settings->title ?: $xe_default_url}</a></p>
|
||||
<p class="site"><a href="{$xe_default_url}">{$site_module_info->settings->title ?: $xe_default_url|noescape}</a></p>
|
||||
<!--@end-->
|
||||
<div class="account">
|
||||
<ul>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
<config autoescape="on" />
|
||||
|
||||
<load target="./js/menu_setup.js" usecdn="true" />
|
||||
<div class="x_page-header">
|
||||
<h1>{$lang->admin_setup}</h1>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
<config autoescape="on" />
|
||||
|
||||
<include target="config_header.html" />
|
||||
|
||||
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/admin/tpl/config_advanced/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
<config autoescape="on" />
|
||||
|
||||
<include target="config_header.html" />
|
||||
|
||||
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/admin/tpl/config_debug/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
<config autoescape="on" />
|
||||
|
||||
<include target="config_header.html" />
|
||||
|
||||
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/admin/tpl/config_domains/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
|
|
@ -24,7 +27,7 @@
|
|||
<tbody>
|
||||
<tr loop="$domain_list->data => $domain">
|
||||
<td class="nowr">
|
||||
{$domain->settings->title}
|
||||
{$domain->settings->title|noescape}
|
||||
<i cond="$domain->is_default_domain === 'Y'" class="x_icon-home" title="{$lang->cmd_is_default_domain}">{$lang->cmd_is_default_domain}</i>
|
||||
</td>
|
||||
<td class="nowr">{$domain->domain}</td>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
<config autoescape="on" />
|
||||
|
||||
<include target="config_header.html" />
|
||||
|
||||
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/admin/tpl/config_domains_edit/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
|
|
@ -8,7 +11,6 @@
|
|||
<input type="hidden" name="act" value="procAdminInsertDomain" />
|
||||
<input type="hidden" name="xe_validator_id" value="modules/admin/tpl/config_domains_edit/1" />
|
||||
<input type="hidden" name="domain_srl" value="{$domain_info ? $domain_info->domain_srl : ''}" />
|
||||
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label">{$lang->site_title}</label>
|
||||
<div class="x_controls">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
<config autoescape="on" />
|
||||
|
||||
<load target="./js/config.js" />
|
||||
<load target="../../session/tpl/js/session.js" />
|
||||
|
||||
<div class="x_page-header">
|
||||
<h1>{$lang->menu_gnb_sub['adminConfigurationFtp']}</h1>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
<config autoescape="on" />
|
||||
|
||||
<load target="./js/config.js" />
|
||||
<load target="../../session/tpl/js/session.js" />
|
||||
<div class="x_page-header">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
<config autoescape="on" />
|
||||
|
||||
<include target="config_header.html" />
|
||||
<load target="js/notification_config.js" />
|
||||
|
||||
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/admin/tpl/config_notification/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
<config autoescape="on" />
|
||||
|
||||
<include target="config_header.html" />
|
||||
|
||||
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/admin/tpl/config_security/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
<config autoescape="on" />
|
||||
|
||||
<include target="config_header.html" />
|
||||
|
||||
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/admin/tpl/config_seo/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
<config autoescape="on" />
|
||||
|
||||
<include target="config_header.html" />
|
||||
|
||||
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/admin/tpl/config_sitelock/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
<config autoescape="on" />
|
||||
|
||||
<script>
|
||||
<!--@if($msg)-->
|
||||
parent.alertUploadMessage('{$msg}');
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
<config autoescape="on" />
|
||||
|
||||
<include target="./_header.html" />
|
||||
|
||||
<load target="./js/excanvas.min.js" targetie="lt IE 9" />
|
||||
<load target="./js/jquery.jqplot.min.js" />
|
||||
<load target="./js/jqplot.barRenderer.min.js" />
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
<config autoescape="on" />
|
||||
|
||||
<include target="./_header.html" />
|
||||
<div class="content" id="content">
|
||||
<div cond="Context::isBlacklistedPlugin($blacklisted_plugin_name = strtolower(preg_replace('/^disp([A-Z][a-z0-9_]+)[A-Z].+$/', '$1', $act)))" class="message error" style="margin-top:15px">
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
<config autoescape="on" />
|
||||
|
||||
<include target="./_admin_common.html" />
|
||||
<div class="x">
|
||||
<div class="content" id="content">
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
<config autoescape="on" />
|
||||
|
||||
<load target="./js/menu_setup.js" usecdn="true" />
|
||||
|
||||
<div class="x_page-header">
|
||||
<h1>{$lang->server_env}</h1>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue