mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 12:32:14 +09:00
Admin layout page HTML code refining.
- HTML entities: & should be written as & - hide useless end tag of <ul>: on the layout insert page, detail setting was hidden but '</ul>' was not hidden. Fixed: Hide '</ul>' when XE hide the detail setting of layout, during inserting layout. git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11064 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2db5e7ca53
commit
975a4f04bc
5 changed files with 7 additions and 8 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
<p class="power">
|
<p class="power">
|
||||||
Powered by <strong><a href="{_XE_LOCATION_SITE_}" target="_blank">XE</a></strong>. <span class="vr">|</span>
|
Powered by <strong><a href="{_XE_LOCATION_SITE_}" target="_blank">XE</a></strong>. <span class="vr">|</span>
|
||||||
<strong>Your version</strong>: {__XE_VERSION__} <span class="vr">|</span>
|
<strong>Your version</strong>: {__XE_VERSION__} <span class="vr">|</span>
|
||||||
<!--@if(isset($latestVersion))--><strong>Latest version</strong>: <a href="{$latestVersion->url}" target="_blank" title="{zdate($latestVersion->date, 'Y-m-d')}">{$latestVersion->title}</a><!--@end-->
|
<!--@if(isset($latestVersion))--><strong>Latest version</strong>: <a href="{htmlspecialchars(html_entity_decode($latestVersion->url))}" target="_blank" title="{zdate($latestVersion->date, 'Y-m-d')}">{$latestVersion->title}</a><!--@end-->
|
||||||
</p>
|
</p>
|
||||||
<p class="cache">
|
<p class="cache">
|
||||||
<button type="button" class="text" onclick="doResetAdminMenu();">{$lang->cmd_admin_menu_reset}</button> <span class="vr">|</span>
|
<button type="button" class="text" onclick="doResetAdminMenu();">{$lang->cmd_admin_menu_reset}</button> <span class="vr">|</span>
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<!--@if(count($gnbUrlList[$parentSrl]['list']) > 0)-->
|
<!--@if(count($gnbUrlList[$parentSrl]['list']) > 0)-->
|
||||||
<!--@foreach($gnbUrlList[$parentSrl]['list'] AS $key=>$value)-->
|
<!--@foreach($gnbUrlList[$parentSrl]['list'] AS $key=>$value)-->
|
||||||
<li <!--@if($value['text'] == $subMenuTitle)-->class="active"<!--@end-->><a href="{html_entity_decode($value['href'])}">{$value['text']}</a></li>
|
<li <!--@if($value['text'] == $subMenuTitle)-->class="active"<!--@end-->><a href="{htmlspecialchars(html_entity_decode($value['href']))}">{$value['text']}</a></li>
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
<ul class="nav nav-list">
|
<ul class="nav nav-list">
|
||||||
<li loop="$favorite_list => $favorite">
|
<li loop="$favorite_list => $favorite">
|
||||||
<a href="{getUrl('', 'module', 'admin', 'act', $favorite->admin_index_act)}">{$favorite->title}</a>
|
<a href="{getUrl('', 'module', 'admin', 'act', $favorite->admin_index_act)}">{$favorite->title}</a>
|
||||||
<form class="action" action="">
|
<form class="action" action="./">
|
||||||
<input type="hidden" name="module" value="admin" />
|
<input type="hidden" name="module" value="admin" />
|
||||||
<input type="hidden" name="act" value="procAdminToggleFavorite" />
|
<input type="hidden" name="act" value="procAdminToggleFavorite" />
|
||||||
<input type="hidden" name="site_srl" value="0" />
|
<input type="hidden" name="site_srl" value="0" />
|
||||||
|
|
|
||||||
|
|
@ -149,7 +149,7 @@
|
||||||
|
|
||||||
//Security
|
//Security
|
||||||
$security = new Security();
|
$security = new Security();
|
||||||
$security->encodeHTML('layout_list..layout','layout_list..title');
|
$security->encodeHTML('layout_list..layout','layout_list..title');
|
||||||
|
|
||||||
// Get layout info
|
// Get layout info
|
||||||
$layout = Context::get('layout');
|
$layout = Context::get('layout');
|
||||||
|
|
@ -179,7 +179,7 @@
|
||||||
Context::set('selected_layout', $layout_info);
|
Context::set('selected_layout', $layout_info);
|
||||||
|
|
||||||
$this->setTemplateFile('layout_modify');
|
$this->setTemplateFile('layout_modify');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Insert Layout details
|
* Insert Layout details
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,7 @@
|
||||||
<block cond="$var->type == 'image'">
|
<block cond="$var->type == 'image'">
|
||||||
<input type="hidden" name="{$name}" id="file_{$name}" value="{$var->value}" />
|
<input type="hidden" name="{$name}" id="file_{$name}" value="{$var->value}" />
|
||||||
<div id="preview_{$name}" style="display:none;"|cond="!$var->value">
|
<div id="preview_{$name}" style="display:none;"|cond="!$var->value">
|
||||||
<img src="../../../{$var->value}"|cond="$var->value" alt="" style="max-width: 250px"/>
|
<img src="../../../{$var->value}" cond="$var->value" alt="" style="max-width: 250px" />
|
||||||
<input type="button" value="{$lang->cmd_delete}" onclick="deleteImage('{$name}')" />
|
<input type="button" value="{$lang->cmd_delete}" onclick="deleteImage('{$name}')" />
|
||||||
</div>
|
</div>
|
||||||
<form action="./" enctype="multipart/form-data" method="post" target="hiddenIframe" class="imageUpload">
|
<form action="./" enctype="multipart/form-data" method="post" target="hiddenIframe" class="imageUpload">
|
||||||
|
|
@ -134,8 +134,7 @@
|
||||||
<p class="desc">{$var->description}</p>
|
<p class="desc">{$var->description}</p>
|
||||||
</li>
|
</li>
|
||||||
</block>
|
</block>
|
||||||
</ul>
|
<block cond="$act == 'dispLayoutAdminModify'"></ul></block>
|
||||||
|
|
||||||
|
|
||||||
<h3 class="h3" cond="$selected_layout->menu">{$lang->menu}</h3>
|
<h3 class="h3" cond="$selected_layout->menu">{$lang->menu}</h3>
|
||||||
<ul cond="$selected_layout->menu">
|
<ul cond="$selected_layout->menu">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue