Improve server management

This commit is contained in:
Eike Foken
2011-09-16 04:46:46 +02:00
parent 17a66ac75e
commit 92adc5f2e3
9 changed files with 252 additions and 122 deletions

View File

@@ -234,6 +234,29 @@ $config['parameters/create'] = array(
),
);
/**
* Rules for creating servers.
*
* @var array
*/
$config['servers/edit'] = array(
array(
'field' => 'description',
'label' => _('Description'),
'rules' => 'required|trim',
),
array(
'field' => 'location',
'label' => _('Location'),
'rules' => 'required|max_length[255]|trim',
),
array(
'field' => 'owner',
'label' => _('Owner'),
'rules' => 'required|alpha_numeric|trim',
),
);
/**
* Rules for creating projects.
*