64 if (is_object(
$user)) {
72 if (isset($this->user)) {
77 if (!is_object($this->user)) {
82 if (!
$moduleperm_handler->checkRight(
'module_read', $this->module->getVar(
'mid'), $this->user->getGroups())) {
94 if (!isset($this->user)) {
97 if (!$this->user->isAdmin($this->module->getVar(
'mid'))) {
100 $this->isadmin =
true;
107 $ret[
'title'] = array(
'required' =>
true,
'form_type' =>
'textbox',
'value_type' =>
'text');
108 $ret[
'hometext'] = array(
'required' =>
false,
'form_type' =>
'textarea',
'data_type' =>
'textarea');
109 $ret[
'moretext'] = array(
'required' =>
false,
'form_type' =>
'textarea',
'data_type' =>
'textarea');
110 $ret[
'categories'] = array(
'required' =>
false,
'form_type' =>
'select_multi',
'data_type' =>
'array');
129 if (trim($blogtag) !=
'') {
130 $this->xoopsTagMap[$xoopstag] = $blogtag;
136 if (isset($this->xoopsTagMap[$xoopstag])) {
137 return $this->xoopsTagMap[$xoopstag];
146 if (preg_match(
"/<".$tag.
">(.*)<\/".$tag.
">/is", $text, $match)) {
148 $text = str_replace($match[0],
'', $text);
159 if (strtolower(get_class($this)) !=
'xoopsapi') {
160 require_once(XOOPS_ROOT_PATH.
'/class/xml/rpc/xoopsapi.php');