File Manager
<?php
/*
FormBuilder. Copyright (c) 2005-2006 Samuel Goldstein <sjg@cmsmodules.com>
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,'');
}
}
?>
File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com