mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 17:44:38 +09:00
issue 46 apply validator to poll module
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8548 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a65976f913
commit
f020e75e09
11 changed files with 67 additions and 19 deletions
|
|
@ -1,9 +1,10 @@
|
|||
<!--%import("filter/delete_checked.xml")-->
|
||||
<!--%import("js/poll_admin.js")-->
|
||||
|
||||
<!--#include("./header.html")-->
|
||||
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, delete_checked)" id="fo_list">
|
||||
<p class="xe_validator_error">{$XE_VALIDATOR_ERROR}</p>
|
||||
<form ruleset="deleteChecked" action="./" method="post" id="fo_list">
|
||||
<input type="hidden" name="act" value="procPollAdminDeleteChecked" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
|
||||
<!-- 목록 -->
|
||||
|
|
@ -12,7 +13,7 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><div>{$lang->no}</div></th>
|
||||
<th scope="col"><div><input type="checkbox" onclick="XE.checkboxToggleAll(); return false;" /></div></th>
|
||||
<th scope="col"><div><input type="checkbox" onclick="XE.checkboxToggleAll('cart[]'); return false;" /></div></th>
|
||||
<th scope="col" class="wide"><div>{$lang->title}</div></th>
|
||||
<th scope="col"><div>{$lang->poll_checkcount}</div></th>
|
||||
<th scope="col"><div>{$lang->poll_join_count}</div></th>
|
||||
|
|
@ -24,7 +25,7 @@
|
|||
<!--@foreach($poll_list as $no => $val)-->
|
||||
<tr class="row{$cycle_idx}">
|
||||
<td class="number center">{$no}</td>
|
||||
<td class="center"><input type="checkbox" name="cart" value="{$val->poll_index_srl}" /></td>
|
||||
<td class="center"><input type="checkbox" name="cart[]" value="{$val->poll_index_srl}" /></td>
|
||||
<td><a href="#" onclick="doMovePoll({$val->poll_srl},{$val->upload_target_srl});return false;">{htmlspecialchars($val->title)}</a></td>
|
||||
<td class="number center">{$val->checkcount}</td>
|
||||
<td class="number center">{$val->poll_count}</td>
|
||||
|
|
@ -38,8 +39,8 @@
|
|||
<!-- 버튼 -->
|
||||
<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>
|
||||
<a href="javascript:XE.checkboxToggleAll('cart[]', { checked:false })" class="button"><span>{$lang->cmd_unselect_all}</span></a>
|
||||
<a href="javascript:XE.checkboxToggleAll('cart[]')" 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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue