mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1025 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e77791ab6b
commit
d4bef08607
15 changed files with 37 additions and 13 deletions
|
|
@ -20,7 +20,7 @@
|
|||
float:left;
|
||||
}
|
||||
|
||||
.poll_total_count {
|
||||
.poll_join_count {
|
||||
float:right;
|
||||
}
|
||||
|
||||
|
|
|
|||
12
modules/poll/tpl/filter/delete_checked.xml
Normal file
12
modules/poll/tpl/filter/delete_checked.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<filter name="delete_checked" module="poll" act="procPollAdminDeleteChecked" confirm_msg_code="confirm_delete">
|
||||
<form>
|
||||
<node target="cart" required="true" />
|
||||
</form>
|
||||
<parameter>
|
||||
<param name="cart" target="cart" />
|
||||
</parameter>
|
||||
<response>
|
||||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
</response>
|
||||
</filter>
|
||||
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
<!--@if($val->checkcount>1)-->
|
||||
<div class="checkcount">
|
||||
{$lang->poll_check_count} : {$val->checkcount}
|
||||
{$lang->poll_checkcount} : {$val->checkcount}
|
||||
</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* 설문 참여 함수 */
|
||||
function doPoll(fo_obj) {
|
||||
|
||||
var check_count = new Array();
|
||||
var checkcount = new Array();
|
||||
var item = new Array();
|
||||
|
||||
for(var i=0;i<fo_obj.length;i++) {
|
||||
|
|
@ -12,7 +12,7 @@ function doPoll(fo_obj) {
|
|||
if(name.indexOf('checkcount')>-1) {
|
||||
var t = name.split('_');
|
||||
var poll_srl_index = parseInt(t[1],10);
|
||||
check_count[poll_srl_index] = obj.value;
|
||||
checkcount[poll_srl_index] = obj.value;
|
||||
item[poll_srl_index] = new Array();
|
||||
|
||||
} else if(name.indexOf('item_')>-1) {
|
||||
|
|
@ -24,8 +24,8 @@ function doPoll(fo_obj) {
|
|||
}
|
||||
|
||||
var poll_srl_indexes = "";
|
||||
for(var poll_srl_index in check_count) {
|
||||
var count = check_count[poll_srl_index];
|
||||
for(var poll_srl_index in checkcount) {
|
||||
var count = checkcount[poll_srl_index];
|
||||
var items = item[poll_srl_index];
|
||||
if(count > items.length) {
|
||||
alert(poll_alert_lang);
|
||||
|
|
|
|||
|
|
@ -15,15 +15,15 @@
|
|||
<tr>
|
||||
<th colspan="2">{$lang->no}</th>
|
||||
<th>{$lang->title}</th>
|
||||
<th>{$lang->poll_check_count}</th>
|
||||
<th>{$lang->poll_total_count}</th>
|
||||
<th>{$lang->poll_checkcount}</th>
|
||||
<th>{$lang->poll_join_count}</th>
|
||||
<th>{$lang->regdate}</th>
|
||||
</tr>
|
||||
<!--@foreach($poll_list as $no => $val)-->
|
||||
<tr>
|
||||
<td>{$no}</td>
|
||||
<td><input type="checkbox" name="cart" value="{$val->poll_index_srl}" /></td>
|
||||
<td>{$val->title}</td>
|
||||
<td><a href="#" onclick="winopen('./?document_srl={$val->upload_target_srl}'); return false;"/>{$val->title}</a></td>
|
||||
<td>{$val->checkcount}</td>
|
||||
<td>{$val->poll_count}</td>
|
||||
<td>{zdate($val->regdate,"Y-m-d H:i")}</td>
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
<div class="poll_box" style="{$poll->style}">
|
||||
|
||||
<div class="poll_title_box">
|
||||
<div class="poll_total_count">
|
||||
{$lang->poll_total_count} : {number_format($poll->poll_count)}
|
||||
<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")}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue