diff --git a/html/css/style-classic7.css b/html/css/style-classic7.css index 9e1bdcfea..d1b7e9d35 100644 --- a/html/css/style-classic7.css +++ b/html/css/style-classic7.css @@ -3018,9 +3018,9 @@ margin:1px; * If a input is incorrect */ .input-error { - border:1px dotted red !important; + border:1px solid red !important; color:darkred !important; - + background-color: rgba(255, 182, 193, 0.65); } /************************************************************************************* diff --git a/include/class/acc_plan_mtable.class.php b/include/class/acc_plan_mtable.class.php index f8dd447b0..97ea1a2e0 100644 --- a/include/class/acc_plan_mtable.class.php +++ b/include/class/acc_plan_mtable.class.php @@ -70,7 +70,7 @@ class Acc_Plan_MTable extends Manage_Table_SQL } /** - * Display a row + * @brief Display a row * @param type $p_row array of value key column=>value */ function display_row($p_row) @@ -100,7 +100,8 @@ class Acc_Plan_MTable extends Manage_Table_SQL ''; } elseif ($v == "fiche_qcode") { - $count=$this->table->cn->get_value("select count(*) from fiche_detail where ad_id=5 and ad_value=$1",array($p_row['pcm_val'])); + $count=$this->table->cn->get_value("select count(*) from fiche_detail where ad_id=5 and ad_value=$1" + ,array($p_row['pcm_val'])); if ($count == 0) echo td(""); elseif ($count == 1 ) { echo ''; @@ -112,12 +113,14 @@ class Acc_Plan_MTable extends Manage_Table_SQL echo ''; $a_code=explode(",",$p_row[$v]); $nb_code=count($a_code); + echo \Noalyss\Dbg::hidden_info("card",$p_row); for ($xx = 0;$xx < $nb_code;$xx++) { - echo HtmlInput::card_detail($a_code[$xx])."," ; + echo HtmlInput::card_detail($a_code[$xx],'','style="display:inline"')."," ; } echo " ($count) "; - echo Icon_Action::more(uniqid(), sprintf("display_all_card('%s','%s')",$dossier_id,$p_row["pcm_val"])); + echo Icon_Action::more(uniqid(), sprintf("display_all_card('%s','%s')", + $dossier_id,$p_row["pcm_val"])); echo ''; } @@ -153,7 +156,7 @@ class Acc_Plan_MTable extends Manage_Table_SQL } /** - * Check that the entered data are valid before recording them into + * @brief Check that the entered data are valid before recording them into * tmp_pcmn, the errors are stored into this->a_error and if someting wrong * is found it returns false, if the data can be saved it returns true * @return return false if an error is found, diff --git a/include/class/extension.class.php b/include/class/extension.class.php index 343eb951b..368710f07 100644 --- a/include/class/extension.class.php +++ b/include/class/extension.class.php @@ -382,4 +382,10 @@ class Extension extends Menu_Ref_sql return $a_extension; } + public function __toString(): string + { + return "Extension"; + } + + }