mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
issue 70 poll module's admin UI/UX modified.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8721 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f7c964226a
commit
3e70a2c10c
30 changed files with 335 additions and 92 deletions
|
|
@ -60,6 +60,27 @@
|
|||
}
|
||||
}
|
||||
|
||||
function procPollAdminAddCart()
|
||||
{
|
||||
$poll_index_srl = (int)Context::get('poll_index_srl');
|
||||
|
||||
$oPollAdminModel = &getAdminModel('poll');
|
||||
//$columnList = array('comment_srl');
|
||||
$args->pollIndexSrlList = array($poll_index_srl);
|
||||
$args->list_count = 100;
|
||||
|
||||
$output = $oPollAdminModel->getPollList($args);
|
||||
|
||||
if(is_array($output->data))
|
||||
{
|
||||
foreach($output->data AS $key=>$value)
|
||||
{
|
||||
if($_SESSION['poll_management'][$value->poll_index_srl]) unset($_SESSION['poll_management'][$value->poll_index_srl]);
|
||||
else $_SESSION['poll_management'][$value->poll_index_srl] = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Delete the poll (when several questions are registered in one poll, delete this question)
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue