38 parent::__construct(
'',
'image',
$xoops->getEnv(
'PHP_SELF'),
'post',
true);
39 $this->
setExtra(
'enctype="multipart/form-data"');
47 $categories =
$helper->getHandlerCategories()->getListByPermission(
$groups,
'imgcat_write');
50 $select->addOptionArray($categories);
51 $tab1->addElement($select,
true);
58 $category =
$helper->getHandlerCategories()->get($obj->
getVar(
'imgcat_id'));
64 $image_tray->setDescription(self::message($upload_msg,
''));
65 $tab1->addElement($image_tray);
71 $tabtray->addElement($tab1);
84 $button->setClass(
'btn btn-success');
92 $button_3->setExtra(
"onclick='javascript:history.go(-1);'");
104 $ret =
"<div class='" . $class .
"'>";
106 $ret .=
"<strong>" .
$title .
"</strong>";
108 if (is_array(
$msg) || is_object(
$msg)) {
109 $ret .= implode(
'<br />',
$msg);
const _AM_IMAGES_CAT_HEIGHT
const _AM_IMAGES_CAT_SELECT
const _AM_IMAGES_CAT_WIDTH
getVar($key, $format= 's')
const _AM_IMAGES_CAT_SIZE
const _AM_IMAGES_IMG_EDIT
const _AM_IMAGES_IMG_FILE
static getHelper($dirname= 'system')
if(!is_object($module)||!$module->getVar('isactive')) $msg