diff options
author | Steffen Ritter | 2017-12-11 15:53:07 +0100 |
---|---|---|
committer | Steffen Ritter | 2017-12-11 15:53:07 +0100 |
commit | 56334e26a8acd42fd30a7f4827c5742270e3d373 (patch) | |
tree | 287b7a802c2b59b3828df3633ed349f3d42a4e97 /modules-available/dozmod | |
parent | added prefered glyphicons to the design guidelines (diff) | |
download | slx-admin-56334e26a8acd42fd30a7f4827c5742270e3d373.tar.gz slx-admin-56334e26a8acd42fd30a7f4827c5742270e3d373.tar.xz slx-admin-56334e26a8acd42fd30a7f4827c5742270e3d373.zip |
[dozmod] Increase limits for maxImageValidityDays and maxLectureValidityDays
Diffstat (limited to 'modules-available/dozmod')
-rw-r--r-- | modules-available/dozmod/page.inc.php | 4 | ||||
-rw-r--r-- | modules-available/dozmod/templates/runtimeconfig.html | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/modules-available/dozmod/page.inc.php b/modules-available/dozmod/page.inc.php index ffb38663..93d38f48 100644 --- a/modules-available/dozmod/page.inc.php +++ b/modules-available/dozmod/page.inc.php @@ -351,8 +351,8 @@ class Page_DozMod extends Page $params = [ 'int' => [ - 'maxImageValidityDays' => array('min' => 7, 'max' => 999), - 'maxLectureValidityDays' => array('min' => 7, 'max' => 999), + 'maxImageValidityDays' => array('min' => 7, 'max' => 9999), + 'maxLectureValidityDays' => array('min' => 7, 'max' => 9999), 'maxLocationsPerLecture' => array('min' => 0, 'max' => 999), 'maxTransfers' => array('min' => 1, 'max' => 10), ], diff --git a/modules-available/dozmod/templates/runtimeconfig.html b/modules-available/dozmod/templates/runtimeconfig.html index cff61441..a1992631 100644 --- a/modules-available/dozmod/templates/runtimeconfig.html +++ b/modules-available/dozmod/templates/runtimeconfig.html @@ -73,13 +73,17 @@ <tr class="input-group"> <td class="input-group-addon">{{lang_maxImageValidity}}</td> <td> - <input name="maxImageValidityDays" class="form-control" type="number" value="{{maxImageValidityDays}}" min="7" max="999" pattern="^\d+$"> + <input name="maxImageValidityDays" + class="form-control" type="number" + value="{{maxImageValidityDays}}" min="7" max="9999" pattern="^\d+$"> </td> </tr> <tr class="input-group"> <td class="input-group-addon">{{lang_maxLectureVisibility}}</td> <td> - <input name="maxLectureValidityDays" class="form-control" type="number" value="{{maxLectureValidityDays}}" min="1" max="999" pattern="^\d+$"> + <input name="maxLectureValidityDays" + class="form-control" type="number" + value="{{maxLectureValidityDays}}" min="1" max="9999" pattern="^\d+$"> </td> </tr> <tr class="input-group"> |