芝麻web文件管理V1.00
编辑当前文件:/home/p/r/i/prismawe/clients/canaldegap.fr_old/modules/FormBuilder/classes/PageBreakField.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 fbPageBreakField extends fbFieldBase { function fbPageBreakField(&$form_ptr, &$params) { $this->fbFieldBase($form_ptr, $params); $mod = $form_ptr->module_ptr; $this->Type = 'PageBreakField'; $this->DisplayInForm = false; $this->Required = false; //$this->ValidationTypes = array($mod->Lang('validation_none')=>'none'); $this->ValidationTypes = array(); $this->NonRequirableField = true; $this->sortable = false; } function GetFieldInput($id, &$params, $return_id) { } function StatusInfo() { return ''; } function PrePopulateAdminForm($formDescriptor) { return array(); } function PostPopulateAdminForm(&$mainArray, &$advArray) { $mod = $this->form_ptr->module_ptr; // remove the "required" field $this->RemoveAdminField($mainArray, $mod->Lang('title_field_required')); $this->HiddenDispositionFields($mainArray, $advArray); } function Validate() { return array(true,''); } } ?>