diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php index 95917a79ab5afcaecf2d0b9847d23f160a67a61b..554227f4bc1c1cb8f5e3d72e240d825e857dcc3b 100644 --- a/htdocs/admin/ihm.php +++ b/htdocs/admin/ihm.php @@ -215,6 +215,12 @@ if ($action == 'edit') // Edit print '<td width="20"> </td>'; print '</tr>'; + // show input border + print '<tr><td width="35%">'.$langs->trans("showInputBorder").'</td><td>'; + print $form->selectyesno('main_showInputBorder',isset($conf->global->THEME_ELDY_SHOW_BORDER_INPUT)?$conf->global->THEME_ELDY_SHOW_BORDER_INPUT:0,1); + print '</td>'; + print '<td width="20"> </td>'; + print '</tr>'; // Disable javascript and ajax print '<tr><td width="35%">'.$langs->trans("DisableJavascript").'</td><td>'; 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 '<td width="20"> </td>'; print "</tr>"; + print '<tr><td width="35%">'.$langs->trans("showInputBorder").'</td><td>'; + print yn($conf->global->THEME_ELDY_SHOW_BORDER_INPUT)."</td>"; + print '<td width="20"> </td>'; + print "</tr>"; + // Disable javascript/ajax - print '<tr><td width="35%">'.$langs->trans("DisableJavascript").'</td><td>'; print yn($conf->global->MAIN_DISABLE_JAVASCRIPT)."</td>"; - print '<td width="20"> </td>'; - print "</tr>"; + print '<td width="20"> </td>'; + print "</tr>"; // Activate preview tab on element card if (class_exists("Imagick")) diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 24300718a3bfcfa3202bfd327347ed950af02d93..e16f6136233cc2f9d1e2ba03f53d4652fffd260e 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: <?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; - border: none; +<?php if(empty($conf->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;