34 $categories =
$helper->getHandlerCategories()->getListByPermission(
$groups,
'imgcat_read');
36 parent::__construct(
'',
'',
$xoops->getEnv(
'PHP_SELF'),
'post',
false,
'inline');
39 $select->addOptionArray($categories);
41 $select->setExtra(
"onchange='javascript:window.location.href=\"" .
$xoops->getEnv(
'PHP_SELF') .
"?target=" .
$target .
"&imgcat_id=\" + this.value'");
43 $select->setExtra(
"onchange='javascript:window.location.href=\"" .
$xoops->getEnv(
'PHP_SELF') .
"?imgcat_id=\" + this.value'");
51 $write =
$helper->getHandlerCategories()->getListByPermission(
$groups,
'imgcat_write');
55 $button->setClass(
'btn btn-success floatright');
const _AM_IMAGES_CAT_SELECT
static getHelper($dirname= 'system')