From 796661c563939605d8c7ba7e01b7ecf62f9cd1cf Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Thu, 22 Oct 2015 07:59:09 -0400
Subject: [PATCH] Merge branch 'master' into 'master'
---
interface/web/vm/form/openvz_vm.tform.php | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/interface/web/vm/form/openvz_vm.tform.php b/interface/web/vm/form/openvz_vm.tform.php
index d6911cc..44f20dc 100644
--- a/interface/web/vm/form/openvz_vm.tform.php
+++ b/interface/web/vm/form/openvz_vm.tform.php
@@ -150,6 +150,17 @@
'default' => 'y',
'value' => array(0 => 'n', 1 => 'y')
),
+ 'bootorder' => array (
+ 'datatype' => 'INTEGER',
+ 'formtype' => 'TEXT',
+ 'default' => '0',
+ 'value' => '',
+ 'width' => '3',
+ 'maxlength' => '3',
+ 'validators' => array ( 0 => array ( 'type' => 'ISPOSITIVE',
+ 'errmsg'=> 'bootorder_error_notpositive'),
+ ),
+ ),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
@@ -322,6 +333,23 @@
'width' => '30',
'maxlength' => '255'
),
+ 'custom' => array (
+ 'datatype' => 'TEXT',
+ 'formtype' => 'TEXTAREA',
+ 'default' => '',
+ 'value' => '',
+ 'separator' => '',
+ 'width' => '',
+ 'maxlength' => '',
+ 'rows' => '10',
+ 'cols' => '30',
+ 'searchable' => 2,
+ 'validators' => array ( 0 => array ('type' => 'CUSTOM',
+ 'class' => 'validate_openvz',
+ 'function' => 'check_custom',
+ 'errmsg'=> 'custom_error'),
+ ),
+ ),
//#################################
// ENDE Datatable fields
//#################################
--
Gitblit v1.9.1