Skip to content

Commit

Permalink
fix(field): width of textareas in fields settings
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Dec 13, 2019
1 parent 5265cf7 commit 1e2c07b
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 3 deletions.
File renamed without changes.
38 changes: 38 additions & 0 deletions inc/conditionnableinterface.class.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?php
/**
* ---------------------------------------------------------------------
* Formcreator is a plugin which allows creation of custom forms of
* easy access.
* ---------------------------------------------------------------------
* LICENSE
*
* This file is part of Formcreator.
*
* Formcreator is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Formcreator is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Formcreator. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
* @copyright Copyright © 2011 - 2019 Teclib'
* @license http://www.gnu.org/licenses/gpl.txt GPLv3+
* @link https://github.com/pluginsGLPI/formcreator/
* @link https://pluginsglpi.github.io/formcreator/
* @link http://plugins.glpi-project.org/#/plugin/formcreator
* ---------------------------------------------------------------------
*/

interface PluginFormcreatorDuplicatableInterface
{
/**
* Duplicate the item
*/
public function duplicate();
}
6 changes: 3 additions & 3 deletions inc/fields/ldapselectfield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ public function getDesignSpecializationField() {

$additions .= '<td>';
$additions .= Dropdown::show('RuleRightParameter', [
'name' => 'ldap_attribute',
'rand' => $rand,
'value' => (isset($ldap_values['ldap_attribute'])) ? $ldap_values['ldap_attribute'] : '',
'name' => 'ldap_attribute',
'rand' => $rand,
'value' => (isset($ldap_values['ldap_attribute'])) ? $ldap_values['ldap_attribute'] : '',
'display' => false,
]);
$additions .= '</td>';
Expand Down

0 comments on commit 1e2c07b

Please sign in to comment.