diff --git a/html/ajax_misc.php b/html/ajax_misc.php index 322c36ee7..6ec79743f 100644 --- a/html/ajax_misc.php +++ b/html/ajax_misc.php @@ -289,12 +289,12 @@ EOF; $row = $arow[0]; $r = ''; $r.='
' . _('Lettrage') . ''; - $r.='Poste ' . $row['j_poste'] . ' ' . $row['j_qcode'] . '
'; + $r.=_('Poste')." " . $row['j_poste'] . ' ' . $row['j_qcode'] . '
'; $detail = " " . $row['jr_internal'] . ""; - $r.='Date : ' . $row['j_date_fmt'] . ' ref :' . $detail . '
'; - $r.=h($row['jr_comment']) . " montant: " . ($row['j_montant']) . " " . (($row['j_debit'] == 't') ? 'D' : 'C'); + $r.=_('Date').' : ' . $row['j_date_fmt'] . ' ref :' . $detail . '
'; + $r.=h($row['jr_comment']) ." "._("montant"). " : " . ($row['j_montant']) . " " . (($row['j_debit'] == 't') ? 'D' : 'C'); $r.='
'; $r.='
'; $r.='
'; @@ -355,10 +355,10 @@ EOF; $search_end=$last_per->last_day(); } $end->value = (isset($search_end)) ? $search_end : $last_per->last_day(); - $line.=td('Date Fin') . td($end->input()); + $line.=td(_('Date Fin')) . td($end->input()); $r.=tr($line); // Side - $line = td('Debit / Credit'); + $line = td(_('Debit / Credit')); $iside = new ISelect('side'); $iside->value = array( array('label' => _('Debit'), 'value' => 0), diff --git a/include/ajax_mod_predf_op.php b/include/ajax_mod_predf_op.php index a541f2e23..d5f5c9f01 100644 --- a/include/ajax_mod_predf_op.php +++ b/include/ajax_mod_predf_op.php @@ -29,7 +29,7 @@ require_once 'class_pre_operation.php'; $op=new Pre_Operation($cn,$_GET['id']); $array=$op->load(); echo HtmlInput::anchor_close('mod_predf_op'); -echo h2info('Modification du nom'); +echo h2(_('Modification du nom'),' class="title"'); echo ' '; @@ -52,8 +52,8 @@ echo "
"; echo $op->display(); -echo HtmlInput::submit('save', 'Sauve'); -echo HtmlInput::button('close', 'Annuler', 'onclick="removeDiv(\'mod_predf_op\')"'); +echo HtmlInput::submit('save', _('Sauve')); +echo HtmlInput::button('close', _('Annuler'), 'onclick="removeDiv(\'mod_predf_op\')"'); echo '
'; diff --git a/include/ajax_view_action.php b/include/ajax_view_action.php index 6c472c158..0c40e5628 100644 --- a/include/ajax_view_action.php +++ b/include/ajax_view_action.php @@ -50,7 +50,7 @@ else { echo h2(_("Ce document n'est pas accessible"),"error"); ?> -
+

Accès interdit : vous n'avez pas accès à cette information, contactez votre responsable

;
'; -echo $f->get_gestion_title(); $exercice=new Exercice($cn); $old=''; $fiche=new Fiche($cn,$_GET['f_id']); diff --git a/include/category_card.inc.php b/include/category_card.inc.php index 252b9153e..ec24e9601 100644 --- a/include/category_card.inc.php +++ b/include/category_card.inc.php @@ -60,6 +60,7 @@ default: $f=new Fiche($cn,$_REQUEST['f_id']); echo '
'; +echo $f->get_gestion_title(); echo ShowItem(array( array($root."&sc=dc",_('Fiche'),_('Détail de la fiche'),1), array($root.'&sc=sv',_('Suivi'),_('Suivi Fournisseur, client, banque, devis, bon de commande, courrier'),2), @@ -112,7 +113,6 @@ if ( $ss_action == 'cn') echo dossier::hidden(); $f = new Fiche($cn, $_REQUEST['f_id']); - echo $f->get_gestion_title(); $contact=new Contact($cn); $contact->company=$f->get_quick_code(); echo $contact->summary(""); diff --git a/include/category_followup.inc.php b/include/category_followup.inc.php index b3f17bc2e..069c52be3 100644 --- a/include/category_followup.inc.php +++ b/include/category_followup.inc.php @@ -47,6 +47,5 @@ $_GET['qcode']=$fiche->get_quick_code(); $_REQUEST['qcode'] = $fiche->get_quick_code(); echo '
'; -echo $fiche->get_gestion_title(); require_once('action.common.inc.php'); echo '
'; diff --git a/include/category_operation.inc.php b/include/category_operation.inc.php index 607cffb1c..7f492c3a7 100644 --- a/include/category_operation.inc.php +++ b/include/category_operation.inc.php @@ -36,7 +36,6 @@ $_GET['qcode']=$qcode; $_REQUEST['qcode']=$qcode; $var_array=compute_variable('ledger_type=ALL'); put_global($var_array); -echo $f->get_gestion_title(); require_once ('history_operation.inc.php'); diff --git a/include/class_acc_ledger.php b/include/class_acc_ledger.php index bf1ed4e0b..cbc781dea 100644 --- a/include/class_acc_ledger.php +++ b/include/class_acc_ledger.php @@ -2836,7 +2836,7 @@ class Acc_Ledger extends jrn_def_sql $type = 'ALL'; $r.='