mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +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
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module version="0.2">
|
||||
<title xml:lang="ko">설문조사</title>
|
||||
<title xml:lang="zh-CN">投票调查</title>
|
||||
<title xml:lang="zh-CN">投票系统</title>
|
||||
<title xml:lang="jp">アンケート</title>
|
||||
<title xml:lang="en">Poll</title>
|
||||
<title xml:lang="es">Encuesta</title>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<description xml:lang="zh-TW">管理投票調查的模組。</description>
|
||||
<version>0.1</version>
|
||||
<date>2007-02-28</date>
|
||||
<category>accessory</category>
|
||||
<category>content</category>
|
||||
|
||||
<author email_address="zero@zeroboard.com" link="http://blog.nzeo.com">
|
||||
<name xml:lang="ko">zero</name>
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<module>
|
||||
<grants />
|
||||
<permissions />
|
||||
<actions>
|
||||
<action name="dispPollAdminList" type="view" admin_index="true" standalone="true" />
|
||||
<action name="dispPollAdminResult" type="view" standalone="true" />
|
||||
|
||||
<action name="dispPollAdminConfig" type="controller" standalone="true" />
|
||||
<action name="dispPollAdminConfig" type="view" standalone="true" />
|
||||
|
||||
<action name="getPollGetColorsetList" type="model" standalone="true" />
|
||||
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@
|
|||
* @brief 설문조사 (poll) 모듈의 기본 언어팩
|
||||
**/
|
||||
|
||||
$lang->poll = "설문조사";
|
||||
$lang->poll_stop_date = "설문조사 종료일";
|
||||
$lang->poll_join_count = "참가자";
|
||||
$lang->poll_checkcount = "필수 선택 항목수";
|
||||
$lang->poll = '설문조사';
|
||||
$lang->poll_stop_date = '설문조사 종료일';
|
||||
$lang->poll_join_count = '참가자';
|
||||
$lang->poll_checkcount = '필수 선택 항목수';
|
||||
|
||||
$lang->cmd_poll_list = '설문조사 목록 보기';
|
||||
$lang->cmd_delete_checked_poll = '선택항목 삭제';
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
$lang->cmd_null_item = "설문조사로 등록할 값이 없습니다.\n다시 설정해주세요";
|
||||
|
||||
$lang->confirm_poll_submit = "설문조사에 응하시겠습니까?";
|
||||
$lang->confirm_poll_submit = '설문조사에 응하시겠습니까?';
|
||||
|
||||
$lang->search_target_list = array(
|
||||
'title' => '제목',
|
||||
|
|
|
|||
|
|
@ -2,10 +2,10 @@
|
|||
/**
|
||||
* @file modules/poll/lang/zh-CN.lang.php
|
||||
* @author zero <zero@nzeo.com>
|
||||
* @brief 投票调查 (poll) 模块的基本语言包
|
||||
* @brief 投票系统 (poll) 模块简体中文语言包
|
||||
**/
|
||||
|
||||
$lang->poll = "投票调查";
|
||||
$lang->poll = "投票系统";
|
||||
$lang->poll_stop_date = "投票调查结束日期";
|
||||
$lang->poll_join_count = "投票者";
|
||||
$lang->poll_checkcount = "必选项目数";
|
||||
|
|
|
|||
|
|
@ -13,8 +13,6 @@
|
|||
function moduleInstall() {
|
||||
// action forward에 등록 (관리자 모드에서 사용하기 위함)
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController->insertActionForward('poll', 'view', 'dispPollAdminList');
|
||||
$oModuleController->insertActionForward('poll', 'view', 'dispPollAdminConfig');
|
||||
|
||||
// 기본 스킨 설정
|
||||
$oModuleController = &getController('module');
|
||||
|
|
|
|||
|
|
@ -30,6 +30,12 @@
|
|||
|
||||
$poll_index = $tmp_arr[1];
|
||||
|
||||
if(Context::get('is_logged')) {
|
||||
$logged_info = Context::get('logged_info');
|
||||
// 세션에서 최고 관리자가 아니면 태그 제거
|
||||
if($logged_info->is_admin != 'Y') $val = htmlspecialchars($val);
|
||||
}
|
||||
|
||||
if($tmp_arr[0]=='title') $tmp_args[$poll_index]->title = $val;
|
||||
else if($tmp_arr[0]=='checkcount') $tmp_args[$poll_index]->checkcount = $val;
|
||||
else if($tmp_arr[0]=='item') $tmp_args[$poll_index]->item[] = $val;
|
||||
|
|
|
|||
|
|
@ -4,15 +4,9 @@
|
|||
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, insert_config);" id="fo_poll">
|
||||
|
||||
<table cellspacing="0" class="adminTable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="half_wide"><div>{$lang->skin}</div></th>
|
||||
<th scope="col" class="half_wide"><div>{$lang->colorset}</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<table cellspacing="0" class="rowTable">
|
||||
<tr>
|
||||
<th scope="col" class="half_wide"><div>{$lang->skin}</div></th>
|
||||
<td class="center">
|
||||
<select name="skin" onchange="doDisplaySkinColorset(this);return false;">
|
||||
<!--@foreach($skin_list as $key => $val)-->
|
||||
|
|
@ -20,6 +14,9 @@
|
|||
<!--@end-->
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="col" class="half_wide"><div>{$lang->colorset}</div></th>
|
||||
<td class="center">
|
||||
<select name="colorset" id="poll_colorset">
|
||||
<!--@foreach($colorset_list as $key => $val)-->
|
||||
|
|
@ -29,9 +26,9 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr class="row2">
|
||||
<td scope="row" colspan="2" class="right">
|
||||
<span class="button"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
|
||||
</td>
|
||||
<th scope="row" colspan="2" class="button">
|
||||
<span class="button black strong"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
|
||||
</th>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<h3>{$lang->poll} <span class="gray">{$lang->cmd_management}</span></h3>
|
||||
<h3 class="xeAdmin">{$lang->poll} <span class="gray">{$lang->cmd_management}</span></h3>
|
||||
|
||||
<div class="header4">
|
||||
<ul class="localNavigation">
|
||||
|
|
|
|||
|
|
@ -3,16 +3,12 @@
|
|||
|
||||
<!--#include("./header.html")-->
|
||||
|
||||
<div class="summary">
|
||||
<strong>Total</strong> <em>{number_format($total_count)}</em>, Page <em>{number_format($page)}/{number_format($total_page)}</em>
|
||||
</div>
|
||||
|
||||
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, delete_checked)" id="fo_list">
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
|
||||
<!-- 목록 -->
|
||||
<table cellspacing="0" class="adminTable">
|
||||
<table cellspacing="0" class="crossTable">
|
||||
<caption>Total {number_format($total_count)}, Page {number_format($page)}/{number_format($total_page)}</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><div>{$lang->no}</div></th>
|
||||
|
|
@ -33,17 +29,21 @@
|
|||
<td class="number center">{$val->checkcount}</td>
|
||||
<td class="number center">{$val->poll_count}</td>
|
||||
<td class="date nowrap center">{zdate($val->regdate,"Y-m-d H:i")}</td>
|
||||
<td class="center nowrap view"><a href="{getUrl('','module','poll','act','dispPollAdminResult','poll_srl',$val->poll_srl,'poll_index_srl',$val->poll_index_srl)}" onclick="popopen(this.href); return false;">{$lang->cmd_view}</a></td>
|
||||
<td class="center nowrap view"><a href="{getUrl('','module','poll','act','dispPollAdminResult','poll_srl',$val->poll_srl,'poll_index_srl',$val->poll_index_srl)}" onclick="popopen(this.href); return false;" title="{htmlspecialchars($lang->cmd_view)}">{$lang->cmd_view}</a></td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!-- 버튼 -->
|
||||
<div class="fr gap1">
|
||||
<a href="javascript:XE.checkboxToggleAll({ checked:false })" class="button"><span>{$lang->cmd_unselect_all}</span></a>
|
||||
<a href="javascript:XE.checkboxToggleAll()" class="button"><span>{$lang->cmd_reverse_all}</span></a>
|
||||
<span class="button"><input type="submit" value="{$lang->cmd_delete_checked_poll}" /></span>
|
||||
<div class="clear">
|
||||
<div class="fl">
|
||||
<a href="javascript:XE.checkboxToggleAll({ checked:false })" class="button"><span>{$lang->cmd_unselect_all}</span></a>
|
||||
<a href="javascript:XE.checkboxToggleAll()" class="button"><span>{$lang->cmd_reverse_all}</span></a>
|
||||
</div>
|
||||
<div class="fr">
|
||||
<span class="button black strong"><input type="submit" value="{$lang->cmd_delete_checked_poll}" /></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -1,15 +1,8 @@
|
|||
<!--%import("css/poll.css")-->
|
||||
|
||||
<div class="poll_box">
|
||||
|
||||
<div class="poll_title_box">
|
||||
<div class="poll_join_count">
|
||||
{$lang->poll_join_count} : {number_format($poll->poll_count)}
|
||||
</div>
|
||||
<div class="poll_stop_date">
|
||||
{$lang->poll_stop_date} : {zdate($poll->stop_date, "Y-m-d H:i")}
|
||||
</div>
|
||||
</div>
|
||||
<div id="popHeader" class="wide">
|
||||
<h3 class="xeAdmin">{$lang->poll_stop_date} : {zdate($poll->stop_date, "Y-m-d H:i")} {$lang->poll_join_count} : {number_format($poll->poll_count)}</h3>
|
||||
</div>
|
||||
<div class="popBody">
|
||||
<!--@foreach($poll->poll as $poll_srl_index => $val)-->
|
||||
<div class="poll_detail_box">
|
||||
<div class="title">{$val->title} ({$val->poll_count})</div>
|
||||
|
|
@ -29,7 +22,5 @@
|
|||
<!--@end-->
|
||||
|
||||
</div>
|
||||
|
||||
<!--@end-->
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue