mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 18:02:15 +09:00
issue 670, added reset admin menu link and XE version info.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9733 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
929f05617b
commit
99b93bd067
4 changed files with 23 additions and 1 deletions
|
|
@ -93,6 +93,7 @@
|
|||
|
||||
$oMenuAdminModel = &getAdminModel('menu');
|
||||
$menu_info = $oMenuAdminModel->getMenuByTitle('__XE_ADMIN__');
|
||||
Context::set('admin_menu_srl', $menu_info->menu_srl);
|
||||
|
||||
if(!is_readable($menu_info->php_file)) return;
|
||||
|
||||
|
|
|
|||
|
|
@ -1090,4 +1090,12 @@ Lütfen son sürümü için indirme linkine tıklayınız.]]></value>
|
|||
<value xml:lang="ko"><![CDATA[등록된 데이터가 없습니다.]]></value>
|
||||
<value xml:lang="en"><![CDATA[There is no data.]]></value>
|
||||
</item>
|
||||
<item name="cmd_admin_menu_reset">
|
||||
<value xml:lang="ko"><![CDATA[관리자 메뉴 초기화]]></value>
|
||||
<value xml:lang="en"><![CDATA[Reset admin menu]]></value>
|
||||
</item>
|
||||
<item name="confirm_reset_admin_menu">
|
||||
<value xml:lang="ko"><![CDATA[관리자 메뉴를 초기화하시겠습니까?]]></value>
|
||||
<value xml:lang="en"><![CDATA[Are you sure you want to initialize the admin menu?]]></value>
|
||||
</item>
|
||||
</lang>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
</div>
|
||||
<div class="footer">
|
||||
<p class="power">Powered by <strong><a href="{_XE_LOCATION_SITE_}">XE</a></strong>.</p>
|
||||
<p class="power">Powered by <strong><a href="{_XE_LOCATION_SITE_}">XE</a></strong> (ver. {__ZBXE_VERSION__}).</p>
|
||||
<p class="cache">
|
||||
<button type="button" class="text" onclick="doResetAdminMenu();">{$lang->cmd_admin_menu_reset}</button>
|
||||
<button type="button" class="text" onclick="doRecompileCacheFile();">{$lang->cmd_remake_cache}</button>
|
||||
<button type="button" class="text" onclick="doClearSession();">{$lang->cmd_clear_session}</button>
|
||||
<a href="http://code.google.com/p/xe-core/issues/entry">{$lang->bug_report}</a>
|
||||
|
|
@ -11,6 +12,8 @@
|
|||
<script type="text/javascript">
|
||||
xe.current_lang = '{$lang_type}';
|
||||
xe.lang.confirm_run = '{$lang->confirm_run}';
|
||||
xe.lang.confirm_reset_admin_menu = '{$lang->confirm_reset_admin_menu}';
|
||||
admin_menu_srl = '{$admin_menu_srl}';
|
||||
</script>
|
||||
|
||||
<load target="./js/config.js" usecdn="true" />
|
||||
|
|
|
|||
|
|
@ -125,3 +125,13 @@ function completeCacheMessage(ret_obj) {
|
|||
alert(ret_obj['message']);
|
||||
}
|
||||
|
||||
function doResetAdminMenu() {
|
||||
if (!confirm(xe.lang.confirm_reset_admin_menu)) return;
|
||||
var params = new Array();
|
||||
params['menu_srl'] = admin_menu_srl;
|
||||
exec_xml("admin","procAdminMenuReset", params, completeResetAdminMenu);
|
||||
showWaitingFogLayer();
|
||||
}
|
||||
function completeResetAdminMenu(ret_obj) {
|
||||
document.location.reload();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue