Skip to content
Snippets Groups Projects
Commit 62a1bfb2 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

New: Add id on html object

parent 8dccb017
No related branches found
No related tags found
No related merge requests found
...@@ -343,6 +343,8 @@ class Conf ...@@ -343,6 +343,8 @@ class Conf
// Defini MAIN_GRAPH_LIBRARY // Defini MAIN_GRAPH_LIBRARY
if (empty($this->global->MAIN_GRAPH_LIBRARY)) $this->global->MAIN_GRAPH_LIBRARY = 'artichow'; if (empty($this->global->MAIN_GRAPH_LIBRARY)) $this->global->MAIN_GRAPH_LIBRARY = 'artichow';
if (! isset($this->global->MAIN_MAIL_EMAIL_INLINE_IMAGES)) $this->global->MAIN_MAIL_EMAIL_INLINE_IMAGES=1;
// Format for date (used by default when not found or searched in lang) // Format for date (used by default when not found or searched in lang)
$this->format_date_short="%d/%m/%Y"; # Format of day with PHP/C tags (strftime functions) $this->format_date_short="%d/%m/%Y"; # Format of day with PHP/C tags (strftime functions)
$this->format_date_short_java="dd/MM/yyyy"; # Format of day with Java tags $this->format_date_short_java="dd/MM/yyyy"; # Format of day with Java tags
......
...@@ -2953,7 +2953,7 @@ class Form ...@@ -2953,7 +2953,7 @@ class Form
$no="0"; $no="0";
} }
$resultyesno = '<select class="flat" name="'.$htmlname.'">'."\n"; $resultyesno = '<select class="flat" id="'.$htmlname.'" name="'.$htmlname.'">'."\n";
if (("$value" == 'yes') || ($value == 1)) if (("$value" == 'yes') || ($value == 1))
{ {
$resultyesno .= '<option value="'.$yes.'" selected="selected">'.$langs->trans("Yes").'</option>'."\n"; $resultyesno .= '<option value="'.$yes.'" selected="selected">'.$langs->trans("Yes").'</option>'."\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment