diff options
Diffstat (limited to 'h-source/Application')
-rw-r--r-- | h-source/Application/Controllers/NotebooksController.php | 2 | ||||
-rw-r--r-- | h-source/Application/Controllers/PrintersController.php | 2 | ||||
-rw-r--r-- | h-source/Application/Models/HardwareModel.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/h-source/Application/Controllers/NotebooksController.php b/h-source/Application/Controllers/NotebooksController.php index 5d70d90..4128a00 100644 --- a/h-source/Application/Controllers/NotebooksController.php +++ b/h-source/Application/Controllers/NotebooksController.php @@ -45,7 +45,7 @@ class NotebooksController extends GenericController "checkNotEmpty" => "model|you have to fill the <i>model name</i> entry", "checkMatch|".Hardware::$regExpressions['model'] => "model|characters not allowed in the <i>model name</i> entry", "+checkIsStrings|".Notebooks::compatibilityList() => "compatibility", - "checkLength|99" => "model", + "checkLength|190" => "model", "+checkLength|299" => "distribution", "++checkIsStrings|".Hardware::getCommYears() => "comm_year", "+++checkIsStrings|".Notebooks::$subtypeSelect => "subtype", diff --git a/h-source/Application/Controllers/PrintersController.php b/h-source/Application/Controllers/PrintersController.php index 018d92f..438bbba 100644 --- a/h-source/Application/Controllers/PrintersController.php +++ b/h-source/Application/Controllers/PrintersController.php @@ -44,7 +44,7 @@ class PrintersController extends GenericController "checkNotEmpty" => "model|you have to fill the <i>model name</i> entry", "checkMatch|".Hardware::$regExpressions['model'] => "model|characters not allowed in the <i>model name</i> entry", "+checkMatch|".Hardware::$regExpressions['vendorid_productid'] => "pci_id|<i>VendorID:ProductID</i> has to have the following format: [a-zA-Z0-9]{4}(\:)[a-zA-Z0-9]{4}", - "checkLength|99" => "model", + "checkLength|190" => "model", "+checkLength|299" => "distribution", "+checkIsStrings|".Printer::compatibilityList() => "compatibility", "++checkIsStrings|".Hardware::getCommYears() => "comm_year", diff --git a/h-source/Application/Models/HardwareModel.php b/h-source/Application/Models/HardwareModel.php index fdfdd7b..f51333e 100644 --- a/h-source/Application/Models/HardwareModel.php +++ b/h-source/Application/Models/HardwareModel.php @@ -79,7 +79,7 @@ class HardwareModel extends Model_Map { "checkNotEmpty" => "model|you have to fill the <i>model name</i> entry", "checkMatch|".Hardware::$regExpressions['model'] => "model|characters not allowed in the <i>model name</i> entry", "+checkMatch|".Hardware::$regExpressions['vendorid_productid'] => "pci_id|<i>VendorID:ProductID</i> has to have the following format: [a-zA-Z0-9]{4}(\:)[a-zA-Z0-9]{4}", - "checkLength|99" => "model", + "checkLength|190" => "model", "+checkLength|299" => "distribution", "++checkIsStrings|".Hardware::getCommYears() => "comm_year", "+++checkIsStrings|".$worksOptions => $worksField, |