diff options
author | Frédéric Guillot <fred@kanboard.net> | 2018-04-12 15:08:29 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-04-12 15:39:55 -0700 |
commit | 0e8a94ac42c5f4345658d1581f9b2c7afa705a3a (patch) | |
tree | 437e5967e062eead16f2fdd14797d9eba01a584d /app/Template | |
parent | d8c625c8562f527f4a1a7cec6c3e6904ca11b69d (diff) |
Adjust field size to keep compatibility with MySQL 5.6
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/category/edit.php | 2 | ||||
-rw-r--r-- | app/Template/column/create.php | 2 | ||||
-rw-r--r-- | app/Template/column/edit.php | 2 | ||||
-rw-r--r-- | app/Template/group_creation/show.php | 2 | ||||
-rw-r--r-- | app/Template/group_modification/show.php | 2 | ||||
-rw-r--r-- | app/Template/project_tag/create.php | 2 | ||||
-rw-r--r-- | app/Template/project_tag/edit.php | 2 | ||||
-rw-r--r-- | app/Template/swimlane/create.php | 2 | ||||
-rw-r--r-- | app/Template/swimlane/edit.php | 2 | ||||
-rw-r--r-- | app/Template/tag/create.php | 2 | ||||
-rw-r--r-- | app/Template/tag/edit.php | 2 | ||||
-rw-r--r-- | app/Template/user_creation/show.php | 2 | ||||
-rw-r--r-- | app/Template/user_invite/signup.php | 2 | ||||
-rw-r--r-- | app/Template/user_modification/show.php | 2 |
14 files changed, 14 insertions, 14 deletions
diff --git a/app/Template/category/edit.php b/app/Template/category/edit.php index 08231606..cd8ee7ba 100644 --- a/app/Template/category/edit.php +++ b/app/Template/category/edit.php @@ -6,7 +6,7 @@ <?= $this->form->csrf() ?> <?= $this->form->label(t('Category Name'), 'name') ?> - <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="255"', 'tabindex="1"')) ?> + <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="191"', 'tabindex="1"')) ?> <?= $this->form->label(t('Description'), 'description') ?> <?= $this->form->textEditor('description', $values, $errors, array('tabindex' => 2)) ?> diff --git a/app/Template/column/create.php b/app/Template/column/create.php index 2ea88eea..034e948c 100644 --- a/app/Template/column/create.php +++ b/app/Template/column/create.php @@ -5,7 +5,7 @@ <?= $this->form->csrf() ?> <?= $this->form->label(t('Title'), 'title') ?> - <?= $this->form->text('title', $values, $errors, array('autofocus', 'required', 'maxlength="255"', 'tabindex="1"')) ?> + <?= $this->form->text('title', $values, $errors, array('autofocus', 'required', 'maxlength="191"', 'tabindex="1"')) ?> <?= $this->form->label(t('Task limit'), 'task_limit') ?> <?= $this->form->number('task_limit', $values, $errors, array('tabindex="2"')) ?> diff --git a/app/Template/column/edit.php b/app/Template/column/edit.php index 2025405f..def0f299 100644 --- a/app/Template/column/edit.php +++ b/app/Template/column/edit.php @@ -6,7 +6,7 @@ <?= $this->form->csrf() ?> <?= $this->form->label(t('Title'), 'title') ?> - <?= $this->form->text('title', $values, $errors, array('autofocus', 'required', 'maxlength="255"')) ?> + <?= $this->form->text('title', $values, $errors, array('autofocus', 'required', 'maxlength="191"')) ?> <?= $this->form->label(t('Task limit'), 'task_limit') ?> <?= $this->form->number('task_limit', $values, $errors) ?> diff --git a/app/Template/group_creation/show.php b/app/Template/group_creation/show.php index 0b26105b..7cec0755 100644 --- a/app/Template/group_creation/show.php +++ b/app/Template/group_creation/show.php @@ -5,7 +5,7 @@ <?= $this->form->csrf() ?> <?= $this->form->label(t('Name'), 'name') ?> - <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="255"')) ?> + <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="191"')) ?> <?= $this->modal->submitButtons() ?> </form> diff --git a/app/Template/group_modification/show.php b/app/Template/group_modification/show.php index c314a412..aa647775 100644 --- a/app/Template/group_modification/show.php +++ b/app/Template/group_modification/show.php @@ -8,7 +8,7 @@ <?= $this->form->hidden('external_id', $values) ?> <?= $this->form->label(t('Name'), 'name') ?> - <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="255"')) ?> + <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="191"')) ?> <?= $this->modal->submitButtons() ?> </form> diff --git a/app/Template/project_tag/create.php b/app/Template/project_tag/create.php index 6765e8fc..d665aa76 100644 --- a/app/Template/project_tag/create.php +++ b/app/Template/project_tag/create.php @@ -5,7 +5,7 @@ <?= $this->form->csrf() ?> <?= $this->form->label(t('Name'), 'name') ?> - <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="255"')) ?> + <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="191"')) ?> <?= $this->modal->submitButtons() ?> </form> diff --git a/app/Template/project_tag/edit.php b/app/Template/project_tag/edit.php index 29290c0c..39b08326 100644 --- a/app/Template/project_tag/edit.php +++ b/app/Template/project_tag/edit.php @@ -5,7 +5,7 @@ <?= $this->form->csrf() ?> <?= $this->form->label(t('Name'), 'name') ?> - <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="255"')) ?> + <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="191"')) ?> <?= $this->modal->submitButtons() ?> </form> diff --git a/app/Template/swimlane/create.php b/app/Template/swimlane/create.php index 02825547..b769c6ce 100644 --- a/app/Template/swimlane/create.php +++ b/app/Template/swimlane/create.php @@ -5,7 +5,7 @@ <?= $this->form->csrf() ?> <?= $this->form->label(t('Name'), 'name') ?> - <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="255"', 'tabindex="1"')) ?> + <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="191"', 'tabindex="1"')) ?> <?= $this->form->label(t('Description'), 'description') ?> <?= $this->form->textEditor('description', $values, $errors, array('tabindex' => 2)) ?> diff --git a/app/Template/swimlane/edit.php b/app/Template/swimlane/edit.php index 205dc95d..f15a6dfb 100644 --- a/app/Template/swimlane/edit.php +++ b/app/Template/swimlane/edit.php @@ -6,7 +6,7 @@ <?= $this->form->csrf() ?> <?= $this->form->label(t('Name'), 'name') ?> - <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="255"', 'tabindex="1"')) ?> + <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="191"', 'tabindex="1"')) ?> <?= $this->form->label(t('Description'), 'description') ?> <?= $this->form->textEditor('description', $values, $errors, array('tabindex' => 2)) ?> diff --git a/app/Template/tag/create.php b/app/Template/tag/create.php index 752a63e5..c376eb28 100644 --- a/app/Template/tag/create.php +++ b/app/Template/tag/create.php @@ -6,7 +6,7 @@ <?= $this->form->hidden('project_id', $values) ?> <?= $this->form->label(t('Name'), 'name') ?> - <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="255"')) ?> + <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="191"')) ?> <?= $this->modal->submitButtons() ?> </form> diff --git a/app/Template/tag/edit.php b/app/Template/tag/edit.php index adef3568..a0e54843 100644 --- a/app/Template/tag/edit.php +++ b/app/Template/tag/edit.php @@ -7,7 +7,7 @@ <?= $this->form->hidden('project_id', $values) ?> <?= $this->form->label(t('Name'), 'name') ?> - <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="255"')) ?> + <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="191"')) ?> <?= $this->modal->submitButtons() ?> </form> diff --git a/app/Template/user_creation/show.php b/app/Template/user_creation/show.php index 90301dbd..d1bde192 100644 --- a/app/Template/user_creation/show.php +++ b/app/Template/user_creation/show.php @@ -10,7 +10,7 @@ <legend><?= t('Profile') ?></legend> <?= $this->form->label(t('Username'), 'username') ?> - <?= $this->form->text('username', $values, $errors, array('autofocus', 'required', 'maxlength="255"')) ?> + <?= $this->form->text('username', $values, $errors, array('autofocus', 'required', 'maxlength="191"')) ?> <?= $this->form->label(t('Name'), 'name') ?> <?= $this->form->text('name', $values, $errors) ?> diff --git a/app/Template/user_invite/signup.php b/app/Template/user_invite/signup.php index c5c50217..88dee216 100644 --- a/app/Template/user_invite/signup.php +++ b/app/Template/user_invite/signup.php @@ -9,7 +9,7 @@ <legend><?= t('Profile') ?></legend> <?= $this->form->label(t('Username'), 'username') ?> - <?= $this->form->text('username', $values, $errors, array('autofocus', 'required', 'maxlength="255"')) ?> + <?= $this->form->text('username', $values, $errors, array('autofocus', 'required', 'maxlength="191"')) ?> <?= $this->form->label(t('Name'), 'name') ?> <?= $this->form->text('name', $values, $errors) ?> diff --git a/app/Template/user_modification/show.php b/app/Template/user_modification/show.php index 2bca6675..a21b9d33 100644 --- a/app/Template/user_modification/show.php +++ b/app/Template/user_modification/show.php @@ -8,7 +8,7 @@ <fieldset> <legend><?= t('Profile') ?></legend> <?= $this->form->label(t('Username'), 'username') ?> - <?= $this->form->text('username', $values, $errors, array('autofocus', 'required', isset($values['is_ldap_user']) && $values['is_ldap_user'] == 1 && !$this->user->isAdmin() ? 'readonly' : '', 'maxlength="255"')) ?> + <?= $this->form->text('username', $values, $errors, array('autofocus', 'required', isset($values['is_ldap_user']) && $values['is_ldap_user'] == 1 && !$this->user->isAdmin() ? 'readonly' : '', 'maxlength="191"')) ?> <?= $this->form->label(t('Name'), 'name') ?> <?= $this->form->text('name', $values, $errors, array($this->user->hasAccess('UserModificationController', 'show/edit_name') ? '' : 'readonly')) ?> |