function __ajax_desc_list() { global $gbl, $sgbl, $login, $ghtml; $buttonpath = get_image_path("/button"); $object = $gbl->__c_object; $description = $ghtml->getActionDetails("/display.php?{$ghtml->get_get_from_current_post(null)}", null, $buttonpath, $path, $post, $file, $name, $image, $__t_identity); $img = "<img src={$image}>"; do_list_class($object, $ghtml->frm_o_cname); $v = ob_get_clean(); $v = "{$img}{$v}"; $ret = array('ajax_dismiss' => true, 'ajax_form_name' => null, 'ajax_need_var' => $gbl->__ajax_need_var, 'allbutton' => $gbl->__ajax_allbutton, 'lx__form' => $v); return $ret; }
function __ac_desc_addform($object) { global $gbl, $sgbl, $login, $ghtml; $cname = $ghtml->frm_o_cname; $dttype = $ghtml->frm_dttype; if (exec_class_method($cname, "consumeUnderParent")) { showParentProperty($object); } $selflist = $object->getSelfList(); $alist = exec_class_method($cname, "createAddformAlist", $object, $cname, $dttype); if ($alist) { $ghtml->print_tab_block($alist); } else { $object->createShowPropertyList($alist); $nalist = $alist['property']; $ghtml->print_tab_block($nalist); } if ($selflist) { $ghtml->printShowSelectBox($selflist); } $ghtml->print_message(); do_addform($object, $cname, $dttype); if (exec_class_method($cname, "createAddformList", $object, $cname)) { do_list_class($object, $cname); } }