From aa5ff36a046d4f5cf049560e15d1d8d41c8879d1 Mon Sep 17 00:00:00 2001 From: BENKE Charlie Date: Sat, 25 Mar 2017 19:04:27 +0100 Subject: [PATCH 1/2] display input border by setting --- htdocs/theme/eldy/style.css.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 24300718a3b..e16f6136233 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -275,7 +275,10 @@ input, input.flat, textarea, textarea.flat, form.flat select, select, select.fla font-size: px; font-family: ; - border: none; +global->THEME_ELDY_SHOW_BORDER_INPUT)) + print "border: none;" +?> + border-bottom: solid 1px rgba(0,0,0,.2); outline: none; margin: 0px 0px 0px 0px; From acfdc9612164bd70ed393cf6d975dfcd99db643d Mon Sep 17 00:00:00 2001 From: BENKE Charlie Date: Sat, 25 Mar 2017 19:34:04 +0100 Subject: [PATCH 2/2] Border input display is allowed by setting --- htdocs/admin/ihm.php | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php index 95917a79ab5..554227f4bc1 100644 --- a/htdocs/admin/ihm.php +++ b/htdocs/admin/ihm.php @@ -215,6 +215,12 @@ if ($action == 'edit') // Edit print ' '; print ''; + // show input border + print ''.$langs->trans("showInputBorder").''; + print $form->selectyesno('main_showInputBorder',isset($conf->global->THEME_ELDY_SHOW_BORDER_INPUT)?$conf->global->THEME_ELDY_SHOW_BORDER_INPUT:0,1); + print ''; + print ' '; + print ''; // Disable javascript and ajax print ''.$langs->trans("DisableJavascript").''; print $form->selectyesno('main_disable_javascript',isset($conf->global->MAIN_DISABLE_JAVASCRIPT)?$conf->global->MAIN_DISABLE_JAVASCRIPT:0,1); @@ -390,12 +396,16 @@ else // Show print ' '; print ""; + print ''.$langs->trans("showInputBorder").''; + print yn($conf->global->THEME_ELDY_SHOW_BORDER_INPUT).""; + print ' '; + print ""; + // Disable javascript/ajax - print ''.$langs->trans("DisableJavascript").''; print yn($conf->global->MAIN_DISABLE_JAVASCRIPT).""; - print ' '; - print ""; + print ' '; + print ""; // Activate preview tab on element card if (class_exists("Imagick"))