44 $security->encodeHTML(
'module_category..title');
55 $args =
new stdClass();
56 $args->sort_index =
"module_srl";
58 $args->list_count = 40;
59 $args->page_count = 10;
62 $search_target_list = array(
's_mid',
's_browser_title');
65 if(in_array($search_target,$search_target_list) && $search_keyword)
$args->{$search_target} = $search_keyword;
74 $tabChoice = array(
'tab1'=>1,
'tab3'=>1);
75 $selected_manage_content = $oModuleAdminModel->getSelectedManageHTML($this->xml_info->grant, $tabChoice, $this->module_path);
76 Context::set(
'selected_manage_content', $selected_manage_content);
87 $security->encodeHTML(
'page_list..browser_title');
88 $security->encodeHTML(
'page_list..mid');
89 $security->encodeHTML(
'module_info.');
104 if(!
$module_srl)
return $this->dispPageAdminContent();
109 $layout_info = $oLayoutModel->getLayout(
$module_info->layout_srl);
111 $module_info->layout_title = $layout_info->layout_title;
115 $layout_list = $oLayoutModel->getLayoutList();
118 $mobile_layout_list = $oLayoutModel->getLayoutList(0,
"M");
122 if($this->module_info->page_type ==
'ARTICLE')
128 $mskin_list =
$oModuleModel->getSkins($this->module_path,
"m.skins");
134 $security->encodeHTML(
'layout_list..layout');
135 $security->encodeHTML(
'layout_list..title');
136 $security->encodeHTML(
'mlayout_list..layout');
137 $security->encodeHTML(
'mlayout_list..title');
138 $security->encodeHTML(
'module_info.');
140 $this->setTemplateFile(
'page_info');
152 $oEditorView =
getView(
'editor');
153 $oEditorView->triggerDispEditorAdditionSetup($content);
156 $this->setTemplateFile(
'addition_setup');
159 $security->encodeHTML(
'module_info.');
164 if($this->module_info->page_type ==
'OUTSIDE')
166 return $this->stop(-1,
'msg_invalid_request');
176 $page_type_name = strtolower($this->module_info->page_type);
177 $method =
'_get' . ucfirst($page_type_name) .
'Content';
178 if(method_exists($oPageMobile, $method))
180 if($method ==
'_getArticleContent' && $this->module_info->is_mskin_fix ==
'N')
183 $oPageMobile->module_info->mskin =
$oModuleModel->getModuleDefaultSkin(
'page',
'M');
185 $page_content = $oPageMobile->{$method}();
189 return new BaseObject(-1, sprintf(
'%s method is not exists', $method));
195 $this->setTemplateFile(
'mcontent');
202 if ($this->module_info->page_type ==
'WIDGET')
204 $this->_setWidgetTypeContentModify(
true);
206 else if ($this->module_info->page_type ==
'ARTICLE')
208 $this->_setArticleTypeContentModify(
true);
220 if ($this->module_info->page_type ==
'WIDGET')
222 $this->_setWidgetTypeContentModify();
224 else if ($this->module_info->page_type ==
'ARTICLE')
226 $this->_setArticleTypeContentModify();
236 if(!$content) $content = $this->module_info->mcontent;
237 $templateFile =
'page_mobile_content_modify';
242 if(!$content) $content = $this->module_info->content;
243 $templateFile =
'page_content_modify';
249 $content = $oWidgetController->transWidgetCode($content,
true, !$isMobile);
254 $widget_list = $oWidgetModel->getDownloadedWidgetList();
259 $security->encodeHTML(
'widget_list..title',
'module_info.mid');
262 $this->setTemplateFile($templateFile);
273 $target =
'mdocument_srl';
278 $target =
'document_srl';
281 if($this->module_info->{$target})
295 $oDocument->add(
'module_srl', $this->module_info->module_srl);
301 $this->setTemplateFile(
'article_content_modify');
313 $columnList = array(
'module_srl',
'module',
'mid');
317 $this->setTemplateFile(
'page_delete');
320 $security->encodeHTML(
'module_info.');
330 $grant_content = $oModuleAdminModel->getModuleGrantHTML($this->module_info->module_srl, $this->xml_info->grant);
333 $this->setTemplateFile(
'grant_list');
336 $security->encodeHTML(
'module_info.');
345 $skin_content = $oModuleAdminModel->getModuleSkinHTML($this->module_info->module_srl);
348 $this->setTemplateFile(
'skin_info');
357 $skin_content = $oModuleAdminModel->getModuleMobileSkinHTML($this->module_info->module_srl);
360 $this->setTemplateFile(
'skin_info');
setTemplateFile($filename)
getController($module_name)
dispPageAdminContent()
Manage a list of pages showing.
high class of the module page
dispPageAdminMobileContentModify()
set($key, $val, $set_to_get_vars=0)
& getMobile($module_name)
page admin view of the module class
dispPageAdminContentModify()
Edit Page Content.
$module_info
an object containing the module information
dispPageAdminMobileContent()
dispPageAdminDelete()
Delete page output.
getAdminModel($module_name)
syncModuleToSite(&$data)
Combine module_srls with domain of sites Because XE DBHandler doesn't support left outer join...
dispPageAdminGrantInfo()
Rights Listing.
_setWidgetTypeContentModify($isMobile=false)
dispPageAdminPageAdditionSetup()
Additional settings page showing For additional settings in a service module in order to establish li...
_setArticleTypeContentModify($isMobile=false)
addJsFilter($path, $filename)
dispPageAdminMobileSkinInfo()
executeQuery($query_id, $args=NULL, $arg_columns=NULL)
dispPageAdminInfo()
Information output of the selected page.