mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
issue 140 complete member admin view
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8926 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4c448b72ed
commit
86e670c613
19 changed files with 1313 additions and 899 deletions
|
|
@ -159,5 +159,30 @@
|
|||
|
||||
return count($output->data);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Return add join Form
|
||||
**/
|
||||
function getMemberAdminInsertJoinForm() {
|
||||
$member_join_form_srl = Context::get('member_join_form_srl');
|
||||
|
||||
$args->member_join_form_srl = $member_join_form_srl;
|
||||
$output = executeQuery('member.getJoinForm', $args);
|
||||
|
||||
if($output->toBool() && $output->data){
|
||||
$formInfo = $output->data;
|
||||
$default_value = $formInfo->default_value;
|
||||
if ($default_value){
|
||||
$default_value = unserialize($default_value);
|
||||
Context::set('default_value', $default_value);
|
||||
}
|
||||
Context::set('formInfo', $output->data);
|
||||
}
|
||||
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
$tpl = $oTemplate->compile($this->module_path.'tpl', 'insert_join_form');
|
||||
|
||||
$this->add('tpl', str_replace("\n"," ",$tpl));
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue