aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Models
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-05-08 15:23:09 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-05-08 15:23:09 +0000
commit7fdac301801bc44f6fdb343187413bdfd2d5366c (patch)
tree5a18faacf0a20a781487a38cad1c305a49fe8951 /h-source/Application/Models
parent7b265a7d6c39266952538ce2a05a799dabc27151 (diff)
h-source:added the driver entry for 3g-cards
Diffstat (limited to 'h-source/Application/Models')
-rw-r--r--h-source/Application/Models/ThreegcardsModel.php1
-rw-r--r--h-source/Application/Models/WikiModel.php4
2 files changed, 3 insertions, 2 deletions
diff --git a/h-source/Application/Models/ThreegcardsModel.php b/h-source/Application/Models/ThreegcardsModel.php
index 6bde5c8..3579e01 100644
--- a/h-source/Application/Models/ThreegcardsModel.php
+++ b/h-source/Application/Models/ThreegcardsModel.php
@@ -63,6 +63,7 @@ class ThreegcardsModel extends GenericModel
'distribution' => gtext('GNU/Linux distribution used for the test'),
'kernel' => gtext('tested with the following kernel libre'),
'wifi_works' => gtext("does it work with free software?"),
+ 'driver' => gtext("free driver used"),
'description' => gtext('Description'),
);
diff --git a/h-source/Application/Models/WikiModel.php b/h-source/Application/Models/WikiModel.php
index bfbc4ad..9cb4f6f 100644
--- a/h-source/Application/Models/WikiModel.php
+++ b/h-source/Application/Models/WikiModel.php
@@ -55,14 +55,14 @@ class WikiModel extends Model_Map {
"checkNotEmpty" => 'title',
"checkLength|99" => 'title|'.gtext('title is too long'),
"+checkNotEmpty" => 'page',
- "+checkLength|9000" => 'page|'.gtext('the page text is too long'),
+ "+checkLength|29900" => 'page|'.gtext('the page text is too long'),
);
$this->strongConditions['update'] = array(
"checkNotEmpty" => 'title',
"checkLength|99" => 'title|'.gtext('title is too long'),
"+checkNotEmpty" => 'page',
- "+checkLength|9000" => 'page|'.gtext('the page text is too long'),
+ "+checkLength|29900" => 'page|'.gtext('the page text is too long'),
);
$this->databaseConditions['insert'] = array(