cosmetic : add separator + translation

This commit is contained in:
Dany De Bontridder 2014-11-05 20:53:23 +01:00
parent f0faef0d69
commit ba727f0860
5 changed files with 20 additions and 18 deletions

View file

@ -88,7 +88,7 @@ $search_card_js=sprintf('onclick="boxsearch_card(\'%d\')"',dossier::id());
<div id="box_search_card">
<?php echo _('Recherche de fiche')?> <?php echo HtmlInput::infobulle(18)?> :<?php echo $search_card->input()?>
<?php echo HtmlInput::button_anchor("Chercher","javascript:void(0)","",$search_card_js)?>
<?php echo HtmlInput::button_anchor(_("Chercher"),"javascript:void(0)","",$search_card_js,'smallbutton')?>
</div>
<?php
echo '</div>';

View file

@ -20,7 +20,8 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/**\file
/**
* \file
*
*
* \brief

View file

@ -92,6 +92,6 @@ echo _('<span class="notice"> Attention : si le bilan n\'est pas équilibré.<br
<li> les comptes passifs ont un solde créditeur (sauf les comptes dit inversés) </li>
</ul>
Utilisez la balance des comptes pour vérifier. </span>');
echo '<hr>';
echo '</div>';
?>

View file

@ -81,9 +81,9 @@ echo '<div class="content">';
* Let you change the exercice
*/
echo '<form method="GET">';
echo '<fieldset><legend>' . _('Choississez un autre exercice') . '</legend>';
echo '<fieldset><legend>' . _('Exercice') . '</legend>';
;
echo 'Choississez un autre exercice :';
echo _('Choississez un autre exercice').' :';
$ex = new Exercice($cn);
$wex = $ex->select('exercice', $exercice, ' onchange="submit(this)"');
echo $wex->input();
@ -135,7 +135,7 @@ echo '</TABLE>';
print HtmlInput::submit('bt_html', 'Visualisation');
echo '</FORM>';
echo '<hr>';
//-----------------------------------------------------

View file

@ -179,7 +179,7 @@ $exercice=(isset($_GET['exercice']))?$_GET['exercice']:$g_user->get_exercice();
/*
* Let you change the exercice
*/
echo '<fieldset><legend>'._('Choississez un autre exercice').'</legend>';;
echo '<fieldset><legend>'._('Exercice').'</legend>';;
echo '<form method="GET">';
echo 'Choississez un autre exercice :';
$ex=new Exercice($cn);
@ -200,13 +200,13 @@ echo dossier::hidden();
echo '<TABLE><TR>';
$w=new ISelect();
$w->table=1;
print td("Choississez le rapport");
print td(_("Choississez le rapport"));
print $w->input("form_id",$ret);
print '</TR>';
//-- calendrier ou periode comptable
$aCal=array(
array('value'=>0,'label'=>'P&eacute;riode comptable'),
array('value'=>1,'label'=>'Calendrier')
array('value'=>0,'label'=>_('P&eacute;riode comptable')),
array('value'=>1,'label'=>_('Calendrier'))
);
$w->javascript=' onchange=enable_type_periode();';
@ -237,31 +237,32 @@ $date_from->id='from_date';
$date_to=new IDate('to_date');
$date_to->id='to_date';
echo td("Calendrier depuis :");
echo td(_("Calendrier depuis :"));
echo td($date_from->input('from_date'));
echo td("jusque");
echo td(_("jusque"));
echo td($date_to->input('to_date'));
echo '</tr>';
$aStep=array(
array('value'=>0,'label'=>'Pas d\'étape'),
array('value'=>1,'label'=>'1 mois')
array('value'=>0,'label'=>_('Pas d\'étape')),
array('value'=>1,'label'=>_('1 mois'))
);
echo '<tr>';
echo td('Par étape de');
echo td(_('Par étape de'));
$w->id='p_step';
echo $w->input('p_step',$aStep);
echo '</TR>';
echo '</TABLE>';
echo '<span class="notice"> Attention : vous ne pouvez pas utiliser les &eacute;tapes avec les dates calendriers.</span>';
echo '<span class="notice"> '._('Attention : vous ne pouvez pas utiliser les &eacute;tapes avec les dates calendriers.').'</span>';
echo '<br>';
echo '<span class="notice"> Les clauses FROM sont ignorés avec les dates calendriers</span>';
echo '<span class="notice">'._('Les clauses FROM sont ignorés avec les dates calendriers').'</span>';
echo '<br>';
print HtmlInput::submit('bt_html','Visualisation');
print HtmlInput::submit('bt_html',_('Visualisation'));
echo '</FORM>';
echo '<script>enable_type_periode()</script>';
echo '<hr>';
echo '</div>';
//-----------------------------------------------------
// Function