function createShowPropertyList(&$alist) { global $gbl, $sgbl, $login, $ghtml; /* if ($ghtml->frm_subaction === 'autores') { $alist['property'][] = "a=list&c=autoresponder"; $alist['property'][] = "a=addform&c=autoresponder"; $alist['property'][] = "a=updateform&sa=autores"; return $alist; } */ if ($ghtml->frm_subaction === 'autores') { $alist['property'] = autoresponder::createListAlist($this, 'autoresponder'); return; } if ($this->isLogin()) { $alist['property'][] = "a=show"; $alist['property'][] = "o=sp_specialplay&a=updateform&sa=skin"; $alist['property'][] = "a=updateform&sa=password"; $alist['property'][] = "o=sp_specialplay&a=updateform&sa=login_options"; return $alist; } if ($this->getParentO()->isClient()) { $this->getParentO()->createShowPropertyList($alist); foreach ($alist['property'] as &$__a) { $__a = "goback=1&{$__a}"; } } else { $this->getParentO()->getParentO()->createShowPropertyList($alist); foreach ($alist['property'] as &$__a) { $__a = "goback=2&{$__a}"; } } }
function editList($listEdit, $forms, $show) { $lists = listsHTML::prepList($listEdit); $html = $listEdit->html; if ($listEdit->footer == '0') { $show['unsusbcribe'] = false; } echo $forms['main']; $config_tabs = new mosTabs(0); $config_tabs->startPane('acaListEdit'); $config_tabs->startTab(_ACA_LIST_T_GENERAL, 'acaListEdit.general'); listsHTML::description($listEdit, $lists, $show, $html); $config_tabs->endTab(); $config_tabs->startTab(_ACA_LIST_T_TEMPLATE, 'acaListEdit.template'); listsHTML::layout($listEdit, $lists, $show, $html); $config_tabs->endTab(); if (($show['auto_option'] or $listEdit->new_letter == 1) and $GLOBALS[ACA . 'listype2'] == 1 and class_exists('autoresponder')) { $config_tabs->startTab(_ACA_AUTORESP, 'acaListEdit.autorespond'); autoresponder::edit($listEdit, $lists, $show, $html); $config_tabs->endTab(); } if (($listEdit->list_type == '7' or $listEdit->new_letter == 1) and $GLOBALS[ACA . 'listype7'] == 1 and class_exists('autonews')) { $config_tabs->startTab(_ACA_AUTONEWS, 'acaListEdit.smartnews'); autonews::edit($listEdit, $lists, $show, $html); $config_tabs->endTab(); } if ($show['unsusbcribe'] or $show['auto_subscribe'] or $GLOBALS[ACA . 'require_confirmation'] or $show['email_unsubcribe'] and class_exists('auto')) { $config_tabs->startTab(_ACA_LIST_T_SUBSCRIPTION, 'acaListEdit.subscriber'); listsHTML::subscription($listEdit, $lists, $show, $html); $config_tabs->endTab(); } if (class_exists('pro')) { $config_tabs->startTab(_ACA_LIST_ADD_TAB, 'acaListEdit.pro'); pro::editTab($listEdit, $lists, $show, $html); $config_tabs->endTab(); } $config_tabs->endPane(); }