45 parent::__construct(
$title,
'image',
$xoops->getEnv(
'PHP_SELF'),
'post',
true);
46 $this->
setExtra(
'enctype="multipart/form-data"');
50 $categories =
$helper->getHandlerCategories()->getListByPermission(
$groups,
'imgcat_write');
53 $select->addOptionArray($categories);
58 $this->
addElement(
new Xoops\Form\Hidden(
'image_weight', $obj->getVar(
'image_weight')));
59 $this->
addElement(
new Xoops\Form\Hidden(
'image_display', $obj->getVar(
'image_display')));
60 $this->
addElement(
new Xoops\Form\Hidden(
'image_name', $obj->getVar(
'image_name')));
61 $this->
addElement(
new Xoops\Form\Hidden(
'image_id', $obj->getVar(
'image_id')));
71 $button->setClass(
'btn btn-success');
78 switch (basename(
$xoops->getEnv(
'PHP_SELF'),
'.php')) {
81 $button_3->setExtra(
'onclick="tinyMCEPopup.close();"');
89 $button_3->setExtra(
"onclick='javascript:history.go(-1);'");
const _AM_IMAGES_CAT_SELECT
const _AM_IMAGES_IMG_EDIT
const _AM_IMAGES_IMG_FILE
static getHelper($dirname= 'system')