Skip to content

Commit 1e2c07b

Browse files
committed
fix(field): width of textareas in fields settings
Signed-off-by: Thierry Bugier <[email protected]>
1 parent 5265cf7 commit 1e2c07b

File tree

3 files changed

+41
-3
lines changed

3 files changed

+41
-3
lines changed
File renamed without changes.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?php
2+
/**
3+
* ---------------------------------------------------------------------
4+
* Formcreator is a plugin which allows creation of custom forms of
5+
* easy access.
6+
* ---------------------------------------------------------------------
7+
* LICENSE
8+
*
9+
* This file is part of Formcreator.
10+
*
11+
* Formcreator is free software; you can redistribute it and/or modify
12+
* it under the terms of the GNU General Public License as published by
13+
* the Free Software Foundation; either version 2 of the License, or
14+
* (at your option) any later version.
15+
*
16+
* Formcreator is distributed in the hope that it will be useful,
17+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+
* GNU General Public License for more details.
20+
*
21+
* You should have received a copy of the GNU General Public License
22+
* along with Formcreator. If not, see <http://www.gnu.org/licenses/>.
23+
* ---------------------------------------------------------------------
24+
* @copyright Copyright © 2011 - 2019 Teclib'
25+
* @license http://www.gnu.org/licenses/gpl.txt GPLv3+
26+
* @link https://github.com/pluginsGLPI/formcreator/
27+
* @link https://pluginsglpi.github.io/formcreator/
28+
* @link http://plugins.glpi-project.org/#/plugin/formcreator
29+
* ---------------------------------------------------------------------
30+
*/
31+
32+
interface PluginFormcreatorDuplicatableInterface
33+
{
34+
/**
35+
* Duplicate the item
36+
*/
37+
public function duplicate();
38+
}

inc/fields/ldapselectfield.class.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ public function getDesignSpecializationField() {
7777

7878
$additions .= '<td>';
7979
$additions .= Dropdown::show('RuleRightParameter', [
80-
'name' => 'ldap_attribute',
81-
'rand' => $rand,
82-
'value' => (isset($ldap_values['ldap_attribute'])) ? $ldap_values['ldap_attribute'] : '',
80+
'name' => 'ldap_attribute',
81+
'rand' => $rand,
82+
'value' => (isset($ldap_values['ldap_attribute'])) ? $ldap_values['ldap_attribute'] : '',
8383
'display' => false,
8484
]);
8585
$additions .= '</td>';

0 commit comments

Comments
 (0)