mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +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
|
|
@ -17,13 +17,24 @@
|
|||
* @brief Get the list of polls
|
||||
**/
|
||||
function getPollList($args) {
|
||||
$output = executeQuery('poll.getPollList', $args);
|
||||
$output = executeQueryArray('poll.getPollList', $args);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
if($output->data && !is_array($output->data)) $output->data = array($output->data);
|
||||
//if($output->data && !is_array($output->data)) $output->data = array($output->data);
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get the list of polls with member info
|
||||
**/
|
||||
function getPollListWithMember($args)
|
||||
{
|
||||
$output = executeQueryArray('poll.getPollListWithMember', $args);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get the original poll
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue