芝麻web文件管理V1.00
编辑当前文件:/home/p/r/i/prismawe/clients/canaldegap.fr_old/modules/FormBuilder/classes/FieldsetEnd.class.php
More info at http://dev.cmsmadesimple.org/projects/formbuilder A Module for CMS Made Simple, Copyright (c) 2006 by Ted Kulp (wishy@cmsmadesimple.org) This project's homepage is: http://www.cmsmadesimple.org */ class fbFieldsetEnd extends fbFieldBase { function fbFieldsetEnd(&$form_ptr, &$params) { $this->fbFieldBase($form_ptr, $params); $mod = $form_ptr->module_ptr; $this->Type = 'FieldsetEnd'; $this->DisplayInForm = true; $this->DisplayInSubmission = false; $this->NonRequirableField = true; $this->ValidationTypes = array(); $this->HasLabel = 0; $this->NeedsDiv = 0; $this->sortable = false; } function GetFieldInput($id, &$params, $returnid) { return ''; } function StatusInfo() { return ''; } function GetHumanReadableValue($as_string=true) { // there's nothing human readable about a fieldset. $ret = '[End Fieldset: '.$this->Value.']'; if ($as_string) { return $ret; } else { return array($ret); } } function PrePopulateAdminForm($formDescriptor) { $mod = $this->form_ptr->module_ptr; $main = array(); $adv = array(); return array('main'=>$main,'adv'=>$adv); } function PostPopulateAdminForm(&$mainArray, &$advArray) { $mod = $this->form_ptr->module_ptr; $this->RemoveAdminField($advArray, $mod->Lang('title_field_javascript')); $this->CheckForAdvancedTab($advArray); } } ?>