Commit 02173837 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(groups) align groupname length, like...

(groups) align groupname length, like https://github.com/opnsense/core/commit/0829a34cef456c0065435405e965c45e8077d369

(cherry picked from commit 137dda20)
parent df0b96eb
...@@ -91,8 +91,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { ...@@ -91,8 +91,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$input_errors[] = gettext("The group name contains invalid characters."); $input_errors[] = gettext("The group name contains invalid characters.");
} }
if (strlen($pconfig['name']) > 16) { if (strlen($pconfig['name']) > 32) {
$input_errors[] = gettext("The group name is longer than 16 characters."); $input_errors[] = gettext("The group name is longer than 32 characters.");
} }
if (count($input_errors) == 0 && !isset($id)) { if (count($input_errors) == 0 && !isset($id)) {
...@@ -237,7 +237,7 @@ $( document ).ready(function() { ...@@ -237,7 +237,7 @@ $( document ).ready(function() {
<tr> <tr>
<td><i class="fa fa-info-circle text-muted"></i> <?=gettext("Group name");?></td> <td><i class="fa fa-info-circle text-muted"></i> <?=gettext("Group name");?></td>
<td> <td>
<input name="name" type="text" maxlength="16" value="<?=$pconfig['name'];?>" <?=$pconfig['scope'] == "system" ? "readonly=\"readonly\"" : "";?> /> <input name="name" type="text" maxlength="32" value="<?=$pconfig['name'];?>" <?=$pconfig['scope'] == "system" ? "readonly=\"readonly\"" : "";?> />
</td> </td>
</tr> </tr>
<tr> <tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment