Example #1
0
 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}";
         }
     }
 }