phpcompta-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpcompta-dev] r5272 - in phpcompta/trunk: html html/admin include incl


From: phpcompta-dev
Subject: [Phpcompta-dev] r5272 - in phpcompta/trunk: html html/admin include include/template
Date: Thu, 16 May 2013 23:34:18 +0200 (CEST)

Author: danydb
Date: 2013-05-16 23:34:17 +0200 (Thu, 16 May 2013)
New Revision: 5272

Added:
   phpcompta/trunk/html/admin/setup.js
   phpcompta/trunk/html/admin/template_config_form.php
Modified:
   phpcompta/trunk/html/admin/setup.php
   phpcompta/trunk/html/direct.php
   phpcompta/trunk/html/popup.php
   phpcompta/trunk/include/adm.inc.php
   phpcompta/trunk/include/ajax_add_menu.php
   phpcompta/trunk/include/ajax_auto_anc_card.php
   phpcompta/trunk/include/ajax_boxcard_search.php
   phpcompta/trunk/include/ajax_get_menu_detail.php
   phpcompta/trunk/include/ajax_get_profile.php
   phpcompta/trunk/include/ajax_mod_stock_repo.php
   phpcompta/trunk/include/ajax_plugin_detail.php
   phpcompta/trunk/include/ajax_view_action.php
   phpcompta/trunk/include/ajax_view_mod_stock.php
   phpcompta/trunk/include/audit_log.php
   phpcompta/trunk/include/bank.inc.php
   phpcompta/trunk/include/class_profile_menu.php
   phpcompta/trunk/include/client.inc.php
   phpcompta/trunk/include/config_file.php
   phpcompta/trunk/include/contact.inc.php
   phpcompta/trunk/include/doc_state.inc.php
   phpcompta/trunk/include/export_stock_resume_list.php
   phpcompta/trunk/include/fiche.inc.php
   phpcompta/trunk/include/menu.inc.php
   phpcompta/trunk/include/pref.inc.php
   phpcompta/trunk/include/stock_cfg.inc.php
   phpcompta/trunk/include/stock_inv_histo.inc.php
   phpcompta/trunk/include/supplier.inc.php
   phpcompta/trunk/include/template/account_result.php
   phpcompta/trunk/include/template/account_search.php
   phpcompta/trunk/include/template/action_button.php
   phpcompta/trunk/include/template/action_search.php
   phpcompta/trunk/include/template/action_search_result.php
   phpcompta/trunk/include/template/calendar.php
   phpcompta/trunk/include/template/card_result.php
   phpcompta/trunk/include/template/category_of_card.php
   phpcompta/trunk/include/template/dashboard.php
   phpcompta/trunk/include/template/detail-action.php
   phpcompta/trunk/include/template/document_mod_change.php
   phpcompta/trunk/include/template/fiche_def_input.php
   phpcompta/trunk/include/template/fiche_def_list.php
   phpcompta/trunk/include/template/fiche_list.php
   phpcompta/trunk/include/template/forecast-detail.php
   phpcompta/trunk/include/template/forecast_cat.php
   phpcompta/trunk/include/template/forecast_result.php
   phpcompta/trunk/include/template/form_ledger_detail.php
   phpcompta/trunk/include/template/form_ledger_fin.php
   phpcompta/trunk/include/template/impress_cat_card.php
   phpcompta/trunk/include/template/impress_reconciliation.php
   phpcompta/trunk/include/template/ledger_detail_ach.php
   phpcompta/trunk/include/template/ledger_detail_bottom.php
   phpcompta/trunk/include/template/ledger_detail_file.php
   phpcompta/trunk/include/template/ledger_detail_fin.php
   phpcompta/trunk/include/template/ledger_detail_misc.php
   phpcompta/trunk/include/template/ledger_detail_top.php
   phpcompta/trunk/include/template/ledger_detail_ven.php
   phpcompta/trunk/include/template/ledger_search.php
   phpcompta/trunk/include/template/letter_all.php
   phpcompta/trunk/include/template/letter_prop.php
   phpcompta/trunk/include/template/list_category_document.php
   phpcompta/trunk/include/template/list_mod_payment.php
   phpcompta/trunk/include/template/menu.php
   phpcompta/trunk/include/template/menu_detail.php
   phpcompta/trunk/include/template/modele_document.php
   phpcompta/trunk/include/template/module.php
   phpcompta/trunk/include/template/new_mod_payment.php
   phpcompta/trunk/include/template/operation_detail_ach.php
   phpcompta/trunk/include/template/operation_detail_misc.php
   phpcompta/trunk/include/template/operation_detail_ven.php
   phpcompta/trunk/include/template/param_jrn.php
   phpcompta/trunk/include/template/periode_add_exercice.php
   phpcompta/trunk/include/template/profile.php
   phpcompta/trunk/include/template/profile_sec_repository.php
   phpcompta/trunk/include/template/result_cat_card_summary.php
   phpcompta/trunk/include/template/search_top.php
   phpcompta/trunk/include/template/stock_histo.php
   phpcompta/trunk/include/template/stock_histo_search.php
   phpcompta/trunk/include/template/stock_inv.php
   phpcompta/trunk/include/template/stock_state_search.php
   phpcompta/trunk/include/template/stock_summary_list.php
   phpcompta/trunk/include/template/stock_summary_table.php
   phpcompta/trunk/include/template/user_sec_profile.php
   phpcompta/trunk/include/user_detail.inc.php
Log:
Task #0000839: R?\195?\169?\195?\169criture de la proc?\195?\169dure 
d'installation

Setup.php en partie r?\195?\169?\195?\169crit
Tous les tags <? ont ?\195?\169t?\195?\169 chang?\195?\169s en <?php pour les 
servers mutualis?\195?\169s

Added: phpcompta/trunk/html/admin/setup.js
===================================================================
--- phpcompta/trunk/html/admin/setup.js                         (rev 0)
+++ phpcompta/trunk/html/admin/setup.js 2013-05-16 21:34:17 UTC (rev 5272)
@@ -0,0 +1,11 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+content[200]="Indiquez ici le récuterpertoire où les documents temporaires 
peuvent être sauvés exemple c:/temp, /tmp"
+content[201]="Désactiver le changement de langue (requis pour MacOSX)";
+content[202]="Le chemin vers le repertoire contenant psql, pg_dump...";
+content[203]="Utilisateur de la base de donnée postgresql";
+content[204]="Mot de passe de l'utilisateur ";
+content[205]="Port de postgresql";
\ No newline at end of file

Modified: phpcompta/trunk/html/admin/setup.php
===================================================================
--- phpcompta/trunk/html/admin/setup.php        2013-05-16 18:00:08 UTC (rev 
5271)
+++ phpcompta/trunk/html/admin/setup.php        2013-05-16 21:34:17 UTC (rev 
5272)
@@ -3,78 +3,11 @@
     <META http-equiv="Content-Type" content="text/html; charset=UTF8">
     </title>
 <head>
-<style type="text/css">
-<!--
-body {
-       font-family:Verdana,arial,sans-serif;
-       font-size:12px;
-       color:blue;
-        background-color:#EDF3FF;
- }
-p.info {
-       color:blue;
-       font-family:Verdana,arial,sans-serif;
-        padding: 30px;
-        border : 1px solid green;
-        width:70%;
-        margin-left: 15%;
-        margin-right: 15%;
-
-}
-h2.error {
-       color:red;
-       font-size:12px;
-       font-family:Verdana,arial,sans-serif;
-}
-h1 {
-       color:blue;
-       font-size:16px;
-       font-family:Verdana,arial,sans-serif;
-        border : 1px solid blue;
-        text-align: center;
-        padding-top: 10px;
-        padding-bottom: 10px;
-}
-h2 {
-       color:blue;
-       font-size:14px;
-       font-family:Verdana,arial,sans-serif;
-        font-style: italic;
-}
-h3 {
-       color:blue;
-       font-size:12px;
-       font-family:Verdana,arial,sans-serif;
-        font-style: normal;
-        text-decoration: underline;
-}
-p.warning  {
-       font-family:Verdana,arial,sans-serif;
-       font-size:12px;
-       color:red;
-        border: 1px solid red;
-        padding:30px;
- }
-.info {
-       color:blue;
-       font-size:12px;
-       font-family:Verdana,arial,sans-serif;
-}
-a:hover{
-color:blue;
-       background-color:blue;
-       color:lightgrey;
-       }
-a {
-color:blue;
-padding:5px;
-  font-size:15px;
-border:groove 2px blue;
-  text-decoration:none;
-  background-color:lightgrey;
-}
-</style>
--->
+<LINK REL="stylesheet" type="text/css" href="../style.css" media="screen">
+<link rel="icon" type="image/ico" href="../favicon.ico" />
+ <META http-equiv="Content-Type" content="text/html; charset=UTF8">
+ <script type="text/javascript" charset="utf8" language="javascript" 
src="../js/prototype.js"></script>
+ <script type="text/javascript" charset="utf8" language="javascript" 
src="../js/infobulle.js"></script>
 </head>
 <body>
 <p align="center">
@@ -107,6 +40,12 @@
  *        This file is included in each release  for a new upgrade
  *
  */
+?>
+<DIV id="bulle" class="infobulle"></DIV>
+        <script type="text/javascript" language="javascript"  
src="../js/infobulle.js"> </script>
+                <script type="text/javascript" charset="utf8" 
language="javascript" src="setup.js"></script>
+
+<?php
 $failed="<span style=\"font-size:18px;color:red\">&#x2716;</span>";
 $succeed="<span style=\"font-size:18px;color:green\">&#x2713;</span>";
 $inc_path=get_include_path();
@@ -173,23 +112,24 @@
 echo '
 <form method="post" >
     Les informations sont sauv&eacute;es vous pouvez continuer
-<input type="submit" value="Continuer">
+<input type="submit" class="button" value="Continuer">
 </form>';
  exit();
  }
 if ( is_writable 
('..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'include'.DIRECTORY_SEPARATOR.'constant.php')
 == false ) {
-    echo '<h2 class="error"> Ecriture non possible </h2><p class="warning"> On 
ne peut pas &eacute;crire dans le r&eacute;pertoire de phpcompta, changez-en 
les droits </p>';
+    echo '<h2 class="notice"> Ecriture non possible </h2><p class="warning"> 
On ne peut pas &eacute;crire dans le r&eacute;pertoire de phpcompta, changez-en 
les droits </p>';
     exit();
   }
 create_htaccess();
 
 if ( ! 
file_exists('..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'include'.DIRECTORY_SEPARATOR.'config.inc.php'))
 {
-  echo '<form method="post">';
   echo '<h1 class="info">Entrez les informations n&eacute;cessaires &agrave; 
phpcompta</h1>';
+  echo '<form method="post">';
   require_once('config_file.php');
-
   echo config_file_form();
+  echo '<div style="position:float;float:left;"></div>';
   echo HtmlInput::submit('save_config','Sauver la configuration');
+  echo "</div>";
   echo '</form>';
   exit();
 }
@@ -337,7 +277,7 @@
      )
   {
 ?>
-  <p><?=$failed?> Vous devez absolument utiliser au minimum une version 8.4 de 
PostGresql, si votre distribution n'en
+  <p><?php echo $failed?> Vous devez absolument utiliser au minimum une 
version 8.4 de PostGresql, si votre distribution n'en
 offre pas, installez en une en la compilant. </p><p>Lisez attentivement la 
notice sur postgresql.org pour migrer
 vos bases de donn&eacute;es
 </p>
@@ -352,7 +292,7 @@
 $sql="select lanname from pg_language where lanname='plpgsql'";
 $Res=$cn->count_sql($sql);
 if ( $Res==0) { ?>
-<p><?=$failed?> Vous devez installer le langage plpgsql pour permettre aux 
fonctions SQL de fonctionner.</p>
+<p><?php echo $failed?> Vous devez installer le langage plpgsql pour permettre 
aux fonctions SQL de fonctionner.</p>
 <p>Pour cela, sur la ligne de commande en tant qu\'utilisateur postgres, 
faites createlang plpgsql template1
 </p>
 
@@ -518,5 +458,5 @@
  if (! DEBUG) ob_end_clean();
  echo "<p class=\"info\">Tout est install&eacute; $succeed";
 ?>
-<A style="display:block;text-align: center" HREF="../index.php">Connectez-vous 
à PhpCompta</A>
 </p>
+<A style="" class="button" HREF="../index.php">Connectez-vous à PhpCompta</A>

Added: phpcompta/trunk/html/admin/template_config_form.php
===================================================================
--- phpcompta/trunk/html/admin/template_config_form.php                         
(rev 0)
+++ phpcompta/trunk/html/admin/template_config_form.php 2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -0,0 +1,69 @@
+<?php
+
+/*
+ *   This file is part of PhpCompta.
+ *
+ *   PhpCompta is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published by
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   PhpCompta is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with PhpCompta; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+/* $Revision$ */
+
+// Copyright Author Dany De Bontridder address@hidden
+
+/**
+ * @file
+ * @brief
+ *
+ */
+?>
+<div style="margin-left: 30">
+<table>
+       <tr>
+               <TD> Répertoire temporaire </TD>
+               <TD> <?php echo $ictmp->input(); echo 
HtmlInput::infobulle(200);?></TD>
+
+       </tr>
+       <TR>
+
+               <TD>Changement de langue</TD>
+               <TD> <?php echo $iclocale->input();echo 
HtmlInput::infobulle(201)?></TD>
+       </TR>
+       <TR>
+               <TD>Chemin complet vers les executable de Postgresql </TD>
+               <TD><?php echo $icpath->input();echo 
HtmlInput::infobulle(202)?></TD>
+       </TR>
+       <TR>
+               <TD>Utilisateur de la base de donnée </TD>
+               <TD><?php echo $icuser->input();echo 
HtmlInput::infobulle(203)?></TD>
+       </TR>
+       <TR>
+               <TD>Mot de passe de l'utilisateur </TD>
+               <TD><?php echo $icpasswd->input();echo 
HtmlInput::infobulle(204)?></TD>
+</TR>
+<TR>
+       <TD>Port de postgresql </TD>
+       <TD><?php echo $icport->input();echo HtmlInput::infobulle(205)?></TD>
+</TR>
+</table>
+</div>
+<div class="notice">
+       <?php
+       if ( $os == 1 )
+       {
+               ?>
+       Attention : si vous installez sous windows n'utilisez pas le \ mais 
plutôt le / dans les nom de répertoire (càd les chemins ou path)
+       <?php
+       }
+       ?>
+</div>
\ No newline at end of file

Modified: phpcompta/trunk/html/direct.php
===================================================================
--- phpcompta/trunk/html/direct.php     2013-05-16 18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/html/direct.php     2013-05-16 21:34:17 UTC (rev 5272)
@@ -1,4 +1,4 @@
-<?
+<?php 
 require_once ("class_database.php");
 require_once 'class_user.php';
 $cn=new Database($_GET['gDossier']);

Modified: phpcompta/trunk/html/popup.php
===================================================================
--- phpcompta/trunk/html/popup.php      2013-05-16 18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/html/popup.php      2013-05-16 21:34:17 UTC (rev 5272)
@@ -1,4 +1,4 @@
-<?
+<?php 
 
 require_once('ac_common.php');
 require_once('function_javascript.php');

Modified: phpcompta/trunk/include/adm.inc.php
===================================================================
--- phpcompta/trunk/include/adm.inc.php 2013-05-16 18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/adm.inc.php 2013-05-16 21:34:17 UTC (rev 5272)
@@ -90,7 +90,7 @@
     echo _('Catégorie :').$sel_card->input();
 
     ?>
-    <input type="submit" class="button" name="submit_query" 
value="<?=_('recherche')?>">
+    <input type="submit" class="button" name="submit_query" value="<?php echo 
_('recherche')?>">
         <input type="hidden" name="p_action" value="adm">
                                                                      </form>
                                                                      </div>

Modified: phpcompta/trunk/include/ajax_add_menu.php
===================================================================
--- phpcompta/trunk/include/ajax_add_menu.php   2013-05-16 18:00:08 UTC (rev 
5271)
+++ phpcompta/trunk/include/ajax_add_menu.php   2013-05-16 21:34:17 UTC (rev 
5272)
@@ -70,34 +70,34 @@
 echo HtmlInput::title_box("Nouveau menu", $ctl);
 ?>
 <form method="POST" onsubmit="return confirm('Vous confirmez ?')">
-       <?
+       <?php 
        echo HtmlInput::hidden('tab','profile_menu_div');
        ?>
-       <?=HtmlInput::hidden('p_id',$p_id)?>
+       <?php echo HtmlInput::hidden('p_id',$p_id)?>
 <table>
 <tr>
        <td>Code</td>
-       <td><?=$me_code->input()?></td>
+       <td><?php echo $me_code->input()?></td>
 </tr>
 <tr>
-       <td>Dépendant de <?=HtmlInput::infobulle(20)?></td>
-       <td><?=$me_code_dep->input()?></td>
+       <td>Dépendant de <?php echo HtmlInput::infobulle(20)?></td>
+       <td><?php echo $me_code_dep->input()?></td>
 </tr>
 
 <tr>
        <td>Ordre d'apparition</td>
-       <td><?=$p_order->input()?></td>
+       <td><?php echo $p_order->input()?></td>
 </tr>
 <tr>
        <td>Menu par défaut</td>
-       <td><?=$pm_default->input()?></td>
+       <td><?php echo $pm_default->input()?></td>
 </tr>
 <tr>
        <td>Type de menu</td>
-       <td><?=$p_type->input()?></td>
+       <td><?php echo $p_type->input()?></td>
 </tr>
 </table>
-<?
+<?php 
 echo HtmlInput::submit('add_menu',"Valider");
 echo '</form>';
 }
@@ -124,21 +124,21 @@
        }
 ?>
 <form method="POST" onsubmit="return confirm('Vous confirmez ?')">
-       <?
+       <?php 
        echo HtmlInput::hidden('tab','profile_print_div');
        ?>
-       <?=HtmlInput::hidden('p_id',$p_id)?>
-       <?=HtmlInput::hidden('p_order',10)?>
-       <?=HtmlInput::hidden('me_code_dep','')?>
-       <?=HtmlInput::hidden('p_type','PR')?>
+       <?php echo HtmlInput::hidden('p_id',$p_id)?>
+       <?php echo HtmlInput::hidden('p_order',10)?>
+       <?php echo HtmlInput::hidden('me_code_dep','')?>
+       <?php echo HtmlInput::hidden('p_type','PR')?>
 <table>
 <tr>
        <td>Code</td>
-       <td><?=$me_code->input()?></td>
+       <td><?php echo $me_code->input()?></td>
 </tr>
 
 </table>
-<?
+<?php 
 echo HtmlInput::submit('add_impress',"Valider");
 echo '</form>';
 }

Modified: phpcompta/trunk/include/ajax_auto_anc_card.php
===================================================================
--- phpcompta/trunk/include/ajax_auto_anc_card.php      2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/ajax_auto_anc_card.php      2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -1,4 +1,4 @@
-<?
+<?php 
 require_once ("class_database.php");
 require_once 'class_user.php';
 $cn=new Database($_GET['gDossier']);

Modified: phpcompta/trunk/include/ajax_boxcard_search.php
===================================================================
--- phpcompta/trunk/include/ajax_boxcard_search.php     2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/ajax_boxcard_search.php     2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -39,10 +39,10 @@
 echo HtmlInput::title_box("Résultat recherche", "boxsearch_card_div");
 $max=(count($array)>MAX_CARD_SEARCH)?MAX_CARD_SEARCH:count($array);
 ?>
-<? if (count($array)>MAX_CARD_SEARCH ): ?>
-<h2 class="notice">Résultat limité à <?=MAX_CARD_SEARCH?>, nombre de fiches 
trouvées : <?=count($array)?> </h2>
+<?php if (count($array)>MAX_CARD_SEARCH ): ?>
+<h2 class="notice">Résultat limité à <?php echo MAX_CARD_SEARCH?>, nombre de 
fiches trouvées : <?php echo count($array)?> </h2>
 
-<? endif?>
+<?php endif?>
 Filtre  <?php echo HtmlInput::infobulle(26);echo 
HtmlInput::filter_table("tb_fiche", "0,1,2,3,4,5", 1); ?>
 <table id="tb_fiche" class="sorttable" style="width:100%">
        <tr>
@@ -67,37 +67,37 @@
                </th>
 
        </tr>
-<? if (count($array)==0) : ?>
+<?php if (count($array)==0) : ?>
        <h2 class="notice"> Aucun résultat</h2>
 <?endif?>
-<? for ($i=0;$i<$max;$i++):?>
+<?php for ($i=0;$i<$max;$i++):?>
        <tr class="<?php echo ($i%2 == 0)?'even':'odd';?>">
 
                <td>
-                       <?=HtmlInput::card_detail($array[$i]['quick_code'])?>
+                       <?php echo 
HtmlInput::card_detail($array[$i]['quick_code'])?>
                </td>
                <td>
-                       <?=h($array[$i]['vw_name'])?>&nbsp;
-                       <?=h($array[$i]['vw_first_name'])?>
+                       <?php echo h($array[$i]['vw_name'])?>&nbsp;
+                       <?php echo h($array[$i]['vw_first_name'])?>
                </td>
                <td>
-                       <?=h($array[$i]['fd_label'])?>
+                       <?php echo h($array[$i]['fd_label'])?>
                </td>
                <td>
-                       <?=h($array[$i]['vw_description'])?>
+                       <?php echo h($array[$i]['vw_description'])?>
 
                </td>
                <td>
-                       <?=h($array[$i]['tva_num'])?>
+                       <?php echo h($array[$i]['tva_num'])?>
 
                </td>
                <td style="text-align:right">
-                       
<?=HtmlInput::history_account($array[$i]['poste'],$array[$i]['poste'])?>
+                       <?php echo 
HtmlInput::history_account($array[$i]['poste'],$array[$i]['poste'])?>
 
                </td>
        </tr>
 
 
-<? endfor; ?>
+<?php endfor; ?>
 </table>
-<?=HtmlInput::button_close("boxsearch_card_div")?>
+<?php echo HtmlInput::button_close("boxsearch_card_div")?>

Modified: phpcompta/trunk/include/ajax_get_menu_detail.php
===================================================================
--- phpcompta/trunk/include/ajax_get_menu_detail.php    2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/ajax_get_menu_detail.php    2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -68,50 +68,50 @@
 
 ?>
 <form method="POST" onsubmit="return confirm('Vous confirmez ?')">
-       <?=HtmlInput::hidden('pm_id',$array[0]['pm_id'])?>
-       <?=HtmlInput::hidden('p_id',$array[0]['p_id'])?>
+       <?php echo HtmlInput::hidden('pm_id',$array[0]['pm_id'])?>
+       <?php echo HtmlInput::hidden('p_id',$array[0]['p_id'])?>
 <table>
 <tr>
        <td>Code</td>
-       <td><?=$me_code->input()?></td>
+       <td><?php echo $me_code->input()?></td>
 </tr>
-<?
+<?php 
 if ($array[0]['p_type_display']!='P'):
 ?>
 <tr>
        <td>Dépendant de </td>
-       <td><?=$me_code_dep->input()?></td>
+       <td><?php echo $me_code_dep->input()?></td>
 </tr>
 
 <tr>
        <td>Ordre d'apparition</td>
-       <td><?=$p_order->input()?></td>
+       <td><?php echo $p_order->input()?></td>
 </tr>
 <tr>
        <td>Menu par défaut</td>
-       <td><?=$pm_default->input()?></td>
+       <td><?php echo $pm_default->input()?></td>
 </tr>
-<? endif;?>
+<?php endif;?>
 </table>
        <p>
 Cochez cette case si vous souhaitez effacer ce menu
-<?
+<?php 
 $delete=new ICheckBox('delete',"1");
 echo $delete->input();
 ?>
 </p>
-<?
+<?php 
 if ($array[0]['p_type_display']!='P'):
 ?>
        <p>
 Cochez cette case si vous souhaitez effacer ce menu ainsi que ceux qui en 
dépendent
-<?
+<?php 
 $delete=new ICheckBox('del_dep',"1");
 echo $delete->input();
 ?>
 </p>
-<? endif;?>
-<?
+<?php endif;?>
+<?php 
 echo HtmlInput::submit('mod',"Valider");
 echo '</form>';
 

Modified: phpcompta/trunk/include/ajax_get_profile.php
===================================================================
--- phpcompta/trunk/include/ajax_get_profile.php        2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/ajax_get_profile.php        2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -35,16 +35,16 @@
 $add_impression=HtmlInput::button("add", "Ajout 
Menu","onclick=\"add_menu({dossier:$gDossier,p_id:$p_id,type:'pr'})\"");
 ?>
 <hr>
-<h1>Profil <?=$profile->p_name?></h1>
-<? if ($p_id > 0 ) : ?>
-<a href="javascript:void(0)" class="line" 
onclick="profile_show('profile_gen_div')"><?=_('Nom')?></a>&nbsp;
-<a href="javascript:void(0)" class="line" 
onclick="profile_show('profile_menu_div')"><?=_('Détail Menus')?></a>&nbsp;
-<a href="javascript:void(0)" class="line" 
onclick="profile_show('profile_print_div')"><?=_('Détail 
Impressions')?></a>&nbsp;
-<a href="javascript:void(0)" class="line" style="" 
onclick="profile_show('profile_gestion_div')"><?=_('Action Gestion')?> 
</a>&nbsp;
-<a href="javascript:void(0)" class="line" 
onclick="profile_show('profile_repo_div')"><?=_('Dépôts')?></a>&nbsp;
-<? endif; ?>
+<h1>Profil <?php echo $profile->p_name?></h1>
+<?php if ($p_id > 0 ) : ?>
+<a href="javascript:void(0)" class="line" 
onclick="profile_show('profile_gen_div')"><?php echo _('Nom')?></a>&nbsp;
+<a href="javascript:void(0)" class="line" 
onclick="profile_show('profile_menu_div')"><?php echo _('Détail 
Menus')?></a>&nbsp;
+<a href="javascript:void(0)" class="line" 
onclick="profile_show('profile_print_div')"><?php echo _('Détail 
Impressions')?></a>&nbsp;
+<a href="javascript:void(0)" class="line" style="" 
onclick="profile_show('profile_gestion_div')"><?php echo _('Action Gestion')?> 
</a>&nbsp;
+<a href="javascript:void(0)" class="line" 
onclick="profile_show('profile_repo_div')"><?php echo _('Dépôts')?></a>&nbsp;
+<?php endif; ?>
 
-<?
+<?php 
 $id=HtmlInput::hidden('p_id',$profile->p_id);
 $name=new IText("p_name",$profile->p_name);
 $desc=new IText("p_desc",$profile->p_desc);

Modified: phpcompta/trunk/include/ajax_mod_stock_repo.php
===================================================================
--- phpcompta/trunk/include/ajax_mod_stock_repo.php     2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/ajax_mod_stock_repo.php     2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -30,16 +30,16 @@
 $st=new Stock_Sql($_GET['r_id']);
 
 ?>
-<?=HtmlInput::title_box("Ajouter un dépôt","change_stock_repo_div","close")?>
+<?php echo HtmlInput::title_box("Ajouter un 
dépôt","change_stock_repo_div","close")?>
        <form method="post">
-               <?=HtmlInput::hidden("r_id",$_GET['r_id']);?>
+               <?php echo HtmlInput::hidden("r_id",$_GET['r_id']);?>
                <table>
                        <tr>
                                <td>
                                        Nom
                                </td>
                                <td>
-                                       <? $name=new 
IText("r_name",$st->r_name); echo $name->input();?>
+                                       <?php $name=new 
IText("r_name",$st->r_name); echo $name->input();?>
                                </td>
                        </tr>
                        <tr>
@@ -47,7 +47,7 @@
                                        Adresse
                                </td>
                                <td>
-                                       <? $name=new 
IText("r_adress",$st->r_adress); echo $name->input();?>
+                                       <?php $name=new 
IText("r_adress",$st->r_adress); echo $name->input();?>
                                </td>
                        </tr>
                        <tr>
@@ -55,7 +55,7 @@
                                        Ville
                                </td>
                                <td>
-                                       <? $name=new 
IText("r_city",$st->r_city); echo $name->input();?>
+                                       <?php $name=new 
IText("r_city",$st->r_city); echo $name->input();?>
                                </td>
                        </tr>
                        <tr>
@@ -63,7 +63,7 @@
                                        Pays
                                </td>
                                <td>
-                                       <? $name=new 
IText("r_country",$st->r_country); echo $name->input();?>
+                                       <?php $name=new 
IText("r_country",$st->r_country); echo $name->input();?>
                                </td>
                        </tr>
                        <tr>
@@ -71,10 +71,10 @@
                                        Téléphone
                                </td>
                                <td>
-                                       <? $name=new 
IText("r_phone",$st->r_phone); echo $name->input();?>
+                                       <?php $name=new 
IText("r_phone",$st->r_phone); echo $name->input();?>
                                </td>
                        </tr>
 
                </table>
-               <?=HtmlInput::submit("mod_stock","Sauver")?>
+               <?php echo HtmlInput::submit("mod_stock","Sauver")?>
        </form>
\ No newline at end of file

Modified: phpcompta/trunk/include/ajax_plugin_detail.php
===================================================================
--- phpcompta/trunk/include/ajax_plugin_detail.php      2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/ajax_plugin_detail.php      2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -33,22 +33,22 @@
 <table>
        <tr>
                <TD>Label</td>
-               <td><?=$me_menu->input();?></td>
+               <td><?php echo $me_menu->input();?></td>
        </tr>
        <tr>
                <TD>Code</td>
-               <td><?=$me_code->input();?></td>
+               <td><?php echo $me_code->input();?></td>
        </tr>
        <tr>
                <TD>Description</td>
-               <td><?=$me_description->input();?></td>
+               <td><?php echo $me_description->input();?></td>
        </tr>
        <tr>
                <TD>Fichier</td>
-               <td><?=$me_file->input();?></td>
+               <td><?php echo $me_file->input();?></td>
        </tr>
 </table>
-       <?
+       <?php 
        if ($new ==1 )
        {
                echo HtmlInput::submit("save_plugin","Ajouter ce plugin");

Modified: phpcompta/trunk/include/ajax_view_action.php
===================================================================
--- phpcompta/trunk/include/ajax_view_action.php        2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/ajax_view_action.php        2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -37,8 +37,8 @@
        $action=HtmlInput::array_to_string(array("gDossier","ag_id"), 
$_GET)."&ac=FOLLOW&sa=detail";
        if ( $_GET['mod']== 1) :
        ?>
-<a href="<?=$action?>" target="_blank" class="button">Modifier </a>
-    <?
+<a href="<?php echo $action?>" target="_blank" class="button">Modifier </a>
+    <?php 
        endif;
 }
 else
@@ -48,7 +48,7 @@
        <div style="margin:0;padding:0;background-color:red;text-align:center;">
 <h2 class="error">Accès interdit : vous n'avez pas accès à cette information, 
contactez votre responsable</h2>;
 </div>
-       <?
+       <?php 
 }
 echo HtmlInput::button_close($div);
 

Modified: phpcompta/trunk/include/ajax_view_mod_stock.php
===================================================================
--- phpcompta/trunk/include/ajax_view_mod_stock.php     2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/ajax_view_mod_stock.php     2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -46,13 +46,13 @@
 echo $st->input($p_array,true);
 ?>
 <form method="POST">
-       <?=HtmlInput::hidden('c_id',$_GET['c_id']);?>
+       <?php echo HtmlInput::hidden('c_id',$_GET['c_id']);?>
        <p>
-       <? $ck=new ICheckBox("ok"," 1");
+       <?php $ck=new ICheckBox("ok"," 1");
                        $ck->label= "Cochez pour confirmer effacement ";
                        echo $ck->input();?>
        </p>
-       <?=HtmlInput::submit("del", "Effacer");?>
-       <?=HtmlInput::button_close($_GET['ctl'])?>
-       <?=HtmlInput::hidden('r_id',$p_array['p_depot'])?>
+       <?php echo HtmlInput::submit("del", "Effacer");?>
+       <?php echo HtmlInput::button_close($_GET['ctl'])?>
+       <?php echo HtmlInput::hidden('r_id',$p_array['p_depot'])?>
 </form>

Modified: phpcompta/trunk/include/audit_log.php
===================================================================
--- phpcompta/trunk/include/audit_log.php       2013-05-16 18:00:08 UTC (rev 
5271)
+++ phpcompta/trunk/include/audit_log.php       2013-05-16 21:34:17 UTC (rev 
5272)
@@ -47,23 +47,23 @@
     $r=$cn->fetch($i);
 ?>
 <td>
-    <?=h($r['ac_user']);?>
+    <?php echo h($r['ac_user']);?>
 </td>
 
 <td>
-<?=$r['fmt_date'];?>
+<?php echo $r['fmt_date'];?>
 </td>
 
 <td>
-<?=$r['ac_ip'];?>
+<?php echo $r['ac_ip'];?>
 </td>
 
 <td>
-<?=$r['ac_module'];?>
+<?php echo $r['ac_module'];?>
 </td>
 
 
-<?
+<?php 
 switch ( $r['ac_state'] )
   {
   case 'FAIL';
@@ -76,11 +76,11 @@
          echo '<td>';
   }
 ?>
-<?=$r['ac_state']?>
+<?php echo $r['ac_state']?>
 </td>
 
 </TR>
-<?
+<?php 
   endfor;
 ?>
 

Modified: phpcompta/trunk/include/bank.inc.php
===================================================================
--- phpcompta/trunk/include/bank.inc.php        2013-05-16 18:00:08 UTC (rev 
5271)
+++ phpcompta/trunk/include/bank.inc.php        2013-05-16 21:34:17 UTC (rev 
5272)
@@ -86,8 +86,8 @@
     echo _('Inclure les banques sans opération :').$nooperation->input();
 
     ?>
-    <input type="submit" class="button" name="submit_query" 
value="<?=_('recherche')?>">
-                                           <input type="hidden" name="ac" 
value="<?=$_REQUEST['ac']?>">
+    <input type="submit" class="button" name="submit_query" value="<?php echo 
_('recherche')?>">
+                                           <input type="hidden" name="ac" 
value="<?php echo $_REQUEST['ac']?>">
                                                                      </form>
                                                                      </div>
                                                                      <?php

Modified: phpcompta/trunk/include/class_profile_menu.php
===================================================================
--- phpcompta/trunk/include/class_profile_menu.php      2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/class_profile_menu.php      2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -45,10 +45,10 @@
                                ?>
                                <li>
 
-                                       <?= $me_menu?>
-                                       ( <?= $js?> )
-                                       <?= $me_desc?>  <?=$me_def?>
-                                       <?
+                                       <?php echo  $me_menu?>
+                                       ( <?php echo  $js?> )
+                                       <?php echo  $me_desc?>  <?php echo 
$me_def?>
+                                       <?php 
                                        $ret2 = $this->cn->exec_sql("
                                                                        SELECT 
pm_id,
                                                                                
pm.me_code,

Modified: phpcompta/trunk/include/client.inc.php
===================================================================
--- phpcompta/trunk/include/client.inc.php      2013-05-16 18:00:08 UTC (rev 
5271)
+++ phpcompta/trunk/include/client.inc.php      2013-05-16 21:34:17 UTC (rev 
5272)
@@ -84,8 +84,8 @@
 
                echo _('Inclure les clients sans opération :') . 
$nooperation->input();
                ?>
-           <input type="submit" class="button" name="submit_query" value="<?= 
_('recherche')?>">
-           <input type="hidden" name="ac" value="<?= $_REQUEST['ac']?>">
+           <input type="submit" class="button" name="submit_query" 
value="<?php echo  _('recherche')?>">
+           <input type="hidden" name="ac" value="<?php echo  
$_REQUEST['ac']?>">
        </form>
         </div>
        <?php

Modified: phpcompta/trunk/include/config_file.php
===================================================================
--- phpcompta/trunk/include/config_file.php     2013-05-16 18:00:08 UTC (rev 
5271)
+++ phpcompta/trunk/include/config_file.php     2013-05-16 21:34:17 UTC (rev 
5272)
@@ -25,6 +25,8 @@
  */
 
 require_once("class_itext.php");
+require_once '../../include/class_iselect.php';
+
 function is_unix()
 {
     $inc_path=get_include_path();
@@ -52,12 +54,13 @@
  */
 function config_file_form($p_array=null)
 {
+       $os=is_unix();
     if ( $p_array == null )
     {
-        $os=is_unix();
+
         /* default value */
-        $ctmp=($os==1)?'/tmp':'c:\tmp';
-        $cpath=($os==1)?'/usr/bin':'c:\phpcompta\postgresql\bin';
+        $ctmp=($os==1)?'/tmp':'c:/tmp';
+        $cpath=($os==1)?'/usr/bin':'c:/phpcompta/postgresql/bin';
         $cuser='phpcompta';
         $cpasswd='dany';
         $cport=5432;
@@ -66,45 +69,24 @@
     }
     else extract ($p_array);
 
-    $text=new IText();
-    $text->size=25;
-    $r='';
-    $r.='<div 
style="position:float;float:left;text-align:right;line-height:1.8em;padding:0 
0.9em 0 0">';
+    $ictmp=new IText('ctmp',$ctmp);
+    $ictmp->size=25;
 
-    $r.='R&eacute;pertoire temporaire : ';
-    $text->title='Indiquez ici le r&eacute;pertoire o&ugrave; les documents 
temporaires peuvent &ecirc;tre sauv&eacute; exemple c:\\\\temp, /tmp';
-    $r.=$text->input('ctmp',$ctmp);
-    $r.='<A href="#" title="'.$text->title.'" 
onclick="alert(\''.$text->title.'\')">(?)</a>';
-    $r.='<br>';
+    $iclocale=new ISelect('clocale');
+       $iclocale->value=array(
+               array("value"=>1,"label"=>"Activé"),
+               array("value"=>0,"label"=>"Désactivé")
+       );
+       $iclocale->selected=1;
 
-    $r.='D&eacute;sactivation changement de langue: 1 activé, 0 désactivé ';
-    $text->title='D&eacute;sactiver le changement de langue (requis pour 
MacOSX';
-    $r.=$text->input('clocale',$clocale);
-    $r.='<A href="#" title="'.$text->title.'" 
onclick="alert(\''.$text->title.'\')">(?)</a>';
-    $r.='<br>';
+       $icpath=new IText("cpath",$cpath);
+       $icpath->size=30;
 
-    $r.='Chemin complet vers les executable de Postgresql : ';
-    $text->title='Le chemin vers le repertoire contenant psql, pg_dump...';
-    $r.=$text->input('cpath',$cpath);
-    $r.='<A href="#" title="'.$text->title.'" 
onclick="alert(\''.$text->title.'\')">(?)</a>';
-    $r.='<br>';
-    $text->title="Utilisateur de la base de donn&eacute;e postgresql";
-    $r.='Utilisateur de la base de donn&eacute;e : ';
-    $r.=$text->input('cuser',$cuser);
-    $r.='<A href="#" title="'.$text->title.'" 
onclick="alert(\''.$text->title.'\')">(?)</a>';
-    $r.='<br>';
-    $text->title="Mot de passe de l\' utilisateur";
-    $r.='Mot de passe de l\'utilisateur : ';
-    $r.=$text->input('cpasswd',$cpasswd);
-    $r.='<A href="#" title="'.$text->title.'" 
onclick="alert(\''.$text->title.'\')">(?)</a>';
-    $r.='<br>';
-    $text->title="Port ";
-    $r.='Port de postgresql : ';
-    $r.=$text->input('cport',$cport);
-    $r.='<A href="#" title="'.$text->title.'" 
onclick="alert(\''.$text->title.'\')">(?)</a>';
-    $r.='<br>';
-    $r.='</div>';
-    return $r;
+       $icuser=new IText('cuser',$cuser);
+       $icpasswd=new IText('cpasswd',$cpasswd);
+       $icport=new IText("cport",$cport);
+
+       require 'template_config_form.php';
 }
 /*!\brief create the config file
  */

Modified: phpcompta/trunk/include/contact.inc.php
===================================================================
--- phpcompta/trunk/include/contact.inc.php     2013-05-16 18:00:08 UTC (rev 
5271)
+++ phpcompta/trunk/include/contact.inc.php     2013-05-16 21:34:17 UTC (rev 
5272)
@@ -90,8 +90,8 @@
                echo _('Société :') . $sl_company->input();
 
                ?>
-           <input type="submit" class="button" name="submit_query" value="<?= 
_('recherche')?>">
-           <input type="hidden" name="ac" value="<?= $_REQUEST['ac']?>">
+           <input type="submit" class="button" name="submit_query" 
value="<?php echo  _('recherche')?>">
+           <input type="hidden" name="ac" value="<?php echo  
$_REQUEST['ac']?>">
        </form>
         </div>
        <?php

Modified: phpcompta/trunk/include/doc_state.inc.php
===================================================================
--- phpcompta/trunk/include/doc_state.inc.php   2013-05-16 18:00:08 UTC (rev 
5271)
+++ phpcompta/trunk/include/doc_state.inc.php   2013-05-16 21:34:17 UTC (rev 
5272)
@@ -46,26 +46,26 @@
 ?>
 
 <table>
-       <? for ($i=0;$i<count($a_stat);$i++):?>
+       <?php for ($i=0;$i<count($a_stat);$i++):?>
 
        <tr>
                <td>
-                       <?=h($a_stat[$i]['s_value'])?>
+                       <?php echo h($a_stat[$i]['s_value'])?>
                </td>
 
                <td>
-                       <? if ($a_stat[$i]['s_status']=='C') { echo _("Ferme 
l'action"); } ?>
+                       <?php if ($a_stat[$i]['s_status']=='C') { echo _("Ferme 
l'action"); } ?>
                </td>
        </tr>
-       <?      endfor;?>
+       <?php endfor;?>
 </table>
 <h2>Ajout d'un état</h2>
 <form method="post" onsubmit="return confirm ('Vous confirmez ?'); ">
        <p>
-               Nom de l'état <? $value=new IText("s_value",""); echo 
$value->input()?>
+               Nom de l'état <?php $value=new IText("s_value",""); echo 
$value->input()?>
        </p>
        <p>
-               Cochez la case si cet état ferme une action <? $state=new 
ICheckBox("s_state",""); echo $state->input()?>
-               <?=HtmlInput::submit("add", "Ajouter")?>
+               Cochez la case si cet état ferme une action <?php $state=new 
ICheckBox("s_state",""); echo $state->input()?>
+               <?php echo HtmlInput::submit("add", "Ajouter")?>
        </p>
 </form>
\ No newline at end of file

Modified: phpcompta/trunk/include/export_stock_resume_list.php
===================================================================
--- phpcompta/trunk/include/export_stock_resume_list.php        2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/export_stock_resume_list.php        2013-05-16 
21:34:17 UTC (rev 5272)
@@ -37,7 +37,7 @@
 
 ?>
 "Depot";"Adresse";"Ville";"Pays";"Code Stock";"Fiches";"IN";"OUT";"DIFF"
-<?
+<?php 
 $a_repo=$cn->get_array("select distinct 
t.r_id,r_name,r_adress,r_city,r_country from stock_repository as s join 
tmp_stockgood_detail as t
        on (s.r_id=t.r_id)
        where

Modified: phpcompta/trunk/include/fiche.inc.php
===================================================================
--- phpcompta/trunk/include/fiche.inc.php       2013-05-16 18:00:08 UTC (rev 
5271)
+++ phpcompta/trunk/include/fiche.inc.php       2013-05-16 21:34:17 UTC (rev 
5272)
@@ -87,10 +87,10 @@
 ?>
 <div style="position:absolute;right:230px;top:110px">
 
-               <?=_('Recherche de fiche')?> <?=HtmlInput::infobulle(18)?> 
:<?=$search_card->input()?>
-               
<?=HtmlInput::button_anchor("Chercher","javascript:void(0)","",$search_card_js)?>
+               <?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)?>
 </div>
-<?
+<?php 
 echo '</div>';
 $str = "if (g('histo').value==3 || g('histo').value== -1 ) {
      
g('trstart').style.display='none';g('trend').style.display='none';g('allcard').style.display='none';}

Modified: phpcompta/trunk/include/menu.inc.php
===================================================================
--- phpcompta/trunk/include/menu.inc.php        2013-05-16 18:00:08 UTC (rev 
5271)
+++ phpcompta/trunk/include/menu.inc.php        2013-05-16 21:34:17 UTC (rev 
5272)
@@ -143,9 +143,9 @@
 ?>
 <fieldset><legend>Recherche</legend>
 <form method="GET">
-       <?=$iselect->input()?>
-       <?=HtmlInput::submit("search", "Recherche")?>
-       <?=HtmlInput::request_to_hidden(array('ac','gDossier','ord'))?>
+       <?php echo $iselect->input()?>
+       <?php echo HtmlInput::submit("search", "Recherche")?>
+       <?php echo HtmlInput::request_to_hidden(array('ac','gDossier','ord'))?>
 </form>
 </fieldset>
 <p class="info"> le type vaut :
@@ -157,7 +157,7 @@
        </ul>
 
        </p>
-<?
+<?php 
 $gDossier=Dossier::id();
 echo HtmlInput::button("Add_plugin", "Ajout d'un plugin", 
"onclick=add_plugin($gDossier)");
 echo HtmlInput::button("Add_menu", "Ajout d'un menu", 
"onclick=create_menu($gDossier)");

Modified: phpcompta/trunk/include/pref.inc.php
===================================================================
--- phpcompta/trunk/include/pref.inc.php        2013-05-16 18:00:08 UTC (rev 
5271)
+++ phpcompta/trunk/include/pref.inc.php        2013-05-16 21:34:17 UTC (rev 
5272)
@@ -149,7 +149,7 @@
                    </td>
                    <td>  <?php echo $msg;?></td>
                <tr>
-                   <td><? echo _('Taille des pages');?></td>
+                   <td><?php echo _('Taille des pages');?></td>
                    <td>
                        <SELECT NAME="p_size">
                            <option value="15">15
@@ -167,7 +167,7 @@
 
                    </td>
                </tr>
-                   <?
+                   <?php 
                }
                ?>
            </table>

Modified: phpcompta/trunk/include/stock_cfg.inc.php
===================================================================
--- phpcompta/trunk/include/stock_cfg.inc.php   2013-05-16 18:00:08 UTC (rev 
5271)
+++ phpcompta/trunk/include/stock_cfg.inc.php   2013-05-16 21:34:17 UTC (rev 
5272)
@@ -74,31 +74,31 @@
 
 <table class="result">
        <tr>
-               <th><?=$tb->get_header(0)?></th>
-               <th><?=$tb->get_header(1)?></th>
-               <th><?=$tb->get_header(2)?></th>
-               <th><?=$tb->get_header(3)?></th>
-               <th><?=$tb->get_header(4)?></th>
+               <th><?php echo $tb->get_header(0)?></th>
+               <th><?php echo $tb->get_header(1)?></th>
+               <th><?php echo $tb->get_header(2)?></th>
+               <th><?php echo $tb->get_header(3)?></th>
+               <th><?php echo $tb->get_header(4)?></th>
        </tr>
-<? for ($i=0;$i<count($array);$i++): ?>
+<?php for ($i=0;$i<count($array);$i++): ?>
        <tr>
                <td>
-                       <?=h($array[$i]['r_name'])?>
+                       <?php echo h($array[$i]['r_name'])?>
                </td>
                <td>
-                       <?=h($array[$i]['r_adress'])?>
+                       <?php echo h($array[$i]['r_adress'])?>
                </td>
                <td>
-                       <?=h($array[$i]['r_city'])?>
+                       <?php echo h($array[$i]['r_city'])?>
                </td>
                <td>
-                       <?=h($array[$i]['r_country'])?>
+                       <?php echo h($array[$i]['r_country'])?>
                </td>
                <td>
-                       <?=h($array[$i]['r_phone'])?>
+                       <?php echo h($array[$i]['r_phone'])?>
                </td>
                <td>
-                       <?
+                       <?php 
                                $js=' 
onclick="stock_repo_change(\''.dossier::id().'\',\''.$array[$i]['r_id'].'\')"';
                                echo HtmlInput::button("mod", _("Modifier"), 
$js);
                        ?>
@@ -107,9 +107,9 @@
 
 <?endfor;?>
 </table>
-       <?=HtmlInput::button("show_add_depot_d", "Ajout d'un dépot", 
"onclick=\"$('add_depot_d').show();\"");?>
+       <?php echo HtmlInput::button("show_add_depot_d", "Ajout d'un dépot", 
"onclick=\"$('add_depot_d').show();\"");?>
        <div id="add_depot_d" class="inner_box" style="display:none">
-       <?=HtmlInput::title_box("Ajouter un dépôt","add_depot_d","hide")?>
+       <?php echo HtmlInput::title_box("Ajouter un 
dépôt","add_depot_d","hide")?>
        <form method="post">
                <table>
                        <tr>
@@ -117,7 +117,7 @@
                                        Nom
                                </td>
                                <td>
-                                       <? $name=new IText("r_name",""); echo 
$name->input();?>
+                                       <?php $name=new IText("r_name",""); 
echo $name->input();?>
                                </td>
                        </tr>
                        <tr>
@@ -125,7 +125,7 @@
                                        Adresse
                                </td>
                                <td>
-                                       <? $name=new IText("r_adress",""); echo 
$name->input();?>
+                                       <?php $name=new IText("r_adress",""); 
echo $name->input();?>
                                </td>
                        </tr>
                        <tr>
@@ -133,7 +133,7 @@
                                        Ville
                                </td>
                                <td>
-                                       <? $name=new IText("r_city",""); echo 
$name->input();?>
+                                       <?php $name=new IText("r_city",""); 
echo $name->input();?>
                                </td>
                        </tr>
                        <tr>
@@ -141,7 +141,7 @@
                                        Pays
                                </td>
                                <td>
-                                       <? $name=new IText("r_country",""); 
echo $name->input();?>
+                                       <?php $name=new IText("r_country",""); 
echo $name->input();?>
                                </td>
                        </tr>
                        <tr>
@@ -149,12 +149,12 @@
                                        Téléphone
                                </td>
                                <td>
-                                       <? $name=new IText("r_phone",""); echo 
$name->input();?>
+                                       <?php $name=new IText("r_phone",""); 
echo $name->input();?>
                                </td>
                        </tr>
 
                </table>
-               <?=HtmlInput::submit("add_stock","Sauver")?>
+               <?php echo HtmlInput::submit("add_stock","Sauver")?>
        </form>
        </div>
 </div>

Modified: phpcompta/trunk/include/stock_inv_histo.inc.php
===================================================================
--- phpcompta/trunk/include/stock_inv_histo.inc.php     2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/stock_inv_histo.inc.php     2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -70,27 +70,27 @@
 
                </th>
        </tr>
-       <? for ($e=0;$e<count($a_change);$e++): ?>
-       <? $class=($e%2==0)?' class="even" ':' class="odd" '; ?>
-       <tr <?=$class?>>
+       <?php for ($e=0;$e<count($a_change);$e++): ?>
+       <?php $class=($e%2==0)?' class="even" ':' class="odd" '; ?>
+       <tr <?php echo $class?>>
 
                <td>
-                       <?=  $a_change[$e]['str_date']?>
+                       <?php echo   $a_change[$e]['str_date']?>
                </td>
                <td>
-                       <?=h($a_change[$e]['c_comment'])?>
+                       <?php echo h($a_change[$e]['c_comment'])?>
                </td>
                <td>
-                       <?=h($a_change[$e]['r_name'])?>
+                       <?php echo h($a_change[$e]['r_name'])?>
                </td>
                <td>
-                       <?=$a_change[$e]['tech_user']?>
+                       <?php echo $a_change[$e]['tech_user']?>
                </td>
                <td>
-                       
<?=HtmlInput::button_action("Détail",sprintf("stock_inv_detail('%s','%s')",$gDossier,$a_change[$e]['c_id']));?>
+                       <?php echo 
HtmlInput::button_action("Détail",sprintf("stock_inv_detail('%s','%s')",$gDossier,$a_change[$e]['c_id']));?>
                </td>
 
        </tr>
-       <? endfor; ?>
+       <?php endfor; ?>
 </table>
 </div>

Modified: phpcompta/trunk/include/supplier.inc.php
===================================================================
--- phpcompta/trunk/include/supplier.inc.php    2013-05-16 18:00:08 UTC (rev 
5271)
+++ phpcompta/trunk/include/supplier.inc.php    2013-05-16 21:34:17 UTC (rev 
5272)
@@ -90,8 +90,8 @@
     echo _('Inclure les fournisseurs sans opération :').$nooperation->input();
 
     ?>
-    <input type="submit" class="button" name="submit_query" 
value="<?=_('recherche')?>">
-                                           <input type="hidden" name="ac" 
value="<?=$_REQUEST['ac']?>">
+    <input type="submit" class="button" name="submit_query" value="<?php echo 
_('recherche')?>">
+                                           <input type="hidden" name="ac" 
value="<?php echo $_REQUEST['ac']?>">
                                                                      </form>
                                                                      </div>
                                                                      <?php

Modified: phpcompta/trunk/include/template/account_result.php
===================================================================
--- phpcompta/trunk/include/template/account_result.php 2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/template/account_result.php 2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -1,5 +1,5 @@
 <fieldset id="asearch" style="height:88%">
-<legend><? echo _('Résultats')?></legend>
+<legend><?php echo _('Résultats')?></legend>
 <div style="height:88%;overflow:auto;">
        <?php
                $limite=5;
@@ -11,18 +11,18 @@
                <th>Fiche (limite:<?php echo $limite; ?>)</th>
 
        </tr>
-<? for ($i=0;$i<sizeof($array);$i++) : ?>
+<?php for ($i=0;$i<sizeof($array);$i++) : ?>
 <tr>
 <td>
-<a href="javascript:void(0)" onclick="<?=$array[$i]['javascript']?>">
-<span  id="val<?=$i?>">
-<?=$array[$i]['pcm_val']?>
+<a href="javascript:void(0)" onclick="<?php echo $array[$i]['javascript']?>">
+<span  id="val<?php echo $i?>">
+<?php echo $array[$i]['pcm_val']?>
 </span>
 </a>
 </td>
 <td>
-<span id="lib<?=$i?>">
-<?=$array[$i]['pcm_lib']?>
+<span id="lib<?php echo $i?>">
+<?php echo $array[$i]['pcm_lib']?>
 </span>
 </td>
 <td>
@@ -49,10 +49,10 @@
 </tr>
 
 
-<? endfor; ?>
+<?php endfor; ?>
 </table>
 <span style="font-style:italic">
-<? echo _("Nombre d'enregistrements")." ".$i;?>
+<?php echo _("Nombre d'enregistrements")." ".$i;?>
 </span>
 
 </div>

Modified: phpcompta/trunk/include/template/account_search.php
===================================================================
--- phpcompta/trunk/include/template/account_search.php 2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/template/account_search.php 2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -1,3 +1,3 @@
-<? echo _('Partie du poste comptable ou du libellé'); ?>
-<?=$str_poste?>
-<?=$str_submit?>
\ No newline at end of file
+<?php echo _('Partie du poste comptable ou du libellé'); ?>
+<?php echo $str_poste?>
+<?php echo $str_submit?>
\ No newline at end of file

Modified: phpcompta/trunk/include/template/action_button.php
===================================================================
--- phpcompta/trunk/include/template/action_button.php  2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/template/action_button.php  2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -32,11 +32,11 @@
                <form  method="get" action="do.php">
                        <?php echo dossier::hidden();
                        ?>
-                       <input type="submit" class="button" name="submit_query" 
value="<?= _("Ajout Action")?>">
-                       <input type="hidden" name="ac" value="<?= 
$_REQUEST['ac']?>">
+                       <input type="submit" class="button" name="submit_query" 
value="<?php echo  _("Ajout Action")?>">
+                       <input type="hidden" name="ac" value="<?php echo  
$_REQUEST['ac']?>">
                        <input type="hidden" name="sa" value="add_action">
-                       <?= $supl_hidden?>
-                       <input id="bt_search" type="button" class="button" 
onclick="$('search_action').style.display='block'" value="<?= _('Recherche')?>">
+                       <?php echo  $supl_hidden?>
+                       <input id="bt_search" type="button" class="button" 
onclick="$('search_action').style.display='block'" value="<?php echo  
_('Recherche')?>">
 
 
 

Modified: phpcompta/trunk/include/template/action_search.php
===================================================================
--- phpcompta/trunk/include/template/action_search.php  2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/template/action_search.php  2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -26,103 +26,103 @@
  *
  */
 ?>
-<? if (! $inner ) : ?>
+<?php if (! $inner ) : ?>
 <div id="search_action" class="op_detail_frame" 
style="position:absolute;display:none;margin-left:120px;width:70%;clear:both;z-index:2;height:auto;border:1px
 #000080 solid">
-       <? echo HtmlInput::anchor_hide('Fermer', 
"$('search_action').style.display='none';");?>
-<? endif; ?>
-<? if ( $inner ) : ?>
+       <?php echo HtmlInput::anchor_hide('Fermer', 
"$('search_action').style.display='none';");?>
+<?php endif; ?>
+<?php if ( $inner ) : ?>
 <div id="search_action" class="op_detail_frame">
-       <? echo HtmlInput::anchor_hide('Fermer', 
"removeDiv('search_action_div');");?>
+       <?php echo HtmlInput::anchor_hide('Fermer', 
"removeDiv('search_action_div');");?>
 
-       <? endif; ?>
+       <?php endif; ?>
        <h2 class="info">
-               <?= _('Recherche avancée')?>
+               <?php echo  _('Recherche avancée')?>
        </h2>
-<? if (! $inner ) : ?>
+<?php if (! $inner ) : ?>
        <form method="get" action="do.php" style="padding:10px">
-<? endif; ?>
-<? if ( $inner ) : ?>
+<?php endif; ?>
+<?php if ( $inner ) : ?>
        <form method="get" id="fsearchaction" style="padding:10px" 
onsubmit="result_search_action('fsearchaction');return false;">
-               <?=HtmlInput::hidden('ctlc',$_GET['ctlc'])?>
-<? endif; ?>
-               <?= dossier::hidden()?>
+               <?php echo HtmlInput::hidden('ctlc',$_GET['ctlc'])?>
+<?php endif; ?>
+               <?php echo  dossier::hidden()?>
                <table style="width:100%">
                        <tr>
                                <td style="width:180px;text-align:right"> Date 
de rappel après</td>
                                <td>
-                                       <?=$remind_date->input();?>
+                                       <?php echo $remind_date->input();?>
                                </td>
                        <tr>
                        <tr>
                                <td style="width:180px;text-align:right"> Date 
de rappel avant</td>
                                <td>
-                                       <?=$remind_date_end->input();?>
+                                       <?php echo $remind_date_end->input();?>
                                </td>
                        <tr>
                        <tr>
                                <td style="width:180px;text-align:right"> 
Affiche aussi les actions fermées</td>
-                               <td><?=$closed_action->input();?></td>
+                               <td><?php echo $closed_action->input();?></td>
                        </tr>
                        <td style="width:180px;text-align:right"> Référence</td>
                                <td>
-                                       <?=$osag_ref->input();?>
+                                       <?php echo $osag_ref->input();?>
                                </td>
                        <tr>
                        <tr>
                                <td style="width:180px;text-align:right"> 
Numéro document</td>
                                <td>
-                                       <? $num=new INum('ag_id');echo 
$num->input();?>
+                                       <?php $num=new INum('ag_id');echo 
$num->input();?>
                                </td>
                        <tr>
-                               <td style="width:180px;text-align:right"><? 
echo _('Destinataire')?></td>
-                               <? $label=$w->id."_label";?>
-                               <td ><?= $w->input() . $w->search()?><span 
id="<?=$label?>"></span></td>
+                               <td style="width:180px;text-align:right"><?php 
echo _('Destinataire')?></td>
+                               <?php $label=$w->id."_label";?>
+                               <td ><?php echo  $w->input() . 
$w->search()?><span id="<?php echo $label?>"></span></td>
                        <tr>
                        <tr>
-                               <td style="text-align:right" ><?= 
_("Profil")?></td>
-                               <td><?= $str_ag_dest?></td>
+                               <td style="text-align:right" ><?php echo  
_("Profil")?></td>
+                               <td><?php echo  $str_ag_dest?></td>
                        </tr>
                        <tr>
-                               <td style="text-align:right" ><?= 
_("Etat")?></td>
-                               <td><?= $type_state->input()?></td>
+                               <td style="text-align:right" ><?php echo  
_("Etat")?></td>
+                               <td><?php echo  $type_state->input()?></td>
                        </tr>
                        <tr>
-                               <td style="text-align:right" ><?= _("Exclure 
Etat")?></td>
-                               <td><?= $hsExcptype_state->input()?></td>
+                               <td style="text-align:right" ><?php echo  
_("Exclure Etat")?></td>
+                               <td><?php echo  
$hsExcptype_state->input()?></td>
                        </tr>
-                       <td style="text-align:right"><? printf(_('contenant le 
mot'))?></td>
-                       <td ><input class="input_text" style="width:100%" 
type="text" name="query" value="<?= $a?>"></td>
+                       <td style="text-align:right"><?php printf(_('contenant 
le mot'))?></td>
+                       <td ><input class="input_text" style="width:100%" 
type="text" name="query" value="<?php echo  $a?>"></td>
                        </tr>
                        <tr>
-                               <td style="text-align:right"><?= _('Type de 
document')?></td>
-                               <td><? echo $type_doc->input();?></td>
+                               <td style="text-align:right"><?php echo  
_('Type de document')?></td>
+                               <td><?php echo $type_doc->input();?></td>
                        </tr>
                        <tr>
                                <td style="text-align:right">
-                                       <? printf(_("Après le "))?>
+                                       <?php printf(_("Après le "))?>
                                </td>
                                <td >
-                                       <?= $start->input()?>
+                                       <?php echo  $start->input()?>
                                </td>
                        </tr>
                        <tr>
-                               <td style="text-align:right"><?= _('Avant 
le')?></td>
+                               <td style="text-align:right"><?php echo  
_('Avant le')?></td>
                                <td>
-                                       <?= $end->input()?>
+                                       <?php echo  $end->input()?>
                                </td>
                        </tr>
                        </tr>
                        <tr>
-                               <td style="text-align:right"><?= _('Uniquement 
actions internes')?></td>
-                               <td><?= $only_internal->input()?>
+                               <td style="text-align:right"><?php echo  
_('Uniquement actions internes')?></td>
+                               <td><?php echo  $only_internal->input()?>
                                </td>
                        </tr>
                </table>
-               <input type="submit" class="button" name="submit_query" 
value="<?= _('recherche')?>">
+               <input type="submit" class="button" name="submit_query" 
value="<?php echo  _('recherche')?>">
                <input type="hidden" name="sa" value="list">
 
-               <?= $supl_hidden?>
-               <? echo HtmlInput::button_anchor(_('Fermer'), 
'javascript:void(0)', 'fsearch_form', 
'onclick="$(\'search_action\').style.display=\'none\';"');?>
+               <?php echo  $supl_hidden?>
+               <?php echo HtmlInput::button_anchor(_('Fermer'), 
'javascript:void(0)', 'fsearch_form', 
'onclick="$(\'search_action\').style.display=\'none\';"');?>
        </form>
 </div>
 

Modified: phpcompta/trunk/include/template/action_search_result.php
===================================================================
--- phpcompta/trunk/include/template/action_search_result.php   2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/action_search_result.php   2013-05-16 
21:34:17 UTC (rev 5272)
@@ -28,10 +28,10 @@
  */
 ?>
 <form onsubmit="set_action_related('fresultaction');return false;" 
id="fresultaction">
-       <?=HtmlInput::hidden('ctlc',$_GET['ctlc'])?>
-       <?=HtmlInput::submit("save_action", "Mettre à jour")?>
-<? if (isset($limit)) : ?>
-       <h2 class="notice">Recherche limitée à <?=$limit?> résultats</h2>
+       <?php echo HtmlInput::hidden('ctlc',$_GET['ctlc'])?>
+       <?php echo HtmlInput::submit("save_action", "Mettre à jour")?>
+<?php if (isset($limit)) : ?>
+       <h2 class="notice">Recherche limitée à <?php echo $limit?> 
résultats</h2>
 <?endif;?>
 
 <table class="result">
@@ -56,34 +56,34 @@
                        Type
                </th>
        </tr>
-<? for ($i=0;$i<$limit;$i++):?>
-       <? $class=($i%2==0)?' class="odd" ':' class="info"'; ?>
-       <tr  <?=$class?>>
+<?php for ($i=0;$i<$limit;$i++):?>
+       <?php $class=($i%2==0)?' class="odd" ':' class="info"'; ?>
+       <tr  <?php echo $class?>>
                <td>
-                       <?
+                       <?php 
                        $ck=new ICheckBox('ag_id[]');
                         $ck->value=$a_row[$i]['ag_id'];
                         echo $ck->input();
                        ?>
                </td>
                <td >
-                       <?=h($a_row[$i]['my_date'])?>
+                       <?php echo h($a_row[$i]['my_date'])?>
                </td>
                <td>
-                       <?=h($a_row[$i]['ag_ref'])?>
+                       <?php echo h($a_row[$i]['ag_ref'])?>
                </td>
                <td>
-                       <?=h($a_row[$i]['sub_ag_title'])?>
+                       <?php echo h($a_row[$i]['sub_ag_title'])?>
                </td>
                <td>
-                       <?=h($a_row[$i]['name'])?>
+                       <?php echo h($a_row[$i]['name'])?>
                </td>
                <td>
-                       <?=h($a_row[$i]['dt_value'])?>
+                       <?php echo h($a_row[$i]['dt_value'])?>
                </td>
        </tr>
 
-<? endfor;?>
+<?php endfor;?>
 </table>
-       <?=HtmlInput::submit("save_action", "Mettre à jour")?>
+       <?php echo HtmlInput::submit("save_action", "Mettre à jour")?>
 </form>
\ No newline at end of file

Modified: phpcompta/trunk/include/template/calendar.php
===================================================================
--- phpcompta/trunk/include/template/calendar.php       2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/template/calendar.php       2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -1,5 +1,5 @@
 <div class="pc_calendar" id="user_cal" style="width:100%">
-<?=$month_year?>
+<?php echo $month_year?>
 <table width="100%">
 <tr>
 <?php

Modified: phpcompta/trunk/include/template/card_result.php
===================================================================
--- phpcompta/trunk/include/template/card_result.php    2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/template/card_result.php    2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -1,31 +1,31 @@
 <fieldset id="asearch" style="height:88%">
-   <legend><? echo _('Résultats'); ?></legend>
+   <legend><?php echo _('Résultats'); ?></legend>
 <div style="height:88%;overflow:auto;">
 <table >
-<? for ($i=0;$i<sizeof($array);$i++) : ?>
+<?php for ($i=0;$i<sizeof($array);$i++) : ?>
 <tr>
 <td style="padding-right:55">
-<a href="javascript:void(0)" class="one" 
onclick="<?=$array[$i]['javascript']?>">
-<?=$array[$i]['quick_code']?>
+<a href="javascript:void(0)" class="one" onclick="<?php echo 
$array[$i]['javascript']?>">
+<?php echo $array[$i]['quick_code']?>
 </a>
 </td>
 <td>
-   <?=$array[$i]['name']?>
+   <?php echo $array[$i]['name']?>
 </td>
 <td>
-   <?=$array[$i]['first_name']?>
+   <?php echo $array[$i]['first_name']?>
 </td>
 <td>
-<?=$array[$i]['description']?>
+<?php echo $array[$i]['description']?>
 </td>
 
 </tr>
 
 
-<? endfor; ?>
+<?php endfor; ?>
 </table>
 <span style="font-style: italic;">
-   <? echo _("Nombre d'enregistrements:$i"); ?>
+   <?php echo _("Nombre d'enregistrements:$i"); ?>
 </span>
 <br>
 </div>

Modified: phpcompta/trunk/include/template/category_of_card.php
===================================================================
--- phpcompta/trunk/include/template/category_of_card.php       2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/category_of_card.php       2013-05-16 
21:34:17 UTC (rev 5272)
@@ -1,42 +1,42 @@
-<?
+<?php 
      echo HtmlInput::anchor_close($ctl);
 ?>
-   <? echo h2info(_("Ajout d'une catégorie").$msg); ?>
+   <?php echo h2info(_("Ajout d'une catégorie").$msg); ?>
 
 <div class="content">
-<form id="newcat" name="newcat" method="get" 
onsubmit="this.ipopup='<?=$ipopup?>';save_card_category(this);return false;">
-<?
+<form id="newcat" name="newcat" method="get" onsubmit="this.ipopup='<?php echo 
$ipopup?>';save_card_category(this);return false;">
+<?php 
  echo HtmlInput::get_to_hidden(array('gDossier','cat'));
  ?>
 
        <TABLE BORDER="0" CELLSPACING="0">
 <TR>
-   <TD><?=_('Nom de la catégorie de fiche')?> </TD>
-<TD><?=$nom_mod->input()?></TD>
+   <TD><?php echo _('Nom de la catégorie de fiche')?> </TD>
+<TD><?php echo $nom_mod->input()?></TD>
 </TR>
 <TR>
-   <TD> <?=_('Classe de base')?> </TD>
+   <TD> <?php echo _('Classe de base')?> </TD>
 <TD>
-<?=$str_poste?>
+<?php echo $str_poste?>
 </TD>
 <td><span id="class_base_label"></span></td>
 </TR>
 <TR>
-   <TD> <INPUT TYPE="CHECKBOX" NAME="create" UNCHECKED><?=_('Création 
automatique du poste comptable')?></TD>
+   <TD> <INPUT TYPE="CHECKBOX" NAME="create" UNCHECKED><?php echo _('Création 
automatique du poste comptable')?></TD>
 </TR>
 </TABLE>
 <p class="info">
-   <?=_('Si vous utilisez la création automatique de poste, chaque nouvelle 
fiche de cette catégorie aura son propre poste comptable. Ce poste comptable 
sera la classe de base augmenté de 1.')?>
+   <?php echo _('Si vous utilisez la création automatique de poste, chaque 
nouvelle fiche de cette catégorie aura son propre poste comptable. Ce poste 
comptable sera la classe de base augmenté de 1.')?>
 </p>
 <p class="info">
-   <?=_('Si vous n\'utilisez pas la création automatique, toutes les nouvelles 
fiches auront par défaut le même poste comptable. Ce poste comptable par défaut 
est la classe de base.')?>
+   <?php echo _('Si vous n\'utilisez pas la création automatique, toutes les 
nouvelles fiches auront par défaut le même poste comptable. Ce poste comptable 
par défaut est la classe de base.')?>
 </p>
 <p class="info">
-<?=_(' A moins qu\'en créant la fiche, vous forcez un autre poste comptable')?>
+<?php echo _(' A moins qu\'en créant la fiche, vous forcez un autre poste 
comptable')?>
 </p>
 
 <p>
-<?=$submit?> <?=HtmlInput::button_close($ipopup)?>
+<?php echo $submit?> <?php echo HtmlInput::button_close($ipopup)?>
 </p>
 </form>
 </div>
\ No newline at end of file

Modified: phpcompta/trunk/include/template/dashboard.php
===================================================================
--- phpcompta/trunk/include/template/dashboard.php      2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/template/dashboard.php      2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -1,6 +1,6 @@
 <div style="float:left;width: 49%">
 <fieldset >
-<legend><?=_('Calendrier')?>
+<legend><?php echo _('Calendrier')?>
 </legend>
 <?php echo $cal->display(); ?>
 </fieldset>
@@ -25,7 +25,7 @@
 ?>
 
 <div style="float:right;width: 49%">
-<fieldset> <legend><?=_('Pense-Bête')?></legend>
+<fieldset> <legend><?php echo _('Pense-Bête')?></legend>
 
 <?php
 echo HtmlInput::button('add',_('Ajout'),'onClick="add_todo()"');
@@ -59,61 +59,61 @@
 </div>
 <div style="float:left;clear:both"></div>
 <div style="float:right;width: 49%">
-<? if (count($last_operation)> 0) : ?>
+<?php if (count($last_operation)> 0) : ?>
        <fieldset>
-       <legend><?=_('Action pour aujourd\'hui')?>
+       <legend><?php echo _('Action pour aujourd\'hui')?>
        </legend>
        <ol>
        <?php
        for($i=0;$i<count($last_operation);$i++):
        ?>
        <li>
-               
<?=HtmlInput::detail_action($last_operation[$i]['ag_id'],h($last_operation[$i]['ag_ref']))?>
+               <?php echo 
HtmlInput::detail_action($last_operation[$i]['ag_id'],h($last_operation[$i]['ag_ref']))?>
        <span>
-       <?=smaller_date($last_operation[$i]['ag_timestamp_fmt'])?>
+       <?php echo smaller_date($last_operation[$i]['ag_timestamp_fmt'])?>
        </span>
                <span  style="font-weight: bolder ">
-                       <?=h($last_operation[$i]['vw_name'])?>
+                       <?php echo h($last_operation[$i]['vw_name'])?>
                </span>
        <span>
-       <?=h(mb_substr($last_operation[$i]['ag_title'],0,50,'UTF-8'))?>
+       <?php echo h(mb_substr($last_operation[$i]['ag_title'],0,50,'UTF-8'))?>
        </span>
        <span style="font-style: italic">
-       <?=$last_operation[$i]['dt_value']?>
+       <?php echo $last_operation[$i]['dt_value']?>
        </span>
        </li>
-       <? endfor;?>
+       <?php endfor;?>
        </ol>
        </fieldset>
-<? endif; ?>
+<?php endif; ?>
 
-<? if (count($late_operation)> 0) : ?>
+<?php if (count($late_operation)> 0) : ?>
                <fieldset>
-       <legend><?=_('Action en retard ')?>
+       <legend><?php echo _('Action en retard ')?>
        </legend>
        <ol>
        <?php
        for($i=0;$i<count($late_operation);$i++):
        ?>
        <li>
-               
<?=HtmlInput::detail_action($late_operation[$i]['ag_id'],h($late_operation[$i]['ag_ref']))?>
+               <?php echo 
HtmlInput::detail_action($late_operation[$i]['ag_id'],h($late_operation[$i]['ag_ref']))?>
        <span>
-       <?=smaller_date($late_operation[$i]['ag_timestamp_fmt'])?>
+       <?php echo smaller_date($late_operation[$i]['ag_timestamp_fmt'])?>
        </span>
                <span  style="font-weight: bolder ">
-                       <?=h($late_operation[$i]['vw_name'])?>
+                       <?php echo h($late_operation[$i]['vw_name'])?>
                </span>
        <span>
-       <?=h(mb_substr($late_operation[$i]['ag_title'],0,50,'UTF-8'))?>
+       <?php echo h(mb_substr($late_operation[$i]['ag_title'],0,50,'UTF-8'))?>
        </span>
        <span style="font-style: italic">
-       <?=$late_operation[$i]['dt_value']?>
+       <?php echo $late_operation[$i]['dt_value']?>
        </span>
        </li>
-       <? endfor;?>
+       <?php endfor;?>
        </ol>
        </fieldset>
-<? endif; ?>
+<?php endif; ?>
 </div>
        <div style="float:left;width: 49%">
 <?php
@@ -168,31 +168,31 @@
 
 <div style="float:right;width: 49%">
 <fieldset>
-<legend><?=_('Dernières opérations')?>
+<legend><?php echo _('Dernières opérations')?>
 </legend>
 <table style="width: 100%">
 <?php
 for($i=0;$i<count($last_ledger);$i++):
        $class=($i%2==0)?' class="even" ':' class="odd" ';
 ?>
-<tr <?=$class ?>>
-       <td><?=  smaller_date($last_ledger[$i]['jr_date_fmt'])?>
+<tr <?php echo $class ?>>
+       <td><?php echo   smaller_date($last_ledger[$i]['jr_date_fmt'])?>
        </td>
        <td>
-               <?=$last_ledger[$i]['jrn_def_code']?>
+               <?php echo $last_ledger[$i]['jrn_def_code']?>
        </td>
 <td>
-   <?=h(mb_substr($last_ledger[$i]['jr_comment'],0,40,'UTF-8'))?>
+   <?php echo h(mb_substr($last_ledger[$i]['jr_comment'],0,40,'UTF-8'))?>
 </td>
 <td>
-<?=HtmlInput::detail_op($last_ledger[$i]['jr_id'], 
$last_ledger[$i]['jr_internal'])?>
+<?php echo HtmlInput::detail_op($last_ledger[$i]['jr_id'], 
$last_ledger[$i]['jr_internal'])?>
 </td>
 <td class="num">
-<?=nbm($last_ledger[$i]['jr_montant'])?>
+<?php echo nbm($last_ledger[$i]['jr_montant'])?>
 </td>
 
 </tr>
-<? endfor;?>
+<?php endfor;?>
 </ul></table>
 </fieldset>
 </div>

Modified: phpcompta/trunk/include/template/detail-action.php
===================================================================
--- phpcompta/trunk/include/template/detail-action.php  2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/template/detail-action.php  2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -1,7 +1,7 @@
 
 <fieldset>
   <legend>
-<?=_('Informations générales')?>
+<?php echo _('Informations générales')?>
   </legend>
   <div style="float:right">
     <?echo $retour;
@@ -14,7 +14,7 @@
         <table >
                        <tr>
             <TD>
-           <?=_('N° document')?>
+           <?php echo _('N° document')?>
             </TD>
             <TD style="font-weight: bolder;" >
               <?php echo $this->ag_id;?>
@@ -22,7 +22,7 @@
           </TR>
                         <tr>
             <TD>
-           <?=_('Reference')?>
+           <?php echo _('Reference')?>
             </TD>
             <TD>
               <?php echo $str_ag_ref;
@@ -31,7 +31,7 @@
           </TR>
 
             <TD>
-   <?=_('Date')?>
+   <?php echo _('Date')?>
             </TD>
             <TD>
               <?php echo $date->input();
@@ -40,7 +40,7 @@
           </TR>
           <TR>
             <TD>
-           <?=_('Heure')?>
+           <?php echo _('Heure')?>
             </TD>
             <TD>
               <?php echo $str_ag_hour;
@@ -50,7 +50,7 @@
           <tr>
                <TR>
             <TD>
-           <?=_('Date limite')?>
+           <?php echo _('Date limite')?>
             </TD>
             <TD>
               <?php echo $remind_date->input();
@@ -60,7 +60,7 @@
 
        <tr>
           <TD>
-           <?=_('Destinataire')?>
+           <?php echo _('Destinataire')?>
           </TD>
           <TD>
   <?php echo $w->search().$w->input();
@@ -69,7 +69,7 @@
           </Tr>
        <tr>
           <TD>
-         <?=_('Contact')?>
+         <?php echo _('Contact')?>
           </TD>
           <TD>
   <?php echo $ag_contact->search().$ag_contact->input();
@@ -90,7 +90,7 @@
 
           <tr>
             <TD>
-           <?=_('Type')?>
+           <?php echo _('Type')?>
             </TD>
             <TD>
               <?php echo $str_doc_type;
@@ -100,7 +100,7 @@
 
           <tr>
             <TD>
-           <?=_('Etat')?>
+           <?php echo _('Etat')?>
             </TD>
             <td>
               <?php echo $str_state;
@@ -110,7 +110,7 @@
           </TR>
           <tr>
             <TD>
-           <?=_('Priorité')?>
+           <?php echo _('Priorité')?>
             </TD>
             <td>
               <?php echo $str_ag_priority;
@@ -120,7 +120,7 @@
           </TR>
           <tr>
             <TD>
-           <?=_('Affecté')?>
+           <?php echo _('Affecté')?>
             </TD>
             <td>
               <?php echo $str_ag_dest;?>
@@ -135,7 +135,7 @@
                <h4 style="display:inline">Opérations concernées</h4>
                <ol>
 
-               <?
+               <?php 
                for ($o=0;$o<count($operation);$o++)
                {
                        if ( $p_view != 'READ')
@@ -156,14 +156,14 @@
 
                ?>
                </ol>
-               <? if ($p_view != 'READ')   echo '<span 
class="noprint">'.$iconcerned->input().'</span>';?>
+               <?php if ($p_view != 'READ')   echo '<span 
class="noprint">'.$iconcerned->input().'</span>';?>
        </div>
 
        <div style="float:left;width:45%">
                <h4 style="display:inline">Actions concernées</h4>
                <ol>
 
-               <?
+               <?php 
                
$base=HtmlInput::request_to_string(array("gDossier","ac","sa","sb","sc","f_id"));
                for ($o=0;$o<count($action);$o++)
                {
@@ -187,12 +187,12 @@
 
                ?>
                </ol>
-               <? if ( $p_view != 'READ') echo '<span 
class="noprint">'.$iaction->input().'</span>';?>
+               <?php if ( $p_view != 'READ') echo '<span 
class="noprint">'.$iaction->input().'</span>';?>
        </div>
 </fieldset>
 <div style="margin-left:15px;margin-right: 15px">
   <h1 class="legend">
-           <?=_('Description')?>
+           <?php echo _('Description')?>
   </h1>
   <p>
 <script language="javascript">
@@ -208,15 +208,15 @@
 
    }
 </script>
-<? if  ($p_view != 'NEW') : ?>
-Document créé le <?=$this->ag_timestamp ?> par <?=$this->ag_owner?>
-<? endif; ?>
-   <h4 class="info"><?=_('Titre')?></h4>
+<?php if  ($p_view != 'NEW') : ?>
+Document créé le <?php echo $this->ag_timestamp ?> par <?php echo 
$this->ag_owner?>
+<?php endif; ?>
+   <h4 class="info"><?php echo _('Titre')?></h4>
     <p style="margin-left:100">
     <?php echo $title->input();
     ?>
 </p>
-<h4 class="info">   <?=_('Commentaire')?></h4>
+<h4 class="info">   <?php echo _('Commentaire')?></h4>
     <div style="margin-left:100">
    <?php
    $style_enl='style="display:inline"';$style_small='style="display:none"';
@@ -246,18 +246,18 @@
 echo $desc->input();
 echo '</span>';
 ?>
-<? if ($p_view != "READ" ): ?>
+<?php if ($p_view != "READ" ): ?>
 <p class="noprint">
-<input type="button" id="bt_enlarge" <?=$style_enl?> value="+" 
onclick="enlarge('ag_comment');return false;">
-<input type="button" id="bt_small"  <?=$style_small?> value="-" 
style="display:none" onclick="small('ag_comment');return false;">
+<input type="button" id="bt_enlarge" <?php echo $style_enl?> value="+" 
onclick="enlarge('ag_comment');return false;">
+<input type="button" id="bt_small"  <?php echo $style_small?> value="-" 
style="display:none" onclick="small('ag_comment');return false;">
 </p>
-<? endif; ?>
+<?php endif; ?>
   </div>
 </div>
-<? if ( $p_base != 'ajax' ) :?>
+<?php if ( $p_base != 'ajax' ) :?>
 <input type='button' class="button" class="noprint" value='Montrer articles' 
id="toggleButton" onclick='toggleShowDetail()'>
-<? endif; ?>
-<?
+<?php endif; ?>
+<?php 
 /**
  * check if there card to show,
  */
@@ -266,7 +266,7 @@
        if ( ($aCard[$i] != 0 && $p_view == 'READ') || $p_view != 'READ'){ 
$show_row=1;break;}
 endfor;
 ?>
-<?
+<?php 
 /*
  * display detail if there card or if we are in UPDATE or NEW mode
  */
@@ -274,7 +274,7 @@
 
        ?>
 <fieldset id="fldDetail" style='display:block'>
-   <LEGEND> <?=_('Détail des articles')?>
+   <LEGEND> <?php echo _('Détail des articles')?>
 </LEGEND>
 <?php // hidden fields
 $show_row=0;
@@ -288,17 +288,17 @@
 
 <table id="art" >
 <tr>
-  <th><?=_('Fiche')?></th>
-  <th><?=_('Description')?></th>
-  <th><?=_('prix unitaire')?></th>
-<th><?=_('quantité')?></th>
-<th><?=_('Code TVA')?></th>
-<th><?=_('Montant TVA')?></th>
-<th><?=_('Montant TVAC')?></th>
+  <th><?php echo _('Fiche')?></th>
+  <th><?php echo _('Description')?></th>
+  <th><?php echo _('prix unitaire')?></th>
+<th><?php echo _('quantité')?></th>
+<th><?php echo _('Code TVA')?></th>
+<th><?php echo _('Montant TVA')?></th>
+<th><?php echo _('Montant TVAC')?></th>
 
 </tr>
 <?for ($i=0;$i<count($aArticle);$i++): ?>
-<?
+<?php 
 if ( ($aCard[$i] != 0 && $p_view == 'READ') || $p_view != 'READ'):
        $show_row++;
        ?>
@@ -311,7 +311,7 @@
 <TD class="num"><?php echo $aArticle[$i]['tva'] ?></TD>
 <TD class="num"><?php echo $aArticle[$i]['tvac'] ?></TD>
 </TR>
-<? endif; ?>
+<?php endif; ?>
 <?php endfor; ?>
 </table>
 
@@ -320,15 +320,15 @@
 function toggleShowDetail() {
        try {var detail=g('fldDetail');
        var but=g('toggleButton');
-       if (detail.style.display=='block' ) { but.value="<?=_("Montrer les 
détails")?>";detail.style.display='none';}
-       else { but.value="<?=_("Cacher les 
détails")?>";detail.style.display='block';} }
+       if (detail.style.display=='block' ) { but.value="<?php echo _("Montrer 
les détails")?>";detail.style.display='none';}
+       else { but.value="<?php echo _("Cacher les 
détails")?>";detail.style.display='block';} }
        catch (error)  {alert(error);}
        }
 
 </script>
-<? if ( $show_row != 0 ): ?>
+<?php if ( $show_row != 0 ): ?>
 <div style="float: left; text-align: right; padding-right: 5px; font-size: 
1.2em; font-weight: bold; color: blue;">
-  <input name="act" id="act" class="button" value="<?=_('Actualiser')?>" 
onclick="compute_all_ledger();" type="button">
+  <input name="act" id="act" class="button" value="<?php echo 
_('Actualiser')?>" onclick="compute_all_ledger();" type="button">
 
     <div style="float: right; text-align: left; font-size: 1.2em; font-weight: 
bold; color: blue;" id="sum">
     <br><span id="htva">0.0</span>
@@ -342,25 +342,25 @@
     <br>Total TVAC
  </div>
 </div>
-<? endif; ?>
+<?php endif; ?>
 </fieldset>
 <?endif; ?>
 
-<? if ($p_view != 'READ' && $str_select_doc != '') : ?>
+<?php if ($p_view != 'READ' && $str_select_doc != '') : ?>
 <fieldset class="noprint" >
   <legend>
-     <?=_('Document à générer')?>
+     <?php echo _('Document à générer')?>
   </legend>
   <?php echo $str_select_doc;
  echo $str_submit_generate;
   ?>
 </fieldset>
-<? endif; ?>
+<?php endif; ?>
 
 
 <fieldset>
   <legend>
-     <?=_('Pièces attachées')?>
+     <?php echo _('Pièces attachées')?>
   </legend>
   <div class="print">
   <ol>
@@ -375,7 +375,7 @@
        dossier::id(),
        $aAttachedFile[$i]['d_id']);
     ?>
-  <? if ($p_view != 'READ') : ?>  <a class="mtitle" style="color:orange" 
id="<?php echo "ac".$aAttachedFile[$i]['d_id'];?>" href="<?php echo 
$rmDoc;?>">Effacer</a><? endif;?>
+  <?php if ($p_view != 'READ') : ?>  <a class="mtitle" style="color:orange" 
id="<?php echo "ac".$aAttachedFile[$i]['d_id'];?>" href="<?php echo 
$rmDoc;?>">Effacer</a><?php endif;?>
   </li>
   <?php
 endfor;
@@ -390,10 +390,10 @@
        new_element.innerHTML='<input class="inp" type="file" value="" 
name="file_upload[]"/>';
        docAdded.appendChild(new_element);
 }
-catch(exception) { alert('<?=j(_('Je ne peux pas ajouter de fichier'))?>'); 
alert(exception.message);}
+catch(exception) { alert('<?php echo j(_('Je ne peux pas ajouter de 
fichier'))?>'); alert(exception.message);}
 }
 </script>
-<? if ($p_view != 'READ') : ?>
+<?php if ($p_view != 'READ') : ?>
   <div class="noprint">
      <h3 >Fichiers à ajouter: </h3>
     <ol id='add_file'  >
@@ -406,6 +406,6 @@
  <input type="button" class="button" onclick="addFiles();" value="Ajouter un 
fichier">
   </span>
   </div>
- <? endif;?>
+ <?php endif;?>
 </fieldset>
 <script>compute_all_ledger()</script>
\ No newline at end of file

Modified: phpcompta/trunk/include/template/document_mod_change.php
===================================================================
--- phpcompta/trunk/include/template/document_mod_change.php    2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/document_mod_change.php    2013-05-16 
21:34:17 UTC (rev 5272)
@@ -28,13 +28,13 @@
 $doc_type->get();
 ?>
 <form method="POST" id="cat_doc_f" 
onsubmit="cat_doc_change_record('cat_doc_f');">
-       <?=HtmlInput::request_to_hidden(array("ac","gDossier","dt_id"))?>
+       <?php echo 
HtmlInput::request_to_hidden(array("ac","gDossier","dt_id"))?>
 <table>
 <tr>
-  <td> <?=_('Nom')?>
+  <td> <?php echo _('Nom')?>
   </td>
   <td>
-         <?
+         <?php 
          $name=new IText('dt_name',$doc_type->dt_value);
          echo $name->input();
          ?>
@@ -42,10 +42,10 @@
 </tr>
 
 <tr>
-  <td><?=_('Préfixe')?>
+  <td><?php echo _('Préfixe')?>
   </td>
   <td>
-         <?
+         <?php 
          $prefix=new IText('dt_prefix',$doc_type->dt_prefix);
          echo $prefix->input();
          ?>
@@ -53,10 +53,10 @@
 </tr>
 
 <tr>
-  <td><?=_('numéro actuel')?>
+  <td><?php echo _('numéro actuel')?>
   </td>
   <td>
-       <?
+       <?php 
        $ret= $cn->get_array("select last_value,is_called from 
seq_doc_type_".$doc_type->dt_id) ;
 
     $last=$ret[0]['last_value'];
@@ -68,13 +68,13 @@
        ?>
   </td>
   <tr>
-  <td><?=_('Prochain numéro')?>
-         <?=
+  <td><?php echo _('Prochain numéro')?>
+         <?php echo 
                HtmlInput::infobulle(15);
        ?>
   </td>
    <td>
-         <?
+         <?php 
          $seq=new INum('seq',0);
          echo $seq->input();
          ?>
@@ -83,5 +83,5 @@
 
 </table>
 
-  <? echo HtmlInput::submit("save",_('Sauver'));?>
+  <?php echo HtmlInput::submit("save",_('Sauver'));?>
 </form>
\ No newline at end of file

Modified: phpcompta/trunk/include/template/fiche_def_input.php
===================================================================
--- phpcompta/trunk/include/template/fiche_def_input.php        2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/fiche_def_input.php        2013-05-16 
21:34:17 UTC (rev 5272)
@@ -1,21 +1,21 @@
 <TABLE BORDER="0" CELLSPACING="0">
 <TR>
-<TD><?=('Catégorie de fiche')?> </TD>
+<TD><?php echo ('Catégorie de fiche')?> </TD>
 <TD><INPUT TYPE="INPUT" NAME="nom_mod"></TD>
 </TR>
 <TR>
-   <TD> <?=_('Classe de base')?> </TD>
-<TD><?=$f_class_base?> </TD>
+   <TD> <?php echo _('Classe de base')?> </TD>
+<TD><?php echo $f_class_base?> </TD>
 <td><span id="class_base_label"></span></td>
 </TR>
 <TR>
-<TD colspan='2'> <INPUT TYPE="CHECKBOX" NAME="create" CHECKED><?=_('Création 
automatique du poste comptable uniquement s\'il n\y a qu\'un seul poste')?></TD>
+<TD colspan='2'> <INPUT TYPE="CHECKBOX" NAME="create" CHECKED><?php echo 
_('Création automatique du poste comptable uniquement s\'il n\y a qu\'un seul 
poste')?></TD>
 </TR>
 <?php
   if ( sizeof($ref)  ) {
     foreach ($ref as $i=>$v) { ?>
 <TR><TD COLSPAN="2">
-<? echo $iradio->input("FICHE_REF",$v['frd_id']);
+<?php echo $iradio->input("FICHE_REF",$v['frd_id']);
    echo $v['frd_text'];
    if ( sizeof ($v['frd_class_base']) != 0 )
           echo "&nbsp;&nbsp<I>Class base = ".$v['frd_class_base']."</I>";

Modified: phpcompta/trunk/include/template/fiche_def_list.php
===================================================================
--- phpcompta/trunk/include/template/fiche_def_list.php 2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/template/fiche_def_list.php 2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -32,48 +32,48 @@
 <table class="result">
        <tR>
                <th>
-                       <?=$tab->get_header(0)?>
+                       <?php echo $tab->get_header(0)?>
                </th>
                <th>
-                       <?=$tab->get_header(1)?>
+                       <?php echo $tab->get_header(1)?>
                </th>
                <th>
-                       <?=$tab->get_header(2)?>
+                       <?php echo $tab->get_header(2)?>
                </th>
                <th>
-                       <?=$tab->get_header(3)?>
+                       <?php echo $tab->get_header(3)?>
                </th>
        </tR>
-<?
+<?php 
 $dossier=Dossier::id();
 for ($i=0;$i<$max;$i++):
        $class=($i%2==0)?' class="even" ':' class="odd" ';
        $row=Database::fetch_array($res, $i);
 ?>
-       <tr <?=$class?> >
+       <tr <?php echo $class?> >
                <td>
-               <?=HtmlInput::anchor(h($row['fd_label']), "javascript:void(0)", 
"onclick=\"detail_category_show('detail_category_div','".$dossier."','".$row['fd_id']."')\"")?>
+               <?php echo HtmlInput::anchor(h($row['fd_label']), 
"javascript:void(0)", 
"onclick=\"detail_category_show('detail_category_div','".$dossier."','".$row['fd_id']."')\"")?>
                </td>
                <td>
-                       <?=h($row['fd_class_base'])?>
+                       <?php echo h($row['fd_class_base'])?>
                </td>
                <td>
-                       <?
+                       <?php 
                         
$v=($row['fd_create_account']=='t')?"Automatique":"Manuel";
                         echo $v;
                        ?>
                </td>
                <td>
-                       <?=$row['frd_text']?>
+                       <?php echo $row['frd_text']?>
                </td>
        </tr>
 
 
-<?
+<?php 
 endfor;
 ?>
 </table>
-<?
+<?php 
 echo HtmlInput::button("cat_fiche_def_add","Ajout d'une nouvelle catégorie", 
"onclick=\"detail_category_show('detail_category_div','".$dossier."','-1')\"");
 ?>
 </div>

Modified: phpcompta/trunk/include/template/fiche_list.php
===================================================================
--- phpcompta/trunk/include/template/fiche_list.php     2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/template/fiche_list.php     2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -26,7 +26,7 @@
  *
  */
 ?>
-<?= $bar?>
+<?php echo  $bar?>
 <form method="POST" class="print" style="display:inline" onsubmit="return 
confirm('Vous confirmez ?')">
        <table class="result">
                <tr>
@@ -40,36 +40,36 @@
                        <th>
                                Poste Comptable
                        </th>
-                       <? if ($allcard == 1 ) : ?>
+                       <?php if ($allcard == 1 ) : ?>
                        <th>
                                Catégorie
                        </th>
-                       <? endif; ?>
+                       <?php endif; ?>
                        <th>
                                Selection
                        </th>
                </tr>
-               <? for ($i = 0; $i < $nb_line; $i++) :?>
-                       <? $row = Database::fetch_array($res, $i);?>
-                       <? $class=($i%2 == 0)?' class="even" ':' class="odd" 
';?>
-                       <tr <?=$class?> >
+               <?php for ($i = 0; $i < $nb_line; $i++) :?>
+                       <?php $row = Database::fetch_array($res, $i);?>
+                       <?php $class=($i%2 == 0)?' class="even" ':' class="odd" 
';?>
+                       <tr <?php echo $class?> >
                                <td>
-                                       <?= 
HtmlInput::card_detail($row['qcode'], "", ' class="line" ')?>
+                                       <?php echo  
HtmlInput::card_detail($row['qcode'], "", ' class="line" ')?>
 
                                </td>
                                <td>
-                                       <?= h($row['name'])?>
+                                       <?php echo  h($row['name'])?>
                                </td>
                                <td>
-                                       
<?=HtmlInput::history_account($row['poste'],$row['poste'])?>
+                                       <?php echo 
HtmlInput::history_account($row['poste'],$row['poste'])?>
                                </td>
-                               <? if ($allcard == 1 ) : ?>
+                               <?php if ($allcard == 1 ) : ?>
                                <td>
-                                       <?= h($row['fd_label'])?>
+                                       <?php echo  h($row['fd_label'])?>
                                </td>
-                               <? endif; ?>
+                               <?php endif; ?>
                                <td>
-                                       <?
+                                       <?php 
                                        if ($write == 1)
                                        {
                                                $ck = new ICheckBox('f_id[]', 
$row['f_id']);
@@ -78,20 +78,20 @@
                                        ?>
                                </td>
                        </tr>
-               <? endfor;?>
+               <?php endfor;?>
 
 
        </table>
-       <?=$str_add_card?>
-<?=HtmlInput::hidden('action',"1");?>
-<?=HtmlInput::submit('delete','Effacer la sélection ')?>
-<? if ( $allcard ==  0  ): ?>
-<?=HtmlInput::submit('move','Déplacer la sélection  vers')?>
-<?
+       <?php echo $str_add_card?>
+<?php echo HtmlInput::hidden('action',"1");?>
+<?php echo HtmlInput::submit('delete','Effacer la sélection ')?>
+<?php if ( $allcard ==  0  ): ?>
+<?php echo HtmlInput::submit('move','Déplacer la sélection  vers')?>
+<?php 
 $iselect=new ISelect('move_to');
 $iselect->value=$cn->make_array("select fd_id,fd_label from fiche_def order by 
2");
 echo $iselect->input();
 ?>
 
-<? endif ; ?>
+<?php endif ; ?>
 </form>
\ No newline at end of file

Modified: phpcompta/trunk/include/template/forecast-detail.php
===================================================================
--- phpcompta/trunk/include/template/forecast-detail.php        2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/forecast-detail.php        2013-05-16 
21:34:17 UTC (rev 5272)
@@ -24,7 +24,7 @@
 </tr>
 <?php endfor;?>
 </table>
-<?=$f_add_row ?>
+<?php echo $f_add_row ?>
 </fieldset>
 
 

Modified: phpcompta/trunk/include/template/forecast_cat.php
===================================================================
--- phpcompta/trunk/include/template/forecast_cat.php   2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/template/forecast_cat.php   2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -2,8 +2,8 @@
 <legend>
 <?php echo $str_action;?></legend>
 <?php echo $str_name;?>
-Date de début <?=$str_start_date?>
-Date de fin <?=$str_end_date ?>
+Date de début <?php echo $str_start_date?>
+Date de fin <?php echo $str_end_date ?>
 
 <h2> <?php echo _('Catégories');?></h2>
 <table>

Modified: phpcompta/trunk/include/template/forecast_result.php
===================================================================
--- phpcompta/trunk/include/template/forecast_result.php        2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/forecast_result.php        2013-05-16 
21:34:17 UTC (rev 5272)
@@ -1,5 +1,5 @@
 <h1><?php echo $str_name;?></h1>
-Période du <?=$str_start?> à <?=$str_end;?>
+Période du <?php echo $str_start?> à <?php echo $str_end;?>
 <?php  for ($i=0;$i<count($aCat);$i++): // foreach category ?>
 <?php if (count($aItem[$i])==0) continue;?>
 <fieldset>
@@ -180,18 +180,18 @@
 
 
 <?php endfor;?>
-<? if ( ! empty ($error) ) : ?>
+<?php if ( ! empty ($error) ) : ?>
 <div class="error">
 Désolé il y a des formules incorrectes 
 <ul style="list-style-type:none">
 
-   <? $last="";?>
-   <? for ($i=0;$i<count($error);$i++) : ?>
-<?
+   <?php $last="";?>
+   <?php for ($i=0;$i<count($error);$i++) : ?>
+<?php 
    if ( $last != $error[$i] ) {  echo h($error[$i]); }
 $last=$error[$i];
 endfor;
 ?>
 </ul>
 </div>
-<? endif; ?>
\ No newline at end of file
+<?php endif; ?>
\ No newline at end of file

Modified: phpcompta/trunk/include/template/form_ledger_detail.php
===================================================================
--- phpcompta/trunk/include/template/form_ledger_detail.php     2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/form_ledger_detail.php     2013-05-16 
21:34:17 UTC (rev 5272)
@@ -2,49 +2,49 @@
 
 ?>
 <fieldset>
-<legend><?=$f_legend ?>
+<legend><?php echo $f_legend ?>
 </legend>
        <div id="jrn_name_div">
-       <h2 class="title" id="jrn_name"> <?=$this->get_name()?></h2>
+       <h2 class="title" id="jrn_name"> <?php echo $this->get_name()?></h2>
 </div>
-      <?=_('Date').':'?> <?=$f_date ?> <?=_('Echeance')?> : <?=$f_echeance?>
-<?=$f_periode?><br>
-      <?=_('Journal')?> <?=$f_jrn?><br><hr>
-<?=$f_type?><?=$f_client_qcode?><?=$f_client_bt?> <?=$f_client?><br>
-      <?=_('Libellé')?> <?=$f_desc?>
-      <?=_('Num Pj')?> <?=$f_pj?><br>
-<?=$str_add_button?>
+      <?php echo _('Date').':'?> <?php echo $f_date ?> <?php echo 
_('Echeance')?> : <?php echo $f_echeance?>
+<?php echo $f_periode?><br>
+      <?php echo _('Journal')?> <?php echo $f_jrn?><br><hr>
+<?php echo $f_type?><?php echo $f_client_qcode?><?php echo $f_client_bt?> 
<?php echo $f_client?><br>
+      <?php echo _('Libellé')?> <?php echo $f_desc?>
+      <?php echo _('Num Pj')?> <?php echo $f_pj?><br>
+<?php echo $str_add_button?>
 </fieldset>
 
 <fieldset>
-<legend><?=$f_legend_detail?></legend>
+<legend><?php echo $f_legend_detail?></legend>
 <table id="sold_item" width="100%" border="0">
 <tr>
-<th style="width:auto"colspan="2">Code <?=HtmlInput::infobulle(0)?></th>
-      <th><?=_('Dénomination')?></th>
-<? if ($flag_tva =='Y') : ?>
-      <th><?=_('prix/unité htva')?><?=HtmlInput::infobulle(6)?></th>
-      <th><?=_('quantité')?></th>
-      <th><?=_('Total HTVA')?></th>
-         <th><?=_('tva')?></th>
-      <th><?=_('tot.tva')?></th>
-      <th><?=_('tvac')?></th>
-<? else: ?>
-         <th><?=_('prix/unité ')?><?=HtmlInput::infobulle(6)?></th>
-      <th><?=_('quantité')?></th>
-      <th><?=_('Total ')?></th>
-<? endif;?>
+<th style="width:auto"colspan="2">Code <?php echo 
HtmlInput::infobulle(0)?></th>
+      <th><?php echo _('Dénomination')?></th>
+<?php if ($flag_tva =='Y') : ?>
+      <th><?php echo _('prix/unité htva')?><?php echo 
HtmlInput::infobulle(6)?></th>
+      <th><?php echo _('quantité')?></th>
+      <th><?php echo _('Total HTVA')?></th>
+         <th><?php echo _('tva')?></th>
+      <th><?php echo _('tot.tva')?></th>
+      <th><?php echo _('tvac')?></th>
+<?php else: ?>
+         <th><?php echo _('prix/unité ')?><?php echo 
HtmlInput::infobulle(6)?></th>
+      <th><?php echo _('quantité')?></th>
+      <th><?php echo _('Total ')?></th>
+<?php endif;?>
 
 
 
 </tr>
-<? foreach ($array as $item) {
+<?php foreach ($array as $item) {
 echo '<tr>';
 echo $item['quick_code'];
 echo '<td>'.$item['bt'].'</td>';
 ?>
-<td style="border-bottom: 1px dotted grey; width: 75%;"><?=$item['denom'] 
?></td>
-<?
+<td style="border-bottom: 1px dotted grey; width: 75%;"><?php echo 
$item['denom'] ?></td>
+<?php 
 echo td($item['pu']);
 echo td($item['quantity' ]);
 echo td($item['htva']);
@@ -61,7 +61,7 @@
 </table>
 
 <div 
style="position:float;float:right;text-align:right;padding-right:5px;font-size:1.2em;font-weight:bold;color:blue">
-      
<?=HtmlInput::button('act',_('Actualiser'),'onClick="compute_all_ledger();"'); 
?>
+      <?php echo 
HtmlInput::button('act',_('Actualiser'),'onClick="compute_all_ledger();"'); ?>
  </div>
 
     <div 
style="position:float;float:right;text-align:left;font-size:1.2em;font-weight:bold;color:blue"
 id="sum">
@@ -78,11 +78,11 @@
 <?php
        if ( $flag_tva =='Y') :
        ?>
-  <br><?=_('Total HTVA')?>
-  <br><?=_('Total TVA')?>
-  <br><?=_('Total TVAC')?>
+  <br><?php echo _('Total HTVA')?>
+  <br><?php echo _('Total TVA')?>
+  <br><?php echo _('Total TVAC')?>
  <?php else:  ?>
-     <br><?=_('Total')?>
+     <br><?php echo _('Total')?>
 <?php endif; ?>
 </div>
 

Modified: phpcompta/trunk/include/template/form_ledger_fin.php
===================================================================
--- phpcompta/trunk/include/template/form_ledger_fin.php        2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/form_ledger_fin.php        2013-05-16 
21:34:17 UTC (rev 5272)
@@ -1,9 +1,9 @@
 <fieldset>
        <div id="jrn_name_div">
-       <h2 class="title" id="jrn_name"> <?=$this->get_name()?></h2>
+       <h2 class="title" id="jrn_name"> <?php echo $this->get_name()?></h2>
 </div>
-<legend><?=$f_legend ?> </legend>
-<?
+<legend><?php echo $f_legend ?> </legend>
+<?php 
        $wchdate=new ISelect('chdate');
        $wchdate->value=array(
                        array('value'=>1,'label'=>"Avec date d'extrait"),
@@ -12,37 +12,37 @@
        $wchdate->selected=(isset($chdate))?$chdate:1;
        $wchdate->javascript='onchange="show_fin_chdate(\'chdate\')"';
 ?>
-<?=$wchdate->input();?>
+<?php echo $wchdate->input();?>
 <span id="chdate_ext">
-   <?=_('Date').' '.$f_date ?>
+   <?php echo _('Date').' '.$f_date ?>
 </span>
 
-<?=$f_period?><br>
-<?=$f_jrn?><br>
-<?=_('Banque')?><?=$f_bank ?>
+<?php echo $f_period?><br>
+<?php echo $f_jrn?><br>
+<?php echo _('Banque')?><?php echo $f_bank ?>
 
 </fieldset>
 
 <fieldset>
-<legend><?=$f_legend_detail?></legend>
-   <fieldset><legend><?=_('Extrait de compte')?></legend>
-   <?=_('Numéro extrait')?> <?=$f_extrait?>
-   <?=_('Solde début') ?> <?=$wFirst->input();?>
-<?=_('Solde Fin')?> <?=$wLast->input();?>
+<legend><?php echo $f_legend_detail?></legend>
+   <fieldset><legend><?php echo _('Extrait de compte')?></legend>
+   <?php echo _('Numéro extrait')?> <?php echo $f_extrait?>
+   <?php echo _('Solde début') ?> <?php echo $wFirst->input();?>
+<?php echo _('Solde Fin')?> <?php echo $wLast->input();?>
 </fieldset>
-<?=$str_add_button?>
-   <fieldset><legend><?=_('Opérations')?></legend>
+<?php echo $str_add_button?>
+   <fieldset><legend><?php echo _('Opérations')?></legend>
 <table id="fin_item" width="100%" border="0">
 <tr>
-<th id="thdate" style="display:none;text-align: 
left"><?=_('Date')?><?=HtmlInput::infobulle(16)?></TH>
+<th id="thdate" style="display:none;text-align: left"><?php echo 
_('Date')?><?php echo HtmlInput::infobulle(16)?></TH>
 <th style="text-align: left;width: auto">code<?HtmlInput::infobulle(0)?></TH>
-   <th style="text-align: left"><?=_('Fiche')?></TH>
-   <th style="text-align: left"><?=_('Commentaire')?></TH>
-   <th style="text-align: left"><?=_('Montant')?></TH>
-   <th style="text-align: left;width:auto"colspan="2"> <?=_('Op. 
Concernée(s)')?></th>
+   <th style="text-align: left"><?php echo _('Fiche')?></TH>
+   <th style="text-align: left"><?php echo _('Commentaire')?></TH>
+   <th style="text-align: left"><?php echo _('Montant')?></TH>
+   <th style="text-align: left;width:auto"colspan="2"> <?php echo _('Op. 
Concernée(s)')?></th>
 </tr>
 
-<?
+<?php 
 $i=0;
 foreach ($array as $item) {
 

Modified: phpcompta/trunk/include/template/impress_cat_card.php
===================================================================
--- phpcompta/trunk/include/template/impress_cat_card.php       2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/impress_cat_card.php       2013-05-16 
21:34:17 UTC (rev 5272)
@@ -1,22 +1,22 @@
 <table>
 <tr>
-  <td><?=_('Categorie')?> </td>
-  <td><?=$str_categorie?></td>
+  <td><?php echo _('Categorie')?> </td>
+  <td><?php echo $str_categorie?></td>
 </tr>
 <tr>
-  <td><?=_('Type')?></td>
-  <td><?=$str_histo?></td>
+  <td><?php echo _('Type')?></td>
+  <td><?php echo $str_histo?></td>
 </tr>
 <tr id="trstart">
-  <td><?=_('Depuis')?></td>
-  <td> <?=$str_start?></td>
+  <td><?php echo _('Depuis')?></td>
+  <td> <?php echo $str_start?></td>
 </tr>
 <tr id="trend">
-  <td><?=_('Jusque')?></td>
-  <td><?=$str_end?></td>
+  <td><?php echo _('Jusque')?></td>
+  <td><?php echo $str_end?></td>
 <tr id="allcard">
        <td>Toutes les fiches</td>
-       <td><?=$str_icall?></td>
+       <td><?php echo $str_icall?></td>
 </tr>
 </tr>
 </table>

Modified: phpcompta/trunk/include/template/impress_reconciliation.php
===================================================================
--- phpcompta/trunk/include/template/impress_reconciliation.php 2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/impress_reconciliation.php 2013-05-16 
21:34:17 UTC (rev 5272)
@@ -19,7 +19,7 @@
 Montant
 </th>
 </tr>
-<?
+<?php 
 for ($i=0;$i<count($array);$i++) {
        $r='';
        $r.=td($i);

Modified: phpcompta/trunk/include/template/ledger_detail_ach.php
===================================================================
--- phpcompta/trunk/include/template/ledger_detail_ach.php      2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/ledger_detail_ach.php      2013-05-16 
21:34:17 UTC (rev 5272)
@@ -1,15 +1,15 @@
-<? require_once('template/ledger_detail_top.php'); ?>
+<?php require_once('template/ledger_detail_top.php'); ?>
 <div class="content" style="padding:0;">
-<?
+<?php 
   require_once('class_own.php');
   $owner=new Own($cn);
 ?>
 
-    <? if ( $access=='W') : ?>
+    <?php if ( $access=='W') : ?>
 <form  class="print" onsubmit="return op_save(this);">
-   <? endif; ?>
+   <?php endif; ?>
 
-    <? echo 
HtmlInput::hidden('whatdiv',$div).HtmlInput::hidden('jr_id',$jr_id).dossier::hidden();?>
+    <?php echo 
HtmlInput::hidden('whatdiv',$div).HtmlInput::hidden('jr_id',$jr_id).dossier::hidden();?>
     <table style="width:100%">
     <tr><td>
                                                        <table>
@@ -33,7 +33,7 @@
                                                        </tr>
 
                                                        <tr><td>
-                                                       <?
+                                                       <?php 
                                                        $bk=new 
Fiche($cn,$obj->det->array[0]['qp_supplier']);
                                                        echo 
td(_('Fournisseur'));
 
@@ -44,7 +44,7 @@
                                                        </tr>
                                                        <tr>
                                                        <td>
-                                                       <?
+                                                       <?php 
                                                        $itext=new IText('npj');
                                                        
$itext->value=strip_tags($obj->det->jr_pj_number);
                                                        echo 
td(_('Pièce')).td($itext->input());
@@ -52,7 +52,7 @@
                                                        </td>
                                                        <tr>
                                                        <td>
-                                                       <?
+                                                       <?php 
                                                          $itext=new 
IText('lib');
                                                          
$itext->value=strip_tags($obj->det->jr_comment);
                                                          $itext->size=40;
@@ -66,7 +66,7 @@
                                                                                
                                           <td></td>
                                                             <td>Payé</td>
                                                             <td>
-                                                                <?
+                                                                <?php 
                                                                 $ipaid=new 
ICheckBox("ipaid",'paid');
                                                                 
$ipaid->selected=($obj->det->jr_rapt=='paid');
                                                                 echo 
$ipaid->input();
@@ -82,7 +82,7 @@
                                </td></tr>
                                <tr>
                                <td>
-                               <?
+                               <?php 
                                $inote=new ITextarea('jrn_note');
                                $inote->width=25;
                                $inote->heigh=5;
@@ -98,9 +98,9 @@
 
 </table>
 <div class="myfieldset">
-       <h1 class="legend"><?=_('Détail')?></h1>
+       <h1 class="legend"><?php echo _('Détail')?></h1>
 <table class="result">
-<?
+<?php 
   bcscale(2);
   $total_htva=0;$total_tvac=0;
   echo th(_('Quick Code'));
@@ -224,10 +224,10 @@
 
 </div>
        <div class="myfieldset">
-       <h1 class="legend"><?=_('Ecritures comptables')?></h1>
+       <h1 class="legend"><?php echo _('Ecritures comptables')?></h1>
 
 
-<?
+<?php 
   /* if it is not in a popup, the details are hidden */
   if ( $div != 'popup') {
     $ib=new IButton ("a".$div);
@@ -246,7 +246,7 @@
 ?>
 <table class="result">
 <tr>
-<?
+<?php 
  echo th(_('Poste Comptable'));
     echo th(_('Quick Code'));
     echo th(_('Libellé'));
@@ -291,7 +291,7 @@
 </div>
 </div>
 
-<?
+<?php 
 require_once('ledger_detail_bottom.php');
 ?>
 </div>

Modified: phpcompta/trunk/include/template/ledger_detail_bottom.php
===================================================================
--- phpcompta/trunk/include/template/ledger_detail_bottom.php   2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/ledger_detail_bottom.php   2013-05-16 
21:34:17 UTC (rev 5272)
@@ -1,9 +1,9 @@
 <div class="myfieldset">
 
 <h1 class="legend">
-<? echo _('Rapprochement');?>
+<?php echo _('Rapprochement');?>
 </h1>
-<?
+<?php 
 $oRap=new Acc_Reconciliation($cn);
 $oRap->jr_id=$jr_id;
 $aRap=$oRap->get();
@@ -37,7 +37,7 @@
   echo '</table>';
 }
 ?>
-<?
+<?php 
 if ( $access=='W') {
      $wConcerned=new IConcerned("rapt".$div);
      $wConcerned->amount_id=$obj->det->jr_montant;
@@ -46,14 +46,14 @@
 }
 ?>
 </div>
-<?
+<?php 
 $array = Follow_Up::get_all_operation($jr_id);
 if (count($array) > 0)
 {
        ?>
        <div class="myfieldset">
                <h1 class="legend">Actions liées</h1>
-       <?
+       <?php 
        /**
         * show eventually action
         */
@@ -76,12 +76,12 @@
 }
 ?>
 
-<?
+<?php 
 
 require_once('template/ledger_detail_file.php');
 ?>
 <hr>
-<?
+<?php 
 
 if ( $div != 'popup' ) {
   $a=new IButton('Fermer','Fermer');
@@ -91,7 +91,7 @@
 }
 
 ?>
-<?
+<?php 
 
 /**
  * if you can write

Modified: phpcompta/trunk/include/template/ledger_detail_file.php
===================================================================
--- phpcompta/trunk/include/template/ledger_detail_file.php     2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/ledger_detail_file.php     2013-05-16 
21:34:17 UTC (rev 5272)
@@ -1,4 +1,4 @@
-<?
+<?php 
 /**
  address@hidden  show an iframe, the iframe contains either
  * - a input type to save a file
@@ -8,5 +8,5 @@
 if ( isset ($_REQUEST['ajax'])) $str.="&ajax=1";
 ?>
 <div class="noprint">
-<iframe frameborder=0 scrolling="no" style="margin:0;padding: 
0;border:0;width:100%;height:90;overflow:hidden" src="<? echo 
'ajax_ledger.php'.$str; ?>"></iframe>
+<iframe frameborder=0 scrolling="no" style="margin:0;padding: 
0;border:0;width:100%;height:90;overflow:hidden" src="<?php echo 
'ajax_ledger.php'.$str; ?>"></iframe>
 </div>
\ No newline at end of file

Modified: phpcompta/trunk/include/template/ledger_detail_fin.php
===================================================================
--- phpcompta/trunk/include/template/ledger_detail_fin.php      2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/ledger_detail_fin.php      2013-05-16 
21:34:17 UTC (rev 5272)
@@ -1,17 +1,17 @@
-<? require_once('template/ledger_detail_top.php'); ?>
+<?php require_once('template/ledger_detail_top.php'); ?>
 <div class="content" style="padding:0;">
-<?
+<?php 
   require_once('class_own.php');
   $owner=new Own($cn);
 require_once ('class_anc_plan.php');
 require_once('class_anc_operation.php');
 
 ?>
-    <? if ( $access=='W') : ?>
+    <?php if ( $access=='W') : ?>
 <form class="print" onsubmit="return op_save(this);">
-   <? endif; ?>
+   <?php endif; ?>
 
-    <? echo 
HtmlInput::hidden('whatdiv',$div).HtmlInput::hidden('jr_id',$jr_id).dossier::hidden();?>
+    <?php echo 
HtmlInput::hidden('whatdiv',$div).HtmlInput::hidden('jr_id',$jr_id).dossier::hidden();?>
             <table style="width:100%"><tr><td>
 <table>
 <tr>
@@ -25,7 +25,7 @@
 </tr>
 
 <tr>
-<?
+<?php 
 $bk=new Fiche($cn,$obj->det->array[0]['qf_bank']);
 
$view_card_detail=HtmlInput::card_detail($bk->get_quick_code(),h($bk->getName()),
 ' class="line" ');
 echo td('Compte en banque').td($view_card_detail).td();;
@@ -33,7 +33,7 @@
 ?>
 </tr>
 <tr>
-<?
+<?php 
 
 $bk=new Fiche($cn,$obj->det->array[0]['qf_other']);
 
$view_card_detail=HtmlInput::card_detail($bk->get_quick_code(),h($bk->getName()),
 ' class="line" ');
@@ -43,7 +43,7 @@
 </tr>
 
 <tr>
-<?
+<?php 
   $itext=new IText('lib');
   $itext->value=strip_tags($obj->det->jr_comment);
   $itext->size=40;
@@ -53,10 +53,10 @@
 ?>
 </tr>
 <tr>
-<? echo td('montant').td(nbm($obj->det->array[0]['qf_amount']),' 
class="inum"');?>
+<?php echo td('montant').td(nbm($obj->det->array[0]['qf_amount']),' 
class="inum"');?>
 </tr>
 <tr>
-<?
+<?php 
 $itext=new IText('npj');
 $itext->value=strip_tags($obj->det->jr_pj_number);
 echo td(_('Pièce')).td($itext->input());
@@ -72,7 +72,7 @@
 </td></tr>
 <tr>
 <td>
-<?
+<?php 
 $inote=new ITextarea('jrn_note');
 $inote->width=25;
 $inote->heigh=5;
@@ -90,15 +90,15 @@
 </td>
 <div class="myfieldset">
        <h1 class="legend">
-<?=_('Détail')?>
-<?
+<?php echo _('Détail')?>
+<?php 
   $detail=new Acc_Misc($cn,$obj->jr_id);
 $detail->get();
 ?>
 </h1>
 <table class="result">
 <tr>
-<?
+<?php 
  echo th(_('Poste Comptable'));
     echo th(_('Quick Code'));
     echo th(_('Libellé'));
@@ -169,7 +169,7 @@
 ?>
 </table>
 </div>
-<?
+<?php 
 require_once('ledger_detail_bottom.php');
 ?>
 </div>
\ No newline at end of file

Modified: phpcompta/trunk/include/template/ledger_detail_misc.php
===================================================================
--- phpcompta/trunk/include/template/ledger_detail_misc.php     2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/ledger_detail_misc.php     2013-05-16 
21:34:17 UTC (rev 5272)
@@ -1,20 +1,20 @@
-<?
+<?php 
 require_once('template/ledger_detail_top.php');
 require_once('class_anc_operation.php');
 require_once('class_anc_plan.php');
 
 ?>
-<?
+<?php 
 require_once('class_own.php');
 require_once ('class_anc_plan.php');
 ?>
 <div class="content" style="padding:0">
 
-    <? if ( $access=='W') : ?>
+    <?php if ( $access=='W') : ?>
 <form class="print" onsubmit="return op_save(this);">
-   <? endif; ?>
+   <?php endif; ?>
 
-    <? echo 
HtmlInput::hidden('whatdiv',$div).HtmlInput::hidden('jr_id',$jr_id).dossier::hidden();?>
+    <?php echo 
HtmlInput::hidden('whatdiv',$div).HtmlInput::hidden('jr_id',$jr_id).dossier::hidden();?>
   <table style="width:100%"><tr><td>
                                        <table>
                                                                <tr><td>
@@ -28,7 +28,7 @@
                                                                </tr>
 
                                                                <tr><td>
-                                                               <?
+                                                               <?php 
                                                                  $itext=new 
IText('lib');
                                                                  
$itext->value=strip_tags($obj->det->jr_comment);
                                                                  
$itext->size=40;
@@ -38,10 +38,10 @@
                                                                ?>
                                                                </td></tr>
                                                                <tr><td>
-                                                               <? echo 
td('montant').td(nbm($obj->det->jr_montant),' class="inum"');?>
+                                                               <?php echo 
td('montant').td(nbm($obj->det->jr_montant),' class="inum"');?>
                                                                </td></tr>
                                                                <tr><td>
-                                                               <?
+                                                               <?php 
                                                                $itext=new 
IText('npj');
                                                                
$itext->value=strip_tags($obj->det->jr_pj_number);
                                                                echo 
td(_('Pièce')).td($itext->input());
@@ -57,7 +57,7 @@
                                                </td></tr>
                                                <tr>
                                                <td>
-                                               <?
+                                               <?php 
                                                $inote=new 
ITextarea('jrn_note');
                                                $inote->width=25;
                                                $inote->heigh=5;
@@ -73,14 +73,14 @@
 </table>
 
 <div class="myfieldset">
-       <h1 class="legend"><?=_('Détail')?></h1>
-<?
+       <h1 class="legend"><?php echo _('Détail')?></h1>
+<?php 
   require_once('class_own.php');
   $owner=new Own($cn);
 ?>
 <table class="result">
 <tr>
-<?
+<?php 
     echo th(_('Poste Comptable'));
     echo th(_('Quick Code'));
     echo th(_('Libellé'));
@@ -167,7 +167,7 @@
 ?>
 </table>
 </div>
-<?
+<?php 
 require_once('ledger_detail_bottom.php');
 ?>
 </div>

Modified: phpcompta/trunk/include/template/ledger_detail_top.php
===================================================================
--- phpcompta/trunk/include/template/ledger_detail_top.php      2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/ledger_detail_top.php      2013-05-16 
21:34:17 UTC (rev 5272)
@@ -1,5 +1,5 @@
 <div 
style="float:right;height:10px;display:block;margin-top:2px;margin-right:2px">
-<?
+<?php 
    if ($div != "popup") {
      $callback=$_SERVER['PHP_SELF'];
      $str=$_SERVER['QUERY_STRING']."&act=$action&ajax=$callback";
@@ -10,9 +10,9 @@
 ?>
 </div>
 <div>
-   <? echo h2info($oLedger->get_name()); ?>
+   <?php echo h2info($oLedger->get_name()); ?>
 </div>
-<? echo "Opération ID=".hb($obj->det->jr_internal); ?>
-<div id="<?=$div.'info'?>" class="divinfo"></div>
-<? require_once('class_itextarea.php');
+<?php echo "Opération ID=".hb($obj->det->jr_internal); ?>
+<div id="<?php echo $div.'info'?>" class="divinfo"></div>
+<?php require_once('class_itextarea.php');
 ?>
\ No newline at end of file

Modified: phpcompta/trunk/include/template/ledger_detail_ven.php
===================================================================
--- phpcompta/trunk/include/template/ledger_detail_ven.php      2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/ledger_detail_ven.php      2013-05-16 
21:34:17 UTC (rev 5272)
@@ -1,15 +1,15 @@
-<? require_once('template/ledger_detail_top.php'); ?>
+<?php require_once('template/ledger_detail_top.php'); ?>
 <div class="content" style="padding:0;">
-<?
+<?php 
   require_once('class_own.php');
   $owner=new Own($cn);
 ?>
 
-    <? if ( $access=='W') : ?>
+    <?php if ( $access=='W') : ?>
 <form class="print" onsubmit="return op_save(this);">
-   <? endif; ?>
+   <?php endif; ?>
 
-    <? echo 
HtmlInput::hidden('whatdiv',$div).HtmlInput::hidden('jr_id',$jr_id).dossier::hidden();?>
+    <?php echo 
HtmlInput::hidden('whatdiv',$div).HtmlInput::hidden('jr_id',$jr_id).dossier::hidden();?>
   <table style="width:100%">
   <tr><td>
                                                <table>
@@ -33,7 +33,7 @@
                                                        </td>
                                                <tr>
                                                <td>
-                                               <?
+                                               <?php 
                                                $bk=new 
Fiche($cn,$obj->det->array[0]['qs_client']);
                                                echo td(_('Client'));
 
@@ -44,7 +44,7 @@
                                                </tr>
                                                <tr>
                                                <td>
-                                               <?
+                                               <?php 
                                                $itext=new IText('npj');
                                                
$itext->value=strip_tags($obj->det->jr_pj_number);
                                                echo 
td(_('Pièce')).td($itext->input());
@@ -52,7 +52,7 @@
                                                </td>
                                                <tr>
                                                <td>
-                                               <?
+                                               <?php 
                                                  $itext=new IText('lib');
                                                  
$itext->value=strip_tags($obj->det->jr_comment);
                                                  $itext->size=40;
@@ -66,7 +66,7 @@
                                                                                
                   <td></td>
                                                         <td>Payé</td>
                                                         <td>
-                                                            <?
+                                                            <?php 
                                                             $ipaid=new 
ICheckBox("ipaid",'paid');
                                                             
$ipaid->selected=($obj->det->jr_rapt=='paid');
                                                             echo 
$ipaid->input();
@@ -83,7 +83,7 @@
                        </td></tr>
                        <tr>
                        <td>
-                       <?
+                       <?php 
                        $inote=new ITextarea('jrn_note');
                        $inote->width=25;
                        $inote->heigh=5;
@@ -99,10 +99,10 @@
 </table>
 <div class="myfieldset">
        <h1 class="legend">
-<?=_('Détail')?>
+<?php echo _('Détail')?>
        </h1>
 <table class="result">
-<?
+<?php 
   bcscale(2);
   $total_htva=0;$total_tvac=0;
   echo th(_('Quick Code'));
@@ -223,9 +223,9 @@
 </div>
 <div class="myfieldset">
        <h1 class="legend">
-<?=_('Ecritures comptables')?>
+<?php echo _('Ecritures comptables')?>
        </h1>
-       <?
+       <?php 
   /* if it is not in a popup, the details are hidden */
   if ( $div != 'popup') {
     $ib=new IButton ("a".$div);
@@ -246,7 +246,7 @@
 
 <table class="result">
 <tr>
-<?
+<?php 
  echo th(_('Poste Comptable'));
     echo th(_('Quick Code'));
     echo th(_('Libellé'));
@@ -289,7 +289,7 @@
 </table>
 </div>
 </div>
-<?
+<?php 
 require_once('ledger_detail_bottom.php');
 ?>
 </div>

Modified: phpcompta/trunk/include/template/ledger_search.php
===================================================================
--- phpcompta/trunk/include/template/ledger_search.php  2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/template/ledger_search.php  2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -2,7 +2,7 @@
 <table>
 <tr>
 <td style="text-align:right;width:30em">
-<?=_('Dans le journal')?>
+<?php echo _('Dans le journal')?>
 </td>
 <td>
    <?php echo $f_ledger; ?>
@@ -11,16 +11,16 @@
 
 <tr>
 <td style="text-align:right;width:30em">
-<?=_('Et Compris entre les date')?>
+<?php echo _('Et Compris entre les date')?>
 </td>
 <td>
-<?php echo $f_date_start->input();  ?> <?=_('et')?> <?php echo 
$f_date_end->input();  ?>
+<?php echo $f_date_start->input();  ?> <?php echo _('et')?> <?php echo 
$f_date_end->input();  ?>
 </td>
 </tr>
 
 <tr>
 <td style="text-align:right;width:30em">
-<?=_('Et contenant dans le libellé, pièce justificative ou n° interne')?>
+<?php echo _('Et contenant dans le libellé, pièce justificative ou n° 
interne')?>
 </td>
 
 <td>
@@ -29,15 +29,15 @@
 </tr>
 <tr>
 <td style="text-align:right;width:30em">
-<?=_('Et compris entre les montants')?>
+<?php echo _('Et compris entre les montants')?>
 </td>
 <td >
-<?php echo $f_amount_min->input();  ?> <?=_('et')?> <?php echo 
$f_amount_max->input(); ; ?>
+<?php echo $f_amount_min->input();  ?> <?php echo _('et')?> <?php echo 
$f_amount_max->input(); ; ?>
 </td>
 </tr>
 <tr>
 <td style="text-align:right;width:30em">
-       <?=_('Et utilisant la fiche (quick code)')?>
+       <?php echo _('Et utilisant la fiche (quick code)')?>
 </td>
 <td>
    <?php echo $f_qcode->input(); echo $f_qcode->search(); ?>
@@ -55,7 +55,7 @@
 
 <tr>
 <td style="text-align:right;width:30em">
-       <?=_('Et uniquement non payées')?>
+       <?php echo _('Et uniquement non payées')?>
 </td>
 
 <td>

Modified: phpcompta/trunk/include/template/letter_all.php
===================================================================
--- phpcompta/trunk/include/template/letter_all.php     2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/template/letter_all.php     2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -7,35 +7,35 @@
 
 if ( count($this->content) == 0 ) :
 ?>
-  <h2 class="info2"><?=_('Désolé aucun résultat trouvé')?></h2>
+  <h2 class="info2"><?php echo _('Désolé aucun résultat trouvé')?></h2>
 
 <?php exit();
   endif;?>
   <table class="result">
 <tr>
 <th>
-   <?=_('Lettrage')?>
+   <?php echo _('Lettrage')?>
 </th>
 <th>
-   <?=_('Date')?>
+   <?php echo _('Date')?>
 </th>
 <th>
-   <?=_('Ref')?>
+   <?php echo _('Ref')?>
 </th>
 <th>
-   <?=_('Interne')?>
+   <?php echo _('Interne')?>
 </th>
 <th>
-   <?=_('Description')?>
+   <?php echo _('Description')?>
 </th>
 <th style="text-align:right">
-   <?=_('Débit')?>
+   <?php echo _('Débit')?>
 </th>
 <th style="text-align:right">
-   <?=_('Crédit')?>
+   <?php echo _('Crédit')?>
 </th>
 <th style="text-align:center">
-  <?=_('Op. concernée')?>
+  <?php echo _('Op. concernée')?>
 </th>
 </tr>
 
@@ -44,7 +44,7 @@
   $class="";
 if ( ($i % 2) == 0 ) $class="odd";
 ?>
-  <tr <? echo "class=\"$class\""; ?> >
+  <tr <?php echo "class=\"$class\""; ?> >
 <td>
 <?php
 $letter=($this->content[$i]['letter']==-1)?" aucun lettrage 
":strtoupper(base_convert($this->content[$i]['letter'],10,36));
@@ -54,26 +54,26 @@
   ";dsp_letter(this)";
 
 ?>
-<A class="detail" style="text-decoration: underline" 
href="javascript:<?=$js?>"><?=$letter?>
-<? if ( $this->content[$i]['letter_diff'] != 0) echo $g_failed;        ?>
+<A class="detail" style="text-decoration: underline" href="javascript:<?php 
echo $js?>"><?php echo $letter?>
+<?php if ( $this->content[$i]['letter_diff'] != 0) echo $g_failed;     ?>
        </A>
 </td>
-<td> <?=  smaller_date($this->content[$i]['j_date_fmt'])?> </td>
-<td> <?=$this->content[$i]['jr_pj_number']?> </td>
+<td> <?php echo   smaller_date($this->content[$i]['j_date_fmt'])?> </td>
+<td> <?php echo $this->content[$i]['jr_pj_number']?> </td>
 
 <?php
 $r=sprintf('<A class="detail" style="text-decoration:underline" 
HREF="javascript:viewOperation(\'%s\',\'%s\')" >%s</A>',
             $this->content[$i]['jr_id'], $gDossier, 
$this->content[$i]['jr_internal']);
 ?>
-  <td> <?=$r?> </td>
-  <td> <?=h($this->content[$i]['jr_comment'])?> </td>
-  <? if ($this->content[$i]['j_debit']=='t') : ?>
-  <td style="text-align:right"> <?=nb($this->content[$i]['j_montant'])?> </td>
+  <td> <?php echo $r?> </td>
+  <td> <?php echo h($this->content[$i]['jr_comment'])?> </td>
+  <?php if ($this->content[$i]['j_debit']=='t') : ?>
+  <td style="text-align:right"> <?php echo 
nb($this->content[$i]['j_montant'])?> </td>
   <td></td>
-  <? else : ?>
+  <?php else : ?>
   <td></td>
-  <td style="text-align:right"> <?=nb($this->content[$i]['j_montant'])?> </td>
-  <? endif ?>
+  <td style="text-align:right"> <?php echo 
nb($this->content[$i]['j_montant'])?> </td>
+  <?php endif ?>
 <td style="text-align:center">
 <?php
     // Rapprochement
@@ -102,14 +102,14 @@
     endfor;
 ?>
 </table>
-<h2 class="info2" style="margin:0 0"> Solde débit  : <?=nb($amount_deb);?></h2>
-<h2 class="info2"  style="margin:0 0"> Solde crédit : 
<?=nb($amount_cred);?></h2>
-  <?
+<h2 class="info2" style="margin:0 0"> Solde débit  : <?php echo 
nb($amount_deb);?></h2>
+<h2 class="info2"  style="margin:0 0"> Solde crédit : <?php echo 
nb($amount_cred);?></h2>
+  <?php 
 bcscale(2);
   $solde=bcsub($amount_deb,$amount_cred);
 if ( $solde > 0 ) :
 ?>
-  <h2 class="info2"  style="margin:0 0"> Solde débiteur       : 
<?=nb($solde)?></h2>
-<? else : ?>
-     <h2 class="info2"  style="margin:0 0"> Solde créditeur       : 
<?=nb(abs($solde))?></h2>
-<? endif; ?>
+  <h2 class="info2"  style="margin:0 0"> Solde débiteur       : <?php echo 
nb($solde)?></h2>
+<?php else : ?>
+     <h2 class="info2"  style="margin:0 0"> Solde créditeur       : <?php echo 
nb(abs($solde))?></h2>
+<?php endif; ?>

Modified: phpcompta/trunk/include/template/letter_prop.php
===================================================================
--- phpcompta/trunk/include/template/letter_prop.php    2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/template/letter_prop.php    2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -5,7 +5,7 @@
 $gDossier=dossier::id();
 if ( count($this->content) == 0 ) :
 ?>
-  <h2 class="info2"><?=_('Désolé aucun résultat trouvé')?></h2>
+  <h2 class="info2"><?php echo _('Désolé aucun résultat trouvé')?></h2>
 
     <?php
   else :
@@ -16,25 +16,25 @@
 <th>
 </th>
 <th>
-   <?=_('Lettrage')?>
+   <?php echo _('Lettrage')?>
 </th>
 <th>
-   <?=_('Date')?>
+   <?php echo _('Date')?>
 </th>
 <th>
-   <?=_('Ref')?>
+   <?php echo _('Ref')?>
 </th>
 <th>
-   <?=_('Description')?>
+   <?php echo _('Description')?>
 </th>
 <th style="text-align:right">
-   <?=_('Débit')?>
+   <?php echo _('Débit')?>
 </th>
 <th style="text-align:right">
-   <?=_('Crédit')?>
+   <?php echo _('Crédit')?>
 </th>
 <th style="text-align:center">
-  <?=_('Op. concernée')?>
+  <?php echo _('Op. concernée')?>
 </th>
 </tr>
 
@@ -56,32 +56,32 @@
 <th>
 </th>
 <th>
-   <?=_('Lettrage')?>
+   <?php echo _('Lettrage')?>
 </th>
 <th>
-   <?=_('Date')?>
+   <?php echo _('Date')?>
 </th>
 <th>
-   <?=_('Ref')?>
+   <?php echo _('Ref')?>
 </th>
 <th>
-   <?=_('Description')?>
+   <?php echo _('Description')?>
 </th>
 <th style="text-align:right">
-   <?=_('Débit')?>
+   <?php echo _('Débit')?>
 </th>
 <th style="text-align:right">
-   <?=_('Crédit')?>
+   <?php echo _('Crédit')?>
 </th>
 <th style="text-align:center">
-  <?=_('Op. concernée')?>
+  <?php echo _('Op. concernée')?>
 </th>
 </tr>
-<?
+<?php 
 
 }
 ?>
-  <tr <? echo "class=\"$class\""; ?> >
+  <tr <?php echo "class=\"$class\""; ?> >
 <td>
 <?php
 
@@ -100,22 +100,22 @@
 <?php
 $letter=($this->content[$i]['letter']< 0)?" 
":strtoupper(base_convert($this->content[$i]['letter'],10,36));
 ?>
-<?=$letter?>
+<?php echo $letter?>
 </td>
-<td> <?=smaller_date($this->content[$i]['j_date_fmt'])?> </td>
+<td> <?php echo smaller_date($this->content[$i]['j_date_fmt'])?> </td>
 <?php
 $r=sprintf('<A class="detail" style="text-decoration:underline"  
HREF="javascript:viewOperation(\'%s\',\'%s\')" >%s</A>',
           $this->content[$i]['jr_id'], $gDossier,  
$this->content[$i]['jr_internal']);
 ?>
-<td> <?=$r?> </td>
-<td> <?=$this->content[$i]['jr_comment']?> </td>
- <? if ($this->content[$i]['j_debit']=='t') : ?>
-  <td style="text-align:right"> <?=nb($this->content[$i]['j_montant'])?> </td>
+<td> <?php echo $r?> </td>
+<td> <?php echo $this->content[$i]['jr_comment']?> </td>
+ <?php if ($this->content[$i]['j_debit']=='t') : ?>
+  <td style="text-align:right"> <?php echo 
nb($this->content[$i]['j_montant'])?> </td>
   <td></td>
-  <? else : ?>
+  <?php else : ?>
   <td></td>
-  <td style="text-align:right"> <?=nb($this->content[$i]['j_montant'])?> </td>
-  <? endif ?>
+  <td style="text-align:right"> <?php echo 
nb($this->content[$i]['j_montant'])?> </td>
+  <?php endif ?>
 <td style="text-align:center">
 <?php
     // Rapprochement
@@ -153,10 +153,10 @@
 ?>
 </TABLE>
   <h2 class="info"> Total lettré</h2>
-<span style="display:block;font-size:14px"><?=_('Total Debit')?>   
<?=$amount_deb?></span>
-<span style="display:block;font-size:14px"><?=_('Total Credit')?>   
<?=$amount_cred?></span>
-<span style="display:block;font-size:14px"><?=_('Total ').$side?>   
<?=$delta?></span>
+<span style="display:block;font-size:14px"><?php echo _('Total Debit')?>   
<?php echo $amount_deb?></span>
+<span style="display:block;font-size:14px"><?php echo _('Total Credit')?>   
<?php echo $amount_cred?></span>
+<span style="display:block;font-size:14px"><?php echo _('Total ').$side?>   
<?php echo $delta?></span>
 
 <?php endif;?>
-<?=HtmlInput::button('check_all','Sélectionner tout',' 
onclick="select_checkbox(\'letter_form\')"');?>
-<?=HtmlInput::button('check_none','Tout Désélectionner ',' 
onclick="unselect_checkbox(\'letter_form\')"');?>
\ No newline at end of file
+<?php echo HtmlInput::button('check_all','Sélectionner tout',' 
onclick="select_checkbox(\'letter_form\')"');?>
+<?php echo HtmlInput::button('check_none','Tout Désélectionner ',' 
onclick="unselect_checkbox(\'letter_form\')"');?>
\ No newline at end of file

Modified: phpcompta/trunk/include/template/list_category_document.php
===================================================================
--- phpcompta/trunk/include/template/list_category_document.php 2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/list_category_document.php 2013-05-16 
21:34:17 UTC (rev 5272)
@@ -7,39 +7,39 @@
   $row=$aList[$i];
 ?>
 
-<tr id="row<?=$row['dt_id']?>">
+<tr id="row<?php echo $row['dt_id']?>">
 <td colspan="2">
-<?=h($row['dt_value']);?>
+<?php echo h($row['dt_value']);?>
 </td>
 <td colspan="2">
-<?=h($row['dt_prefix']);?>
+<?php echo h($row['dt_prefix']);?>
 </td>
 <td>
-<?=$row['js_mod'];?>
+<?php echo $row['js_mod'];?>
 </td>
 <td>
-<?=$row['js_remove'];?>
+<?php echo $row['js_remove'];?>
 </td>
 
 
 </tr>
-<?
+<?php 
 endfor;
 ?>
 <tr>
 <td>
-<?=$str_addCat?>
+<?php echo $str_addCat?>
 </td>
 <td>
-<?=$str_addPrefix?>
+<?php echo $str_addPrefix?>
 </td>
 <td>
-   <?=$str_submit?>
+   <?php echo $str_submit?>
 </td>
 </tr>
 
 </table>
-<?
+<?php 
 echo dossier::hidden();
 echo HtmlInput::hidden('ac',$_REQUEST['ac']);
 ?>

Modified: phpcompta/trunk/include/template/list_mod_payment.php
===================================================================
--- phpcompta/trunk/include/template/list_mod_payment.php       2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/list_mod_payment.php       2013-05-16 
21:34:17 UTC (rev 5272)
@@ -31,56 +31,56 @@
  <table class="table_large" >
         <tr >
                 <th>
-                        <?=$header->get_header(0)?>
+                        <?php echo $header->get_header(0)?>
                 </th>
                 <th style="text-align:center">
-                        <?=$header->get_header(1)?>
+                        <?php echo $header->get_header(1)?>
                 </th>
                 <th style="text-align:center">
-                        <?=$header->get_header(2)?>
+                        <?php echo $header->get_header(2)?>
                 </th>
                 <th style="text-align:center">
-                        <?=$header->get_header(3)?>
+                        <?php echo $header->get_header(3)?>
                 </th>
                 <th style="text-align:center">
-                        <?=$header->get_header(4)?>
+                        <?php echo $header->get_header(4)?>
                 </th>
                 <th>
 
                 </th>
         </tr>
-<? for ($i=0;$i<count($array);$i++):
+<?php for ($i=0;$i<count($array);$i++):
        if ($i%2==0):
                $class='class="odd" ';
        else:
                $class='class="even"';
        endif;
 ?>
-        <tr <?=$class?>>
+        <tr <?php echo $class?>>
                 <td>
-                        <?=h($array[$i]['mp_lib'])?>
+                        <?php echo h($array[$i]['mp_lib'])?>
                 </td>
                 <td style="text-align:center">
-                        <?=h($array[$i]['jrn_def_name'])?>
+                        <?php echo h($array[$i]['jrn_def_name'])?>
 
                 </td>
                 <td style="text-align:center">
-                        <?=h($array[$i]['fd_label'])?>
+                        <?php echo h($array[$i]['fd_label'])?>
 
                 </td>
                 <td style="text-align:center">
-                        <?=h($array[$i]['jrn_target'])?>
+                        <?php echo h($array[$i]['jrn_target'])?>
                 </td>
                 <td style="text-align:center">
-                        <?=h($array[$i]['vw_name'])?>
+                        <?php echo h($array[$i]['vw_name'])?>
                 </td>
 
-<?
+<?php 
 echo 
$td.HtmlInput::button_anchor(_('Modifie'),'?ac='.$_REQUEST['ac'].'&sa=mp&sb=change&'.dossier::get().
                                               '&id='.$array[$i]['mp_id']);
 ?>
 
         </tr>
-<? endfor;?>
+<?php endfor;?>
 
 </table>
\ No newline at end of file

Modified: phpcompta/trunk/include/template/menu.php
===================================================================
--- phpcompta/trunk/include/template/menu.php   2013-05-16 18:00:08 UTC (rev 
5271)
+++ phpcompta/trunk/include/template/menu.php   2013-05-16 21:34:17 UTC (rev 
5272)
@@ -1,8 +1,8 @@
 <div class="topmenu">
-    <? if ( count($amenu) > 4 && $idx == 0) :
+    <?php if ( count($amenu) > 4 && $idx == 0) :
        $style ='style= "width:100%"';
     ?>
-    <? elseif ($idx==0):
+    <?php elseif ($idx==0):
 switch (count($amenu))
 {
 case 4:
@@ -18,7 +18,7 @@
                $style=" class=\"mtitle\"";
 
        endif;?>
-<table  <?=$style?> >
+<table  <?php echo $style?> >
 
 
     <tr>
@@ -29,12 +29,12 @@
            if ( (count($amenu)==1)|| (isset($module[$idx+1]) && 
$module[$idx+1]==$amenu[$i]['me_code'])):
                $class="selectedcell";
 ?>
-       <td class="<?=$class?>">
-           <a class="mtitle" 
href="do.php?gDossier=<?=Dossier::id()?>&ac=<?=$_REQUEST['ac']?>" 
title="<?=h(_($amenu[$i]['me_description']))?>" >
-           <?=_($amenu[$i]['me_menu'])?>
+       <td class="<?php echo $class?>">
+           <a class="mtitle" href="do.php?gDossier=<?php echo 
Dossier::id()?>&ac=<?php echo $_REQUEST['ac']?>" title="<?php echo 
h(_($amenu[$i]['me_description']))?>" >
+           <?php echo _($amenu[$i]['me_menu'])?>
            </a>
        </td>
-<?
+<?php 
            else:
                $class="mtitle";
            $url="";$pt="";
@@ -57,18 +57,18 @@
                        $url.=$pt.$amenu[$i]['me_code'];
                }
 
-?>     <td class="<?=$class?>">
-           <a class="mtitle" 
href="do.php?gDossier=<?=Dossier::id()?>&ac=<?=$url?>" <?=$js?> 
title="<?=h(_($amenu[$i]['me_description']))?>">
-           <?=_($amenu[$i]['me_menu'])?>
+?>     <td class="<?php echo $class?>">
+           <a class="mtitle" href="do.php?gDossier=<?php echo 
Dossier::id()?>&ac=<?php echo $url?>" <?php echo $js?> title="<?php echo 
h(_($amenu[$i]['me_description']))?>">
+           <?php echo _($amenu[$i]['me_menu'])?>
            </a>
        </td>
 
 
-<?
+<?php 
 endif;
 
        ?>
-       <?
+       <?php 
            endfor;
        ?>
     </tr>

Modified: phpcompta/trunk/include/template/menu_detail.php
===================================================================
--- phpcompta/trunk/include/template/menu_detail.php    2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/template/menu_detail.php    2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -19,7 +19,7 @@
             Code du menu
         </td>
         <td>
-            <?=$str_code->input()?>
+            <?php echo $str_code->input()?>
         </td>
     </tr>
         <tr>
@@ -27,7 +27,7 @@
             Libellé du menu
         </td>
         <td>
-            <?=$str_menu->input()?>
+            <?php echo $str_menu->input()?>
         </td>
     </tr>
         <tr>
@@ -35,7 +35,7 @@
             Description
         </td>
         <td>
-            <?=$str_desc->input()?>
+            <?php echo $str_desc->input()?>
         </td>
     </tr>
          <tr>
@@ -43,7 +43,7 @@
             Fichier à inclure (depuis le répertoire include)
         </td>
         <td>
-            <?=$str_file->input()?>
+            <?php echo $str_file->input()?>
         </td>
     </tr>
     <tr>
@@ -51,7 +51,7 @@
             URL
         </td>
         <td>
-            <?=$str_url->input()?>
+            <?php echo $str_url->input()?>
         </td>
     </tr>
      <tr>
@@ -59,7 +59,7 @@
             Paramèttre
         </td>
         <td>
-            <?=$str_parameter->input()?>
+            <?php echo $str_parameter->input()?>
         </td>
     </tr>
      <tr>
@@ -67,7 +67,7 @@
             Javascript
         </td>
         <td>
-            <?=$str_js->input()?>
+            <?php echo $str_js->input()?>
         </td>
     </tr>
 </table>

Modified: phpcompta/trunk/include/template/modele_document.php
===================================================================
--- phpcompta/trunk/include/template/modele_document.php        2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/modele_document.php        2013-05-16 
21:34:17 UTC (rev 5272)
@@ -1,4 +1,4 @@
-<?=HtmlInput::anchor_close('mod_doc');?>
+<?php echo HtmlInput::anchor_close('mod_doc');?>
 <h2 class="info">Modèle de document</h2>
 <form  method="post" enctype="multipart/form-data">
 <table>

Modified: phpcompta/trunk/include/template/module.php
===================================================================
--- phpcompta/trunk/include/template/module.php 2013-05-16 18:00:08 UTC (rev 
5271)
+++ phpcompta/trunk/include/template/module.php 2013-05-16 21:34:17 UTC (rev 
5272)
@@ -15,9 +15,9 @@
 ?>
        <div id="direct">
        <form method="get">
-               <?=HtmlInput::default_value('ac', '', $_REQUEST)?>
-               <?=Dossier::hidden()?>
-               <?
+               <?php echo HtmlInput::default_value('ac', '', $_REQUEST)?>
+               <?php echo Dossier::hidden()?>
+               <?php 
 
                        $direct=new IText('ac');
                        $direct->style='class="input_text"';
@@ -27,7 +27,7 @@
                        $gDossier=dossier::id();
                        ?>
                <div id="ac_choices" class="autocomplete" 
style="width:150"></div>
-               <?
+               <?php 
                        echo HtmlInput::submit('go','aller');
                        ?>
 
@@ -35,16 +35,16 @@
        <script charset="utf8" language="javascript">
 
                try {
-                       new 
Ajax.Autocompleter("ac","ac_choices","direct.php?gDossier=<?=$gDossier?>",
+                       new 
Ajax.Autocompleter("ac","ac_choices","direct.php?gDossier=<?php echo 
$gDossier?>",
                             {paramName:"acs",minChars:1,indicator:null,
                             callback:null,
                              afterUpdateElement:null});} catch 
(e){alert(e.message);};
                </script>
        </div>
-<?
+<?php 
 endif;?>
        <div id="dossier">
-       <H2 class="dossier"> Dossier : <?=h(dossier::name())?></h2>
+       <H2 class="dossier"> Dossier : <?php echo h(dossier::name())?></h2>
        </div>
     </div>
 
@@ -78,9 +78,9 @@
                                
$url="do.php?gDossier=".Dossier::id()."&ac=".$row['me_code'];
                    }
                    ?>
-               <td class="tool" style="<?=$style?>">
-                       <a class="mtitle" href="<?=$url?>" 
title="<?=_($row['me_description'])?>" <?=$js?> 
><?=_($row['me_menu'])?></a></td>
-               <?
+               <td class="tool" style="<?php echo $style?>">
+                       <a class="mtitle" href="<?php echo $url?>" title="<?php 
echo _($row['me_description'])?>" <?php echo $js?> ><?php echo 
_($row['me_menu'])?></a></td>
+               <?php 
                    endforeach;
                ?>
            </tr>

Modified: phpcompta/trunk/include/template/new_mod_payment.php
===================================================================
--- phpcompta/trunk/include/template/new_mod_payment.php        2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/new_mod_payment.php        2013-05-16 
21:34:17 UTC (rev 5272)
@@ -1,50 +1,50 @@
 <fieldset>
-<legend><?=$msg?>
+<legend><?php echo $msg?>
 </legend>
 <table>
 <tr>
 <td>
-   <?=_('Pour le journal')?>
+   <?php echo _('Pour le journal')?>
 </td>
 <td>
-<?=$f_source?>
+<?php echo $f_source?>
 </td>
 </tr>
 
 <tr>
 <td>
-   <?=_('Libellé')?>
+   <?php echo _('Libellé')?>
 </td>
 <td>
-<?=$f_lib?>
+<?php echo $f_lib?>
 </td>
 </tr>
 
 <tr>
 <td>
-   <?=_('Type de fiche')?>
+   <?php echo _('Type de fiche')?>
 </td>
 <td>
-<?=$f_type_fiche?>
+<?php echo $f_type_fiche?>
 </td>
 </tr>
 
 
 <tr>
 <td>
-   <?=_('Paiement enregistré dans ')?>
+   <?php echo _('Paiement enregistré dans ')?>
 </td>
 <td>
-<?=$f_ledger_record?>
+<?php echo $f_ledger_record?>
 </td>
 </tr>
 
 <tr>
 <td>
-   <?=_('Avec la fiche')?>
+   <?php echo _('Avec la fiche')?>
 </td>
 <td>
-<?=$f_qcode?>
+<?php echo $f_qcode?>
 </td>
 </tr>
 </table>

Modified: phpcompta/trunk/include/template/operation_detail_ach.php
===================================================================
--- phpcompta/trunk/include/template/operation_detail_ach.php   2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/operation_detail_ach.php   2013-05-16 
21:34:17 UTC (rev 5272)
@@ -28,7 +28,7 @@
 global $g_parameter;
 ?>
 <table class="result" >
-       <?
+       <?php 
        bcscale(2);
        $total_htva = 0;
        $total_tvac = 0;

Modified: phpcompta/trunk/include/template/operation_detail_misc.php
===================================================================
--- phpcompta/trunk/include/template/operation_detail_misc.php  2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/operation_detail_misc.php  2013-05-16 
21:34:17 UTC (rev 5272)
@@ -28,7 +28,7 @@
 ?>
 <table class="result">
 <tr>
-<?
+<?php 
     echo th(_('Poste Comptable'));
     echo th(_('Quick Code'));
     echo th(_('Libellé'));

Modified: phpcompta/trunk/include/template/operation_detail_ven.php
===================================================================
--- phpcompta/trunk/include/template/operation_detail_ven.php   2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/operation_detail_ven.php   2013-05-16 
21:34:17 UTC (rev 5272)
@@ -29,7 +29,7 @@
 global $g_parameter;
 ?>
 <table class="result">
-<?
+<?php 
   bcscale(2);
   $total_htva=0;$total_tvac=0;
   echo th(_('Quick Code'));

Modified: phpcompta/trunk/include/template/param_jrn.php
===================================================================
--- phpcompta/trunk/include/template/param_jrn.php      2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/template/param_jrn.php      2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -1,43 +1,43 @@
 <TABLE>
 <TR>
 
-               <TD><?=_('Nom journal')?> </TD>
+               <TD><?php echo _('Nom journal')?> </TD>
                <TD> <INPUT TYPE="text" class="input_text" NAME="p_jrn_name" 
VALUE="<?php       echo $name;     ?>"></TD>
 </TR>
-<?
+<?php 
 if ($new || $type=='ODS' ):
 ?>
 <TR>
-<td><?=_('Postes utilisables journal (débit/crédit) ')?>
+<td><?php echo _('Postes utilisables journal (débit/crédit) ')?>
 </TD>
 <td>
 <?php echo $search;?>
 </TD>
 <TD CLASS="notice">
-<?=_("Uniquement pour les journaux d'Opérations Diverses, les valeurs sont 
séparées par des espaces, on peut aussi
+<?php echo _("Uniquement pour les journaux d'Opérations Diverses, les valeurs 
sont séparées par des espaces, on peut aussi
        utiliser le * pour indiquer 'tous les postes qui en dépendent' exemple: 
4*")?>
 </TD>
 </TR>
-<?
+<?php 
 endif;
 ?>
-<?
+<?php 
 if ( $new || $type=='FIN') {
 ?>
 <tr>
 <td>
-    <?=_('Numérotation de chaque opération')?>
+    <?php echo _('Numérotation de chaque opération')?>
 </td>
 <td>
-    <?=$num_op->input();?>
+    <?php echo $num_op->input();?>
 </td>
 </tr>
 <tr>
 <TD>
-<?=_('Compte en banque')?>
+<?php echo _('Compte en banque')?>
 </td>
 <TD>
-<?
+<?php 
 $card=new ICard();
 $card->name='bank';
 $card->extra=$cn->make_list('select fd_id from fiche_def where frd_id=4');
@@ -53,9 +53,9 @@
 ?>
 </td>
 <td class="notice">
-<?=_("Obligatoire pour les journaux FIN : donner ici la fiche de la banque 
utilisée")?>
+<?php echo _("Obligatoire pour les journaux FIN : donner ici la fiche de la 
banque utilisée")?>
 </td>
-<?
+<?php 
 }
 ?>
 </TR>
@@ -69,45 +69,45 @@
 </tr>
 
 <TR>
-<TD><?=_('Type de journal')?> </TD>
+<TD><?php echo _('Type de journal')?> </TD>
 <TD>
 <?php echo $type;?>
 </TD>
 </TR>
 <TR>
-<TD><?=_('Préfixe code interne')?> </TD><TD>
+<TD><?php echo _('Préfixe code interne')?> </TD><TD>
 <?php echo $code?> </TD>
 </TR>
 <TR>
-<TD><?=_('Préfixe pièce justificative')?>
+<TD><?php echo _('Préfixe pièce justificative')?>
 </TD>
 <TD>
 <?php echo $pj_pref; ?>
 </TD>
 <TD>
-<span class="notice"><?=_('Le préfixe des pièces doit être différent pour 
chaque journal, on peut aussi utiliser l\'année')?></span><br>
-<span class="notice"><?=_('Uniquement des chiffres')?></span>
+<span class="notice"><?php echo _('Le préfixe des pièces doit être différent 
pour chaque journal, on peut aussi utiliser l\'année')?></span><br>
+<span class="notice"><?php echo _('Uniquement des chiffres')?></span>
 </TD>
 
 </TR>
 <TR>
 <TD>
-  <?=_('Dernière pièce numérotée')?>
+  <?php echo _('Dernière pièce numérotée')?>
 </TD>
 <TD>
-<?=$last_seq?>
+<?php echo $last_seq?>
 </TD>
 </TR>
 <tr>
-<TD><?=_('N° pièce justificative')?>
+<TD><?php echo _('N° pièce justificative')?>
 </TD>
 <TD>
 <?php echo $pj_seq; ?>
 </TD>
 
 <TD>
-<span class="notice" style="display:block"><?=_('La numérotation est propre à 
chaque journal')?></span>
-<span class="notice" style="display:block"><?=_('Laissez à 0 pour ne pas 
changer le numéro')?></span>
+<span class="notice" style="display:block"><?php echo _('La numérotation est 
propre à chaque journal')?></span>
+<span class="notice" style="display:block"><?php echo _('Laissez à 0 pour ne 
pas changer le numéro')?></span>
 </TD>
 </tr>
 
@@ -116,12 +116,12 @@
 <H2 class="info"> Fiches </H2>
 <TABLE width="100%">
 <TR>
-<?
+<?php 
 if ( $new || ($type != 'ODS' && $type != 'FIN')) {
 ?>
-<th style="text-align:left"><?=_('Fiches Débit')?></TH>
-<th style="text-align:left"><?=_('Fiches Crédit')?></TH>
-<?
+<th style="text-align:left"><?php echo _('Fiches Débit')?></TH>
+<th style="text-align:left"><?php echo _('Fiches Crédit')?></TH>
+<?php 
 }
 ?>
 </TR>

Modified: phpcompta/trunk/include/template/periode_add_exercice.php
===================================================================
--- phpcompta/trunk/include/template/periode_add_exercice.php   2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/periode_add_exercice.php   2013-05-16 
21:34:17 UTC (rev 5272)
@@ -10,7 +10,7 @@
 </ul>
 
 <form method="post" onsubmit="return confirm('Confirmez vous l\'ajout d\'un 
exercice comptable ?')">
-<?
+<?php 
 echo HtmlInput::hidden("ac",$_REQUEST['ac']);
 echo $nb_exercice->input();
 echo HtmlInput::hidden("jrn_def_id","0");

Modified: phpcompta/trunk/include/template/profile.php
===================================================================
--- phpcompta/trunk/include/template/profile.php        2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/template/profile.php        2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -31,18 +31,18 @@
 <table>
 <tr>
        <td>Nom</td>
-       <td><?=$name->input();?></td>
+       <td><?php echo $name->input();?></td>
 </tr>
 <tr>
        <td>Description</td>
-       <td><?=$desc->input()?></td>
+       <td><?php echo $desc->input()?></td>
 </tr>
 <tr>
        <td>Avec Calculatrice</td>
-       <td><?=$with_calc->input()?></td>
+       <td><?php echo $with_calc->input()?></td>
 </tr>
 <tr>
        <td>Avec Direct Form</td>
-       <td><?=$with_direct_form->input()?></td>
+       <td><?php echo $with_direct_form->input()?></td>
 </tr>
 </table>
\ No newline at end of file

Modified: phpcompta/trunk/include/template/profile_sec_repository.php
===================================================================
--- phpcompta/trunk/include/template/profile_sec_repository.php 2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/profile_sec_repository.php 2013-05-16 
21:34:17 UTC (rev 5272)
@@ -27,27 +27,27 @@
  */
 ?>
 <form method="POST" class="print">
-<?=HtmlInput::hidden('tab','profile_repo_div')?>
+<?php echo HtmlInput::hidden('tab','profile_repo_div')?>
 
-       <?=HtmlInput::hidden("p_id", $p_id);?>
+       <?php echo HtmlInput::hidden("p_id", $p_id);?>
        <table>
                <tr>
-                       <th><?=_("Dépot")?></th>
-                       <th><?=_("Accès")?></th>
+                       <th><?php echo _("Dépot")?></th>
+                       <th><?php echo _("Accès")?></th>
                </tr>
-               <? for ($i=0;$i<count($array);$i++): ?>
+               <?php for ($i=0;$i<count($array);$i++): ?>
                <tr>
                        <td>
-                               <?=$array[$i]['r_name']?>
-                               
<?=HtmlInput::hidden('ur_id[]',$array[$i]['ur_id'])?>
-                               
<?=HtmlInput::hidden('ar_id[]',$array[$i]['r_id'])?>
+                               <?php echo $array[$i]['r_name']?>
+                               <?php echo 
HtmlInput::hidden('ur_id[]',$array[$i]['ur_id'])?>
+                               <?php echo 
HtmlInput::hidden('ar_id[]',$array[$i]['r_id'])?>
                        </td>
-                         <?
+                         <?php 
                             
$color=($array[$i]['ur_right']!='X')?"border:lightgreen 2px solid; 
":"border:red 2px solid; ";
                         ?>
-                       <td style="<?=$color?>">
+                       <td style="<?php echo $color?>">
 
-                               <?
+                               <?php 
                                $isel=new ISelect("right[]");
                                $isel->value=$aright_value;
                                $isel->selected=$array[$i]['ur_right'];
@@ -56,4 +56,4 @@
                </tr>
                <?endfor;?>
        </table>
-<?=HtmlInput::submit("change_stock", "Sauver")?>
+<?php echo HtmlInput::submit("change_stock", "Sauver")?>

Modified: phpcompta/trunk/include/template/result_cat_card_summary.php
===================================================================
--- phpcompta/trunk/include/template/result_cat_card_summary.php        
2013-05-16 18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/result_cat_card_summary.php        
2013-05-16 21:34:17 UTC (rev 5272)
@@ -1,14 +1,14 @@
 <div class="content">
 <table >
 <tr>
-<?
+<?php 
    echo th('Détail');
 for ($i=0;$i<count($aHeading);$i++) :
    echo th($aHeading[$i]->ad_text,'style="color:blue;padding: 0 5 1 10"');
    endfor;
 ?>
 </tr>
-<?
+<?php 
 $e=0;
 foreach ($array as $row ) :
  $e++;

Modified: phpcompta/trunk/include/template/search_top.php
===================================================================
--- phpcompta/trunk/include/template/search_top.php     2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/template/search_top.php     2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -29,7 +29,7 @@
  */
 ?>
 <div 
style="float:right;height:10px;display:block;margin-top:2px;margin-right:2px">
-<?
+<?php 
    if ($div == "search_op") {
      $callback=$_SERVER['PHP_SELF'];
      $str="recherche.php?".Dossier::get().'&ac=SEARCH';
@@ -38,5 +38,5 @@
 ?>
 </div>
 <div>
-       <? echo h2info('Recherche')?>
+       <?php echo h2info('Recherche')?>
 </div>
\ No newline at end of file

Modified: phpcompta/trunk/include/template/stock_histo.php
===================================================================
--- phpcompta/trunk/include/template/stock_histo.php    2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/template/stock_histo.php    2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -29,59 +29,59 @@
 
 ?>
 <div class="content">
-       <?=$nav_bar?>
+       <?php echo $nav_bar?>
 <table class="result">
        <tr>
-               <th><?=$tb->get_header(0);?></th>
-               <th><?=$tb->get_header(1);?></th>
-               <th><?=$tb->get_header(2);?></th>
-               <th><?=$tb->get_header(3);?></th>
+               <th><?php echo $tb->get_header(0);?></th>
+               <th><?php echo $tb->get_header(1);?></th>
+               <th><?php echo $tb->get_header(2);?></th>
+               <th><?php echo $tb->get_header(3);?></th>
                <th>Opération</th>
-               <th><?=$tb->get_header(4);?></th>
-               <th><?=$tb->get_header(5);?></th>
-               <th><?=$tb->get_header(6);?></th>
-               <th><?=$tb->get_header(7);?></th>
+               <th><?php echo $tb->get_header(4);?></th>
+               <th><?php echo $tb->get_header(5);?></th>
+               <th><?php echo $tb->get_header(6);?></th>
+               <th><?php echo $tb->get_header(7);?></th>
        </tr>
-       <?
+       <?php 
 
        for ($i=0;$i<$max_row;$i++):
                $row=Database::fetch_array($res, $i);
                $class=($i%2==0)?' class="even" ':' class="odd" ';
        ?>
-       <tr <?=$class?>>
+       <tr <?php echo $class?>>
                <td>
-                       <?=$row['cdate']?>
+                       <?php echo $row['cdate']?>
                </td>
                <td>
-                       <?=HtmlInput::card_detail($row['sg_code'],"",' 
class="line" ')?>
+                       <?php echo HtmlInput::card_detail($row['sg_code'],"",' 
class="line" ')?>
                </td>
                <td>
-                       <?=$row['r_name']?>
+                       <?php echo $row['r_name']?>
                </td>
                <td>
-                       <? if (trim($row['qcode'])!='') : ?>
-                       <?=HtmlInput::card_detail($row['qcode'],$row['fname'],' 
class="line" ')?>
-                       <? endif; ?>
+                       <?php if (trim($row['qcode'])!='') : ?>
+                       <?php echo 
HtmlInput::card_detail($row['qcode'],$row['fname'],' class="line" ')?>
+                       <?php endif; ?>
                </td>
                <td>
-                       <? if (trim($row['jr_internal'])!='') : ?>
-                       
<?=HtmlInput::detail_op($row['jr_id'],$row['jr_internal'])?>
-                       <? endif; ?>
+                       <?php if (trim($row['jr_internal'])!='') : ?>
+                       <?php echo 
HtmlInput::detail_op($row['jr_id'],$row['jr_internal'])?>
+                       <?php endif; ?>
                </td>
                <td>
-                       <?=$row['ccomment']?>
+                       <?php echo $row['ccomment']?>
                </td>
                <td class="num">
-                       <?=nbm($row['j_montant'])?>
+                       <?php echo nbm($row['j_montant'])?>
                </td>
                <td class="num">
-                       <?=nbm($row['sg_quantity'])?>
+                       <?php echo nbm($row['sg_quantity'])?>
                </td>
                <td>
-                       <?=$row['direction']?>
+                       <?php echo $row['direction']?>
                </td>
        </tr>
-       <? endfor;?>
+       <?php endfor;?>
 </table>
-       <?=$nav_bar?>
+       <?php echo $nav_bar?>
 </div>
\ No newline at end of file

Modified: phpcompta/trunk/include/template/stock_histo_search.php
===================================================================
--- phpcompta/trunk/include/template/stock_histo_search.php     2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/stock_histo_search.php     2013-05-16 
21:34:17 UTC (rev 5272)
@@ -27,45 +27,45 @@
  */
 ?>
 <div id="histo_search_d" class="inner_box" 
style="width:60%;height:280px;display:none">
-       <?= HtmlInput::title_box("Recherche", "histo_search_d", "hide")?>
+       <?php echo  HtmlInput::title_box("Recherche", "histo_search_d", 
"hide")?>
        <form method="GET">
-               <?= HtmlInput::get_to_hidden(array("gDossier", "ac"))?>
+               <?php echo  HtmlInput::get_to_hidden(array("gDossier", "ac"))?>
                <table>
                        <tr>
                                <td> Code Stock </td>
-                               <td> <?= $wcode_stock->input()?><?= 
$wcode_stock->search()?> </td>
+                               <td> <?php echo  $wcode_stock->input()?><?php 
echo  $wcode_stock->search()?> </td>
                        </tr>
                        <tr>
                                <td> Fiche </td>
-                               <td> <?= $wcard->input()?><?= 
$wcard->search()?> </td>
+                               <td> <?php echo  $wcard->input()?><?php echo  
$wcard->search()?> </td>
                        </tr>
                        <tr>
                                <td> A partir de </td>
-                               <td> <?= $wdate_start->input()?> </td>
+                               <td> <?php echo  $wdate_start->input()?> </td>
                        </tr>
                        <tr>
                                <td> Jusque </td>
-                               <td> <?= $wdate_end->input()?> </td>
+                               <td> <?php echo  $wdate_end->input()?> </td>
                        </tr>
                        <tr>
                                <td> Dépôt </td>
-                               <td> <?= $wrepo->input()?> </td>
+                               <td> <?php echo  $wrepo->input()?> </td>
                        </tr>
                        <tr>
                                <td> Montant supérieur ou égal à  </td>
-                               <td> <?= $wamount_start->input()?> </td>
+                               <td> <?php echo  $wamount_start->input()?> </td>
                        </tr>
                        <tr>
                                <td> Montant inférieur ou égal à  </td>
-                               <td> <?= $wamount_end->input()?> </td>
+                               <td> <?php echo  $wamount_end->input()?> </td>
                        </tr>
 
                        <tr>
                                <td> Direction </td>
-                               <td> <?= $wdirection->input()?> </td>
+                               <td> <?php echo  $wdirection->input()?> </td>
                        </tr>
                </table>
-               <?= HtmlInput::submit("search_histo_b", "Recherche")?>
+               <?php echo  HtmlInput::submit("search_histo_b", "Recherche")?>
        </form>
 </div>
 

Modified: phpcompta/trunk/include/template/stock_inv.php
===================================================================
--- phpcompta/trunk/include/template/stock_inv.php      2013-05-16 18:00:08 UTC 
(rev 5271)
+++ phpcompta/trunk/include/template/stock_inv.php      2013-05-16 21:34:17 UTC 
(rev 5272)
@@ -34,7 +34,7 @@
                        Date
                </td>
                <td>
-                       <?=$date->input()?>
+                       <?php echo $date->input()?>
                </td>
        </tr>
        <tr>
@@ -42,7 +42,7 @@
                        Dépot
                </td>
                <td>
-                       <?=$idepo->input()?>
+                       <?php echo $idepo->input()?>
                </td>
        </tr>
        <tr>
@@ -50,7 +50,7 @@
                        Motif de changement
                </td>
                <td>
-                       <?=$motif->input()?>
+                       <?php echo $motif->input()?>
                </td>
        </tr>
 </table>
@@ -59,47 +59,47 @@
                <th style="text-align: left">
                        Code Stock
                </th>
-<? if ( $p_readonly == true ) :?>
+<?php if ( $p_readonly == true ) :?>
                <th style="text-align: left">
                        Fiche
                </th>
-<? endif;?>
+<?php endif;?>
                <th style="text-align:right">
                        Quantité
                </th>
        </tr>
-<? for($i=0;$i<MAX_ARTICLE;$i++): ?>
+<?php for($i=0;$i<MAX_ARTICLE;$i++): ?>
        <tr>
                <td>
-<? if ( $p_readonly == false) : ?>
-                       <?=$sg_code[$i]->input()?>
-                       <?=$sg_code[$i]->search()?>
-                       <?=$label[$i]->input()?>
-<? else: ?>
-                       <? if ( trim($sg_code[$i]->value) != "")  echo 
HtmlInput::card_detail($sg_code[$i]->value,h($sg_code[$i]->value),' 
class="line"')?>
-<? endif ?>
+<?php if ( $p_readonly == false) : ?>
+                       <?php echo $sg_code[$i]->input()?>
+                       <?php echo $sg_code[$i]->search()?>
+                       <?php echo $label[$i]->input()?>
+<?php else: ?>
+                       <?php if ( trim($sg_code[$i]->value) != "")  echo 
HtmlInput::card_detail($sg_code[$i]->value,h($sg_code[$i]->value),' 
class="line"')?>
+<?php endif ?>
 
                </td>
-<? if ( $p_readonly == true && isset ($fiche[$i])) :?>
+<?php if ( $p_readonly == true && isset ($fiche[$i])) :?>
                <td>
-                       
<?=HtmlInput::card_detail($fiche[$i]->get_quick_code(),h($fiche[$i]->getName()),'
 class="line"');?>
+                       <?php echo 
HtmlInput::card_detail($fiche[$i]->get_quick_code(),h($fiche[$i]->getName()),' 
class="line"');?>
                </td>
-<? endif;?>
+<?php endif;?>
                <TD class="num"">
-                       <? if ($sg_quantity[$i]->value==0 && 
$p_readonly==true):?>
+                       <?php if ($sg_quantity[$i]->value==0 && 
$p_readonly==true):?>
 
-                       <? else : ?>
-                       <?=$sg_quantity[$i]->input()?>
-                       <? endif;?>
+                       <?php else : ?>
+                       <?php echo $sg_quantity[$i]->input()?>
+                       <?php endif;?>
                </td>
                <TD class="num"">
-                       <? if (isset ($sg_type[$i])):?>
-                       <?=$sg_type[$i]?>
-                       <? endif;?>
+                       <?php if (isset ($sg_type[$i])):?>
+                       <?php echo $sg_type[$i]?>
+                       <?php endif;?>
                </td>
        </tr>
-<? endfor; ?>
+<?php endfor; ?>
 </table>
-<? if ($p_readonly == false) echo HtmlInput::submit('save','Sauver')?>
+<?php if ($p_readonly == false) echo HtmlInput::submit('save','Sauver')?>
        </form>
 </div>
\ No newline at end of file

Modified: phpcompta/trunk/include/template/stock_state_search.php
===================================================================
--- phpcompta/trunk/include/template/stock_state_search.php     2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/stock_state_search.php     2013-05-16 
21:34:17 UTC (rev 5272)
@@ -28,14 +28,14 @@
  */
 ?>
 <form method="GET">
-       <?=HtmlInput::get_to_hidden(array("gDossier","ac"));?>
+       <?php echo HtmlInput::get_to_hidden(array("gDossier","ac"));?>
        <table>
                <tr>
                        <td>
                                Exercice
                        </td>
                        <td>
-                               <?=$iexercice->input()?>
+                               <?php echo $iexercice->input()?>
                        </td>
                </tr>
                <tr>
@@ -43,9 +43,9 @@
                                Présentation
                        </td>
                        <td>
-                               <?=$presentation->input()?>
+                               <?php echo $presentation->input()?>
                        </td>
                </tr>
        </table>
-       <?=HtmlInput::submit('sfilter','Filtrer')?>
+       <?php echo HtmlInput::submit('sfilter','Filtrer')?>
 </form>
\ No newline at end of file

Modified: phpcompta/trunk/include/template/stock_summary_list.php
===================================================================
--- phpcompta/trunk/include/template/stock_summary_list.php     2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/stock_summary_list.php     2013-05-16 
21:34:17 UTC (rev 5272)
@@ -34,12 +34,12 @@
        ",array($tmp_id));
 ?>
 <div class="content">
-<? for ($r=0;$r<count($a_repo);$r++):?>
-<h1><?=$a_repo[$r]['r_name']?></h1>
-<p>Adresse <?=$a_repo[$r]['r_adress']?></p>
-<p>Ville <?=$a_repo[$r]['r_city']?></p>
-<p>Pays <?=$a_repo[$r]['r_country']?></p>
-<p>Téléphone <?=$a_repo[$r]['r_phone']?></p>
+<?php for ($r=0;$r<count($a_repo);$r++):?>
+<h1><?php echo $a_repo[$r]['r_name']?></h1>
+<p>Adresse <?php echo $a_repo[$r]['r_adress']?></p>
+<p>Ville <?php echo $a_repo[$r]['r_city']?></p>
+<p>Pays <?php echo $a_repo[$r]['r_country']?></p>
+<p>Téléphone <?php echo $a_repo[$r]['r_phone']?></p>
 <table class="result">
        <tr>
                <th>Code</th>
@@ -48,7 +48,7 @@
                <th style="text-align: right">OUT</th>
                <th style="text-align: right">En Stock</th>
        </tr>
-       <?
+       <?php 
                $a_stock=$cn->get_array(
                                "
                                        select coalesce(sum(s_qin),0) as 
qin,coalesce(sum(s_qout),0) as qout,sg_code
@@ -75,10 +75,10 @@
        ?>
        <tr>
                <td>
-                       <?=HtmlInput::card_detail($a_stock[$s]['sg_code'])?>
+                       <?php echo 
HtmlInput::card_detail($a_stock[$s]['sg_code'])?>
                </td>
                <td>
-                       <?
+                       <?php 
                                $sep="";
                                for ( $c=0;$c<count($a_card);$c++):
                                        echo 
$sep.HtmlInput::card_detail($a_card[$c]['quick_code'], $a_card[$c]['vw_name'], 
' class="line" ');
@@ -88,18 +88,18 @@
                        ?>
                </td>
                <td class="num">
-                       <?=nbm($a_stock[$s]['qin'])?>
+                       <?php echo nbm($a_stock[$s]['qin'])?>
                </td>
                <td class="num">
-                       <?=nbm($a_stock[$s]['qout'])?>
+                       <?php echo nbm($a_stock[$s]['qout'])?>
 
                </td>
                <td class="num">
-                       
<?=nbm(bcsub($a_stock[$s]['qin'],$a_stock[$s]['qout']))?>
+                       <?php echo 
nbm(bcsub($a_stock[$s]['qin'],$a_stock[$s]['qout']))?>
                </td>
        </tr>
-<? endfor; ?>
+<?php endfor; ?>
 </table>
-<? endfor; ?>
+<?php endfor; ?>
 
 </div>
\ No newline at end of file

Modified: phpcompta/trunk/include/template/stock_summary_table.php
===================================================================
--- phpcompta/trunk/include/template/stock_summary_table.php    2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/stock_summary_table.php    2013-05-16 
21:34:17 UTC (rev 5272)
@@ -32,25 +32,25 @@
                <th>
                        Code Stock
                </th>
-               <? for ($i = 0; $i < count($a_repository); $i++):?>
+               <?php for ($i = 0; $i < count($a_repository); $i++):?>
                        <th>
-                               <?=h( $a_repository[$i]['r_name'])?>
+                               <?php echo h( $a_repository[$i]['r_name'])?>
                        </th>
-               <? endfor;?>
+               <?php endfor;?>
                        <th>
                                Total
                        </th>
        </tr>
-       <?
+       <?php 
        for ($x = 0; $x < count($a_code); $x++):
                $class=($x%2==0)?' class="odd" ':' class="even" ';
                ?>
 
-               <tr <?=$class?> >
+               <tr <?php echo $class?> >
                        <td>
-                               
<?=HtmlInput::card_detail($a_code[$x]['sg_code'])?>
+                               <?php echo 
HtmlInput::card_detail($a_code[$x]['sg_code'])?>
                        </td>
-                       <?
+                       <?php 
                        $n_in=0;$n_out=0;
                        for ($e = 0; $e < count($a_repository); $e++):
 
@@ -60,7 +60,7 @@
                                                , 
array($a_repository[$e]['r_id'], $a_code[$x]['sg_code'],$tmp_id));
                                ?>
                        <td>
-                               <?
+                               <?php 
                                        if (count($array)==0):
                                                echo 0;
                                        else:
@@ -73,7 +73,7 @@
                                                                        IN  :
                                                                </td>
                                                                <td class="num">
-                                                                       
<?=nbm($array[0]['s_qin'])?>
+                                                                       <?php 
echo nbm($array[0]['s_qin'])?>
                                                                </td>
                                                        </tr>
                                                        <tr>
@@ -81,7 +81,7 @@
                                                                        OUT  :
                                                                </td>
                                                                <td class="num">
-                                                                       
<?=nbm($array[0]['s_qout'])?>
+                                                                       <?php 
echo nbm($array[0]['s_qout'])?>
                                                                </td>
                                                        </tr>
                                                        <tr>
@@ -89,15 +89,15 @@
                                                                        DIFF  :
                                                                </td>
                                                                <td class="num">
-                                                                       
<?=nbm((bcsub($array[0]['s_qin'],$array[0]['s_qout'])))?>
+                                                                       <?php 
echo nbm((bcsub($array[0]['s_qin'],$array[0]['s_qout'])))?>
                                                                </td>
                                                        </tr>
                                                </table>
-                                               <?
+                                               <?php 
                                        endif;
                                ?>
                        </td>
-                               <?
+                               <?php 
                        endfor;  // loop e
                        ?>
                        <td>
@@ -107,7 +107,7 @@
                                                                        IN  :
                                                                </td>
                                                                <td class="num">
-                                                                       
<?=nbm($n_in)?>
+                                                                       <?php 
echo nbm($n_in)?>
                                                                </td>
                                                        </tr>
                                                        <tr>
@@ -115,7 +115,7 @@
                                                                        OUT  :
                                                                </td>
                                                                <td class="num">
-                                                                       
<?=nbm($n_out)?>
+                                                                       <?php 
echo nbm($n_out)?>
                                                                </td>
                                                        </tr>
                                                        <tr>
@@ -123,13 +123,13 @@
                                                                        DIFF  :
                                                                </td>
                                                                <td class="num">
-                                                                       
<?=nbm((bcsub($n_in,$n_out)))?>
+                                                                       <?php 
echo nbm((bcsub($n_in,$n_out)))?>
                                                                </td>
                                                        </tr>
                                                </table>
                        </td>
                </tr>
-               <?
+               <?php 
        endfor; // loop x
        ?>
 </table>

Modified: phpcompta/trunk/include/template/user_sec_profile.php
===================================================================
--- phpcompta/trunk/include/template/user_sec_profile.php       2013-05-16 
18:00:08 UTC (rev 5271)
+++ phpcompta/trunk/include/template/user_sec_profile.php       2013-05-16 
21:34:17 UTC (rev 5272)
@@ -28,25 +28,25 @@
  */
 ?>
 <form method="POST" class="print">
-    <?=HtmlInput::hidden('tab','profile_gestion_div')?>
-       <?=HtmlInput::hidden("p_id", $p_id);?>
+    <?php echo HtmlInput::hidden('tab','profile_gestion_div')?>
+       <?php echo HtmlInput::hidden("p_id", $p_id);?>
        <table>
                <tr>
-                       <th><?=_("Profil")?></th>
-                       <th><?=_("Accès")?></th>
+                       <th><?php echo _("Profil")?></th>
+                       <th><?php echo _("Accès")?></th>
                </tr>
-               <? for ($i=0;$i<count($array);$i++): ?>
+               <?php for ($i=0;$i<count($array);$i++): ?>
                <tr>
                        <td>
-                               <?=$array[$i]['p_name']?>
-                               
<?=HtmlInput::hidden('ua_id[]',$array[$i]['ua_id'])?>
-                               
<?=HtmlInput::hidden('ap_id[]',$array[$i]['p_id'])?>
+                               <?php echo $array[$i]['p_name']?>
+                               <?php echo 
HtmlInput::hidden('ua_id[]',$array[$i]['ua_id'])?>
+                               <?php echo 
HtmlInput::hidden('ap_id[]',$array[$i]['p_id'])?>
                        </td>
-                        <?
+                        <?php 
                             
$color=($array[$i]['ua_right']!='X')?"border:lightgreen 2px solid; 
":"border:red 2px solid; ";
                         ?>
-                       <td style="<?=$color?>">
-                               <?
+                       <td style="<?php echo $color?>">
+                               <?php 
                                $isel=new ISelect("right[]");
                                $isel->value=$aright_value;
                                $isel->selected=$array[$i]['ua_right'];
@@ -55,5 +55,5 @@
                </tr>
                <?endfor;?>
        </table>
-<?=HtmlInput::submit("change_profile", "Sauver")?>
+<?php echo HtmlInput::submit("change_profile", "Sauver")?>
 </form>
\ No newline at end of file

Modified: phpcompta/trunk/include/user_detail.inc.php
===================================================================
--- phpcompta/trunk/include/user_detail.inc.php 2013-05-16 18:00:08 UTC (rev 
5271)
+++ phpcompta/trunk/include/user_detail.inc.php 2013-05-16 21:34:17 UTC (rev 
5272)
@@ -105,10 +105,10 @@
 $it_pass->value="";
 ?>
 <h1 class="info">Modification</h1>
-<? echo HtmlInput::button_anchor('Retour', 'admin_repo.php?action=user_mgt'); 
?>
+<?php echo HtmlInput::button_anchor('Retour', 
'admin_repo.php?action=user_mgt'); ?>
 <FORM  METHOD="POST">
 
-<?=HtmlInput::hidden('UID',$uid)?>
+<?php echo HtmlInput::hidden('UID',$uid)?>
     <TABLE BORDER=0>
         <TR>
 
@@ -131,7 +131,7 @@
                 Mot de passe :<span class="info">Laisser à VIDE pour ne PAS le 
changer</span>
             </td>
             <td>
-                <?=$it_pass->input();?>
+                <?php echo $it_pass->input();?>
             </td>
         </tr>
     </table>
@@ -228,7 +228,7 @@
         <input type="Submit" class="button" NAME="SAVE" VALUE="Sauver les 
changements" onclick="return confirm('Confirmer changement ?');">
 
         <input type="Submit"  class="button" NAME="DELETE" VALUE="Effacer" 
onclick="return confirm('Confirmer effacement ?');" >
-<? echo HtmlInput::button_anchor('Retour', 'admin_repo.php?action=user_mgt'); 
?>
+<?php echo HtmlInput::button_anchor('Retour', 
'admin_repo.php?action=user_mgt'); ?>
 </FORM>
 
 </DIV>



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]