mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
css 및 js 호출순서 조정기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5785 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4f380d9c48
commit
61851f1dfe
2149 changed files with 109090 additions and 18689 deletions
|
|
@ -27,7 +27,7 @@
|
|||
</description>
|
||||
<version>0.1</version>
|
||||
<date>2008-06-18</date>
|
||||
<category>base</category>
|
||||
<category>system</category>
|
||||
|
||||
<author email_address="zero@zeroboard.com" link="http://blog.nzeo.com">
|
||||
<name xml:lang="ko">zero</name>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
**/
|
||||
|
||||
$lang->session = '세션';
|
||||
$lang->about_session = "세션 관리를 하는 모듈입니다\n틈틈히 세션 정리를 하시면 사이트 운영시 보다 좋은 효과를 낼 수 있습니다.";
|
||||
$lang->about_session = "세션 관리를 하는 모듈입니다\n틈틈이 세션 정리를 하시면 사이트 운영시 보다 좋은 효과를 낼 수 있습니다.";
|
||||
|
||||
$lang->cmd_clear_session = '세션 정리';
|
||||
$lang->session_cleared = '쓸모 없는 세션 정보가 정리되었습니다';
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
/**
|
||||
* @file modules/session/lang/zh-CN.lang.php
|
||||
* @author zero <zero@nzeo.com>
|
||||
* @brief 中文语言包
|
||||
* @author zero <zero@nzeo.com> 翻译:guny
|
||||
* @brief 会话模块简体中文语言包
|
||||
**/
|
||||
|
||||
$lang->session = '会话';
|
||||
|
|
|
|||
|
|
@ -1,11 +1,14 @@
|
|||
<query id="getLoggedMembers" action="select">
|
||||
<tables>
|
||||
<table name="session" />
|
||||
<table name="modules" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="member_srl" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="session.cur_mid" default="modules.mid" pipe="and" />
|
||||
<condition operation="equal" column="modules.site_srl" var="site_srl" default="0" pipe="and" />
|
||||
<condition operation="more" column="member_srl" default="1" pipe="and" />
|
||||
<condition operation="more" column="last_update" var="last_update" notnull="notnull" pipe="and" />
|
||||
<condition operation="equal" column="cur_mid" var="mid" pipe="and" />
|
||||
|
|
|
|||
|
|
@ -21,10 +21,6 @@
|
|||
* @brief 설치시 추가 작업이 필요할시 구현
|
||||
**/
|
||||
function moduleInstall() {
|
||||
// action forward에 등록 (관리자 모드에서 사용하기 위함)
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController->insertActionForward('session', 'view', 'dispSessionAdminIndex');
|
||||
|
||||
$oDB = &DB::getInstance();
|
||||
$oDB->addIndex("session","idx_session_update_mid", array("member_srl","last_update","cur_mid"));
|
||||
|
||||
|
|
@ -36,16 +32,9 @@
|
|||
**/
|
||||
function checkUpdate() {
|
||||
$oDB = &DB::getInstance();
|
||||
$oModuleModel = &getModel('module');
|
||||
|
||||
if(!$oModuleModel->getActionForward('dispSessionAdminIndex')) return true;
|
||||
|
||||
if(!$oDB->isTableExists('session')) return true;
|
||||
|
||||
if(!$oDB->isColumnExists("session","cur_mid")) return true;
|
||||
|
||||
if(!$oDB->isIndexExists("session","idx_session_update_mid")) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -55,20 +44,12 @@
|
|||
function moduleUpdate() {
|
||||
$oDB = &DB::getInstance();
|
||||
$oModuleModel = &getModel('module');
|
||||
$oModuleController = &getController('module');
|
||||
|
||||
if(!$oDB->isTableExists('session')) $oDB->createTableByXmlFile($this->module_path.'schemas/session.xml');
|
||||
|
||||
if(!$oModuleModel->getActionForward('dispSessionAdminIndex'))
|
||||
$oModuleController->insertActionForward('session', 'view', 'dispSessionAdminIndex');
|
||||
|
||||
if(!$oDB->isColumnExists("session","cur_mid")) {
|
||||
$oDB->addColumn('session',"cur_mid","varchar",128);
|
||||
}
|
||||
|
||||
if(!$oDB->isIndexExists("session","idx_session_update_mid"))
|
||||
$oDB->addIndex("session","idx_session_update_mid", array("member_srl","last_update","cur_mid"));
|
||||
if(!$oDB->isColumnExists("session","cur_mid")) $oDB->addColumn('session',"cur_mid","varchar",128);
|
||||
|
||||
if(!$oDB->isIndexExists("session","idx_session_update_mid")) $oDB->addIndex("session","idx_session_update_mid", array("member_srl","last_update","cur_mid"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -49,6 +49,10 @@
|
|||
* mid : 특정 mid에 속한 사용자
|
||||
**/
|
||||
function getLoggedMembers($args) {
|
||||
if(!$args->site_srl) {
|
||||
$site_module_info = Context::get('site_module_info');
|
||||
$args->site_srl = (int)$site_module_info->site_srl;
|
||||
}
|
||||
if(!$args->list_count) $args->list_count = 20;
|
||||
if(!$args->page) $args->page = 1;
|
||||
if(!$args->period_time) $args->period_time = 3;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<!--%import("js/session.js",optimized=false)-->
|
||||
|
||||
<h3>{$lang->session} <span class="gray">{$lang->cmd_management}</span></h3>
|
||||
<h3 class="xeAdmin">{$lang->session} <span class="gray">{$lang->cmd_management}</span></h3>
|
||||
<div class="infoText">{nl2br($lang->about_session)}</div>
|
||||
|
||||
<form action="./" method="post" onsubmit="return false;">
|
||||
<div class="fr"><span class="button"><input type="button" value="{$lang->cmd_clear_session}" onclick="doClearSession(); return false; "/></span></div>
|
||||
<div class="fr"><span class="button black strong"><input type="button" value="{$lang->cmd_clear_session}" onclick="doClearSession(); return false; "/></span></div>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue