mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
issue 222 admin menu recreate bug fix
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9440 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
215bd9ad16
commit
679f0e4673
3 changed files with 4 additions and 4 deletions
|
|
@ -1,7 +1,9 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<addon version="0.2">
|
||||
<title xml:lang="ko">어드민 메뉴 접근 로깅</title>
|
||||
<title xml:lang="en">admin menu access logging</title>
|
||||
<description xml:lang="ko">
|
||||
admin menu에 접근한 기록을 로깅하는 애드온입니다.
|
||||
</description>
|
||||
<version>0.1</version>
|
||||
<date>2011-09-28</date>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
class adminAdminView extends admin {
|
||||
|
||||
var $layout_list;
|
||||
var $xeMenuTitle;
|
||||
var $easyinstallCheckFile = './files/env/easyinstall_last';
|
||||
|
||||
/**
|
||||
|
|
@ -16,8 +15,6 @@
|
|||
* @return none
|
||||
**/
|
||||
function init() {
|
||||
$this->xeMenuTitle = '__XE_ADMIN__';
|
||||
|
||||
// forbit access if the user is not an administrator
|
||||
$oMemberModel = &getModel('member');
|
||||
$logged_info = $oMemberModel->getLoggedInfo();
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
**/
|
||||
|
||||
class admin extends ModuleObject {
|
||||
|
||||
/**
|
||||
* @brief install admin module
|
||||
* @return new Object
|
||||
|
|
@ -43,7 +44,7 @@
|
|||
function createXeAdminMenu()
|
||||
{
|
||||
//insert menu
|
||||
$args->title = $this->xeMenuTitle;
|
||||
$args->title = '__XE_ADMIN__';
|
||||
$args->menu_srl = getNextSequence();
|
||||
$args->listorder = $args->menu_srl * -1;
|
||||
$output = executeQuery('menu.insertMenu', $args);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue