37 $this->module_info->use_status = explode(
'|@|',
$module_info->use_status);
49 $security->encodeHTML(
'module_info.');
50 $security->encodeHTML(
'module_category..');
68 $args =
new stdClass();
69 $args->sort_index =
"module_srl";
71 $args->list_count = 20;
72 $args->page_count = 10;
78 switch ($search_target){
80 $args->s_mid = $search_keyword;
83 $args->s_browser_title = $search_keyword;
88 ModuleModel::syncModuleToSite(
$output->data);
95 $mskin_list =
$oModuleModel->getSkins($this->module_path,
"m.skins");
100 $layout_list = $oLayoutModel->getLayoutList();
103 $mobile_layout_list = $oLayoutModel->getLayoutList(0,
"M");
107 $selected_manage_content = $oModuleAdminModel->getSelectedManageHTML($this->xml_info->grant);
108 Context::set(
'selected_manage_content', $selected_manage_content);
118 $security->encodeHTML(
'board_list..browser_title',
'board_list..mid');
119 $security->encodeHTML(
'skin_list..title',
'mskin_list..title');
120 $security->encodeHTML(
'layout_list..title',
'layout_list..layout');
121 $security->encodeHTML(
'mlayout_list..title',
'mlayout_list..layout');
138 if(!in_array($this->module_info->module, array(
'admin',
'board',
'blog',
'guestbook'))) {
147 $mskin_list =
$oModuleModel->getSkins($this->module_path,
"m.skins");
152 $layout_list = $oLayoutModel->getLayoutList();
155 $mobile_layout_list = $oLayoutModel->getLayoutList(0,
"M");
159 $security->encodeHTML(
'skin_list..title',
'mskin_list..title');
160 $security->encodeHTML(
'layout_list..title',
'layout_list..layout');
161 $security->encodeHTML(
'mlayout_list..title',
'mlayout_list..layout');
166 Context::set(
'document_status_list', $documentStatusList);
171 $extra_vars = $oBoardModel->getDefaultListConfig($this->module_info->module_srl);
175 Context::set(
'list_config', $oBoardModel->getListConfig($this->module_info->module_srl));
178 $module_extra_vars =
$oDocumentModel->getExtraKeys($this->module_info->module_srl);
179 $extra_order_target = array();
180 foreach($module_extra_vars as $oExtraItem)
182 $extra_order_target[$oExtraItem->eid] = $oExtraItem->name;
184 Context::set(
'extra_order_target', $extra_order_target);
187 $security->encodeHTML(
'extra_vars..name',
'list_config..name');
216 if(!in_array($this->module_info->module, array(
'admin',
'board',
'blog',
'guestbook'))) {
229 $security->encodeHTML(
'module_info..mid',
'module_info..module',
'module_info..document_count');
240 $category_content =
$oDocumentModel->getCategoryHTML($this->module_info->module_srl);
253 $grant_content = $oModuleAdminModel->getModuleGrantHTML($this->module_info->module_srl, $this->xml_info->grant);
264 $extra_vars_content =
$oDocumentModel->getExtraVarsHTML($this->module_info->module_srl);
265 Context::set(
'extra_vars_content', $extra_vars_content);
276 $skin_content = $oModuleAdminModel->getModuleSkinHTML($this->module_info->module_srl);
288 $skin_content = $oModuleAdminModel->getModuleMobileSkinHTML($this->module_info->module_srl);
298 $script = sprintf(
'<script> xAddEventListener(window,"load", function() { alert("%s"); } );</script>',
Context::getLang(
$message));
setTemplateFile($filename)
$template_path
a path of directory where template files reside
dispBoardAdminExtraVars()
display extra variables
foreach($sitemap as $id=> &$val) $extra_vars
set($key, $val, $set_to_get_vars=0)
dispBoardAdminBoardInfo()
display the selected board module admin information
$module_srl
integer value to represent a run-time instance of Module (XE Module)
$module_info
an object containing the module information
dispBoardAdminDeleteBoard()
display the board mdoule delete page
dispBoardAdminBoardAdditionSetup()
display the additional setup panel additonal setup panel is for connecting the service modules with o...
getAdminModel($module_name)
dispBoardAdminSkinInfo()
display the module skin information
executeQueryArray($query_id, $args=NULL, $arg_columns=NULL)
alertMessage($message)
board module message
dispBoardAdminInsertBoard()
display the module insert form
dispBoardAdminContent()
display the board module admin contents
triggerCall($trigger_name, $called_position, &$obj)
board module admin view class
dispBoardAdminGrantInfo()
display the grant information
dispBoardAdminMobileSkinInfo()
dispBoardAdminCategoryInfo()
display category information