mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 14:19:58 +09:00
issue 160, move "delete cache", "clean up session" from general settings to bottom of all admin pages
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9388 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ac83ac9d4a
commit
12212756c4
5 changed files with 25 additions and 13 deletions
|
|
@ -1,3 +1,16 @@
|
|||
<fieldset class="section form content">
|
||||
<h2 class="h2">{$lang->subtitle_etc}</h2>
|
||||
<ul>
|
||||
<li>
|
||||
<p class="q">{$lang->about_recompile_cache}</p>
|
||||
<p class="a"><a href="#" onclick="doRecompileCacheFile();return false;">{$lang->cmd_remake_cache}</a></p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q">{$lang->about_arrange_session}</p>
|
||||
<p class="a"><a href="#" onclick="doClearSession();return false;">{$lang->cmd_clear_session}</a></p>
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<p>Powered by <strong><a href="{_XE_LOCATION_SITE_}">XE</a></strong>.</p>
|
||||
|
|
@ -5,4 +18,8 @@
|
|||
</div>
|
||||
<script type="text/javascript">
|
||||
xe.current_lang = '{$lang_type}';
|
||||
xe.lang.confirm_run = '{$lang->confirm_run}';
|
||||
</script>
|
||||
|
||||
<load target="./js/config.js" usecdn="true" />
|
||||
<load target="../../session/tpl/js/session.js" usecdn="true" />
|
||||
|
|
|
|||
|
|
@ -237,19 +237,6 @@ jQuery(function($){
|
|||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<fieldset class="section">
|
||||
<h2 class="h2">{$lang->subtitle_etc}</h2>
|
||||
<ul>
|
||||
<li>
|
||||
<p class="q">{$lang->about_recompile_cache}</p>
|
||||
<p class="a"><a href="#" onclick="doRecompileCacheFile();return false;">{$lang->cmd_remake_cache}</a></p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q">{$lang->about_arrange_session}</p>
|
||||
<p class="a"><a href="#" onclick="doClearSession();return false;">{$lang->cmd_clear_session}</a></p>
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<div class="btnArea">
|
||||
<span class="btn medium"><input type="submit" value="{$lang->cmd_save}" /></span>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -116,8 +116,10 @@ function iconDeleteMessage(ret_obj){
|
|||
}
|
||||
}
|
||||
function doRecompileCacheFile() {
|
||||
if (!confirm(xe.lang.confirm_run)) return;
|
||||
var params = new Array();
|
||||
exec_xml("admin","procAdminRecompileCacheFile", params, completeCacheMessage);
|
||||
showWaitingFogLayer();
|
||||
}
|
||||
function completeCacheMessage(ret_obj) {
|
||||
alert(ret_obj['message']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue