aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application')
-rw-r--r--h-source/Application/Controllers/NotebooksController.php2
-rw-r--r--h-source/Application/Controllers/PrintersController.php2
-rw-r--r--h-source/Application/Models/HardwareModel.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/h-source/Application/Controllers/NotebooksController.php b/h-source/Application/Controllers/NotebooksController.php
index 252803c..5d70d90 100644
--- a/h-source/Application/Controllers/NotebooksController.php
+++ b/h-source/Application/Controllers/NotebooksController.php
@@ -62,7 +62,7 @@ class NotebooksController extends GenericController
$this->m['HardwareModel']->softConditions['update'] = array(
"checkMatch|".Hardware::$regExpressions['kernel'] => "kernel|characters not allowed in the <i>kernel</i> entry",
- "checkLength|20000" => "description",
+ "checkLength|40000" => "description",
"++checkLength|99" => "video_card_type,wifi_type",
"+++checkLength|49" => "kernel",
"+checkMatch|/^[a-zA-Z0-9\-\_\.\+\s\/\,\:\;\(\)\[\]]+$/" => "video_card_type|only the following characters are allowed for the <i>videocard</i> entry: a-z A-Z 0-9 - _ . + / , : ; ( ) [ ]",
diff --git a/h-source/Application/Controllers/PrintersController.php b/h-source/Application/Controllers/PrintersController.php
index acf1b59..018d92f 100644
--- a/h-source/Application/Controllers/PrintersController.php
+++ b/h-source/Application/Controllers/PrintersController.php
@@ -57,7 +57,7 @@ class PrintersController extends GenericController
$this->m['HardwareModel']->softConditions['update'] = array(
"checkMatch|".Hardware::$regExpressions['kernel'] => "kernel|characters not allowed in the <i>kernel</i> entry",
- "checkLength|20000" => "description",
+ "checkLength|40000" => "description",
"+checkLength|49" => "driver",
"++checkLength|49" => "kernel",
"++checkMatch|".Hardware::$regExpressions['driver'] => "driver|only the following characters are allowed for the <i>driver</i> entry: a-z A-Z 0-9 - _ . + s / , : ; ( ) [ ]",
diff --git a/h-source/Application/Models/HardwareModel.php b/h-source/Application/Models/HardwareModel.php
index 16d6117..fdfdd7b 100644
--- a/h-source/Application/Models/HardwareModel.php
+++ b/h-source/Application/Models/HardwareModel.php
@@ -90,7 +90,7 @@ class HardwareModel extends Model_Map {
$this->softConditions['update'] = array(
"checkMatch|".Hardware::$regExpressions['kernel'] => "kernel|characters not allowed in the <i>kernel</i> entry",
- "checkLength|20000" => "description",
+ "checkLength|40000" => "description",
"+checkLength|49" => "kernel",
"++checkLength|49" => "driver",
"++checkMatch|".Hardware::$regExpressions['driver'] => "driver|only the following characters are allowed for the <i>driver</i> entry: a-z A-Z 0-9 - _ . + s / , : ; ( ) [ ]",