mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-10 04:03:01 +09:00
add option to hide default options
This commit is contained in:
parent
8c2c7178ea
commit
f85acb1783
4 changed files with 17 additions and 2 deletions
|
|
@ -53,6 +53,7 @@ class PollModel extends Poll
|
|||
$poll->poll[$val->poll_index_srl]->title = $val->title;
|
||||
$poll->poll[$val->poll_index_srl]->checkcount = $val->checkcount;
|
||||
$poll->poll[$val->poll_index_srl]->poll_count = $val->poll_count;
|
||||
$poll->poll[$val->poll_index_srl]->hide = strpos($val->title, '[HIDE]') !== FALSE;
|
||||
}
|
||||
|
||||
$output = executeQueryArray('poll.getPollItem', $args);
|
||||
|
|
|
|||
|
|
@ -52,8 +52,6 @@
|
|||
<!--@foreach($val->item as $item_srl => $item)-->
|
||||
{@$_idx = $poll->poll_srl.'_'.$poll_srl_index.'_'.$item_srl}
|
||||
|
||||
<!-- {print_r($item)} -->
|
||||
|
||||
<div class="item <!--@if($_key==count($val->item)-1)-->noborder<!--@end-->" cond="strpos($item->title, '[HIDE]') === FALSE">
|
||||
<!--@if($val->checkcount>1)-->
|
||||
<input type="checkbox" name="item_{$poll->poll_srl}_{$poll_srl_index}" value="{$item->poll_item_srl}" id="item_{$item->poll_item_srl}" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue