mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Close Connection when there is no connection value.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13161 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
034a5c0288
commit
f70ce644ce
1410 changed files with 7188 additions and 53541 deletions
|
|
@ -22,6 +22,7 @@ class pollAdminView extends poll
|
|||
$search_target = trim(Context::get('search_target'));
|
||||
$search_keyword = trim(Context::get('search_keyword'));
|
||||
|
||||
$args = new stdClass();
|
||||
if($search_target && $search_keyword)
|
||||
{
|
||||
switch($search_target)
|
||||
|
|
@ -39,7 +40,6 @@ class pollAdminView extends poll
|
|||
}
|
||||
}
|
||||
// Options to get a list of pages
|
||||
$args = new stdClass();
|
||||
$args->page = Context::get('page');
|
||||
$args->list_count = 50; // The number of posts to show on one page
|
||||
$args->page_count = 10; // The number of pages to display in the page navigation
|
||||
|
|
@ -90,7 +90,7 @@ class pollAdminView extends poll
|
|||
Context::set('module_list', $module_list);
|
||||
|
||||
$security = new Security();
|
||||
$security->encodeHTML('poll_list..title');
|
||||
$security->encodeHTML('poll_list..title', 'poll_list..nick_name');
|
||||
// Set a template
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('poll_list');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue