[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r503 - in trunk: amortis amortis/include amortis/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r503 - in trunk: amortis amortis/include amortis/include/template backup_noadmin/include/template coprop coprop/include coprop/include/template import_card/include/template import_doli/include/template importbank/include importbank/include/template modop rapport_avance rapport_avance/include rapport_avance/include/template skel tool_pcmn/include tools tools/include/template tva |
Date: |
Fri, 17 May 2013 00:42:11 +0200 (CEST) |
Author: danydb
Date: 2013-05-17 00:42:11 +0200 (Fri, 17 May 2013)
New Revision: 503
Modified:
trunk/amortis/amortis_constant.php
trunk/amortis/include/class_pdf_card.php
trunk/amortis/include/material_delete.inc.php
trunk/amortis/include/print_all.inc.php
trunk/amortis/include/template/listing_histo.php
trunk/amortis/include/template/listing_year.php
trunk/amortis/include/template/material_add.php
trunk/amortis/include/template/material_detail.php
trunk/amortis/include/template/material_display.php
trunk/amortis/include/template/material_listing.php
trunk/amortis/include/template/util_generate.php
trunk/backup_noadmin/include/template/home.php
trunk/coprop/coprop-constant.php
trunk/coprop/include/copro-parameter.inc.php
trunk/coprop/include/key.inc.php
trunk/coprop/include/template/appel_fond.php
trunk/coprop/include/template/bud_detail.php
trunk/coprop/include/template/budget.php
trunk/coprop/include/template/budget_list.php
trunk/coprop/include/template/coprop_lot_list.php
trunk/coprop/include/template/historic.php
trunk/coprop/include/template/key_detail.php
trunk/import_card/include/template/input_file.php
trunk/import_card/include/template/test_file.php
trunk/import_doli/include/template/input_file.php
trunk/import_doli/include/template/parameter.php
trunk/import_doli/include/template/parameter_tva_add.php
trunk/import_doli/include/template/test_file.php
trunk/import_doli/include/template/test_operation.php
trunk/import_doli/include/template/upload_operation.php
trunk/importbank/include/import_bank.php
trunk/importbank/include/template/confirm_transfer.php
trunk/importbank/include/template/delete_item.php
trunk/importbank/include/template/detail_item.php
trunk/importbank/include/template/import_new.php
trunk/importbank/include/template/input_file.php
trunk/importbank/include/template/show_field.php
trunk/importbank/include/template/show_import.php
trunk/importbank/include/template/show_list.php
trunk/importbank/include/template/show_transfer.php
trunk/importbank/include/template/test_file.php
trunk/modop/index.php
trunk/modop/template_ledger_fin.php
trunk/rapport_avance/ajax.php
trunk/rapport_avance/ajax_search_code.php
trunk/rapport_avance/include/declaration.inc.php
trunk/rapport_avance/include/historique.inc.php
trunk/rapport_avance/include/template/declaration_display.php
trunk/rapport_avance/include/template/formulaire_definition.php
trunk/rapport_avance/include/template/formulaire_listing.php
trunk/rapport_avance/include/template/formulaire_titre.php
trunk/rapport_avance/include/template/param_detail_new.php
trunk/rapport_avance/rapav_constant.php
trunk/skel/skel_constant.php
trunk/tool_pcmn/include/export_plan.php
trunk/tool_pcmn/include/import_plan.php
trunk/tools/include/template/numbering.php
trunk/tools/include/template/result_receipt.php
trunk/tools/include/template/search_box.php
trunk/tools/include/template/search_view.php
trunk/tools/include/template/tool_exercice_input.php
trunk/tools/tools_constant.php
trunk/tva/form_decl.php
trunk/tva/form_decl_info.php
trunk/tva/form_parameter.php
trunk/tva/form_periode.php
trunk/tva/index.php
trunk/tva/list_tva.inc.php
Log:
Task #0000839: R?\195?\169?\195?\169criture de la proc?\195?\169dure
d'installation
Tous les tags <? ont ?\195?\169t?\195?\169 chang?\195?\169s en <?php pour les
servers mutualis?\195?\169s
Modified: trunk/amortis/amortis_constant.php
===================================================================
--- trunk/amortis/amortis_constant.php 2013-05-15 18:50:38 UTC (rev 502)
+++ trunk/amortis/amortis_constant.php 2013-05-16 22:42:11 UTC (rev 503)
@@ -1,4 +1,4 @@
-<?
+<?php
/**
address@hidden
*Contains all the needed variable for the plugin
Modified: trunk/amortis/include/class_pdf_card.php
===================================================================
--- trunk/amortis/include/class_pdf_card.php 2013-05-15 18:50:38 UTC (rev
502)
+++ trunk/amortis/include/class_pdf_card.php 2013-05-16 22:42:11 UTC (rev
503)
@@ -1,4 +1,4 @@
-<?
+<?php
require_once('class_pdf.php');
Modified: trunk/amortis/include/material_delete.inc.php
===================================================================
--- trunk/amortis/include/material_delete.inc.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/amortis/include/material_delete.inc.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -1,4 +1,4 @@
-<?
+<?php
$cn->exec_sql('delete from amortissement.amortissement where a_id=$1',
array($a_id));
echo HtmlInput::anchor_close($t);
Modified: trunk/amortis/include/print_all.inc.php
===================================================================
--- trunk/amortis/include/print_all.inc.php 2013-05-15 18:50:38 UTC (rev
502)
+++ trunk/amortis/include/print_all.inc.php 2013-05-16 22:42:11 UTC (rev
503)
@@ -33,10 +33,10 @@
echo HtmlInput::print_window();
?>
<form method="GET" action="extension.raw.php" style="display:inline">
-<?=dossier::hidden()?>
-<?=HtmlInput::hidden('material','1');?>
-<?=HtmlInput::hidden('ac',$_REQUEST['ac']);?>
-<?=HtmlInput::extension()?>
-<?=HtmlInput::submit('csv','Export CSV');?>
+<?php echo dossier::hidden()?>
+<?php echo HtmlInput::hidden('material','1');?>
+<?php echo HtmlInput::hidden('ac',$_REQUEST['ac']);?>
+<?php echo HtmlInput::extension()?>
+<?php echo HtmlInput::submit('csv','Export CSV');?>
</form>
</div>
\ No newline at end of file
Modified: trunk/amortis/include/template/listing_histo.php
===================================================================
--- trunk/amortis/include/template/listing_histo.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/amortis/include/template/listing_histo.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -1,7 +1,7 @@
<div class="content" style="width:80%;margin-left:10%">
<!-- <h2 class="info">Historique</h2> -->
<form method="POST">
-<?
+<?php
echo HtmlInput::hidden('sa',$_REQUEST['sa']);
echo HtmlInput::hidden('sb',$_REQUEST['sb']);
echo HtmlInput::hidden('ac',$_REQUEST['ac']);
@@ -10,15 +10,15 @@
?>
<table class="result">
<tr>
-<th><?=$header->get_header(0)?></th>
-<th><?=$header->get_header(1)?></th>
-<th style="text-align:right"><?=$header->get_header(2)?></th>
-<th style="text-align:center"><?=$header->get_header(3)?></th>
-<th><?=$header->get_header(4)?></th>
-<th><?=$header->get_header(5)?></th>
+<th><?php echo $header->get_header(0)?></th>
+<th><?php echo $header->get_header(1)?></th>
+<th style="text-align:right"><?php echo $header->get_header(2)?></th>
+<th style="text-align:center"><?php echo $header->get_header(3)?></th>
+<th><?php echo $header->get_header(4)?></th>
+<th><?php echo $header->get_header(5)?></th>
</tr>
-<?
+<?php
for ($i=0;$i<count($array);$i++) :
echo '<tr>';
@@ -46,6 +46,6 @@
?>
</table>
-<? echo HtmlInput::submit('remove','Effacer la
sélection','onclick="confirm(\'Confirmez Effacement ?\')"')?>
+<?php echo HtmlInput::submit('remove','Effacer la
sélection','onclick="confirm(\'Confirmez Effacement ?\')"')?>
</form>
</div>
Modified: trunk/amortis/include/template/listing_year.php
===================================================================
--- trunk/amortis/include/template/listing_year.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/amortis/include/template/listing_year.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -1,4 +1,4 @@
-<h2 class="info">Liste pour <?=$year?></h2>
+<h2 class="info">Liste pour <?php echo $year?></h2>
<style>
@PAGE landscape {size: landscape;}
TABLE {PAGE: landscape;}
@@ -16,7 +16,7 @@
<th style="text-align:right">Pourcentage</th>
<th style="text-align:right">Reste à amortir</th>
</tr>
-<?
+<?php
$tot_amort=0;$tot_net=0;bcscale(2);
for ($i=0;$i < count($array) ; $i++):
echo '<tr>';
@@ -57,7 +57,7 @@
<hr>
<table class="result" style="width:50%;margin-left:25%">
<tr>
-<?
+<?php
echo td("Acquisition de l'année");
$tot=$cn->get_value(" select coalesce(sum(a_amount),0) from
amortissement.amortissement where a_start=$1",
array($year));
@@ -65,24 +65,24 @@
?>
</tr>
<tr>
-<?
+<?php
echo td("Amortissement ");
echo td(nbm($tot_amort),"align=\"right\"");
?>
</tr>
<tr>
-<?
+<?php
echo td("Valeur net ");
echo td(nbm($tot_net),"align=\"right\"");
?>
</tr>
-<?=date('d.m.Y')?>
+<?php echo date('d.m.Y')?>
<form method="GET" action="extension.raw.php">
-<?=dossier::hidden()?>
-<?=HtmlInput::hidden('list_year',$year);?>
-<?=HtmlInput::hidden('ac',$_REQUEST['ac']);?>
-<?=HtmlInput::extension()?>
-<?=HtmlInput::submit('csv','Export CSV');?>
+<?php echo dossier::hidden()?>
+<?php echo HtmlInput::hidden('list_year',$year);?>
+<?php echo HtmlInput::hidden('ac',$_REQUEST['ac']);?>
+<?php echo HtmlInput::extension()?>
+<?php echo HtmlInput::submit('csv','Export CSV');?>
</form>
Modified: trunk/amortis/include/template/material_add.php
===================================================================
--- trunk/amortis/include/template/material_add.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/amortis/include/template/material_add.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -4,35 +4,35 @@
<table>
<tr>
<td>Fiche</td>
- <td><?=$p_card->input()?><?=$p_card->search()?></td>
+ <td><?php echo $p_card->input()?><?php echo $p_card->search()?></td>
</tr>
<tr>
<td>Date d'acquisition</td>
- <td><?=$p_date->input()?></td>
+ <td><?php echo $p_date->input()?></td>
</tr>
<tr>
<td>Montant à amortir</td>
- <td><?=$p_amount->input()?></td>
+ <td><?php echo $p_amount->input()?></td>
</tr>
<tr>
<td>Année comptable d'achat</td>
- <td> <?=$p_year->input();?></td>
+ <td> <?php echo $p_year->input();?></td>
</tr>
<tr>
<td>Poste de charge dotations amortissement (débit)</td>
- <td><?=$p_deb->input()?></td>
- <td><?=$deb_span->input()?></td>
+ <td><?php echo $p_deb->input()?></td>
+ <td><?php echo $deb_span->input()?></td>
</tr>
<tr>
<td>Poste amortissement en contrepartie</td>
- <td><?=$p_cred->input();?></td>
- <td><?=$cred_span->input();?></td>
+ <td><?php echo $p_cred->input();?></td>
+ <td><?php echo $cred_span->input();?></td>
</tr>
<tr>
<td>Nombre d'années amortissement</td>
- <td><?=$p_number->input()?></td>
+ <td><?php echo $p_number->input()?></td>
</tr>
<tr>
<td></td>
@@ -47,7 +47,7 @@
<td></td>
</tr>
</table>
-<?
+<?php
echo HtmlInput::button('close','Annuler',"onclick=\"removeDiv('$t')\"");
echo HtmlInput::submit('sauver','Sauver',"onclick=\"return
confirm('Vous confirmez ?')\" ");
echo HtmlInput::extension();
Modified: trunk/amortis/include/template/material_detail.php
===================================================================
--- trunk/amortis/include/template/material_detail.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/amortis/include/template/material_detail.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -1,44 +1,44 @@
<h2 class="info">Modification de matériel</h2>
<form onsubmit="save_modify(this);return false">
-<?=$p_card?>
-<?=$a_id?>
-<span style="text-align:center;display:block;font-size:2em" id="p_card_label"
><?= $card->strAttribut(ATTR_DEF_NAME)?></span>
+<?php echo $p_card?>
+<?php echo $a_id?>
+<span style="text-align:center;display:block;font-size:2em" id="p_card_label"
><?php echo $card->strAttribut(ATTR_DEF_NAME)?></span>
<table>
<tr>
<td>Fiche</td>
-
<td><?=HtmlInput::card_detail($card->strAttribut(ATTR_DEF_QUICKCODE))?></td>
+ <td><?php echo
HtmlInput::card_detail($card->strAttribut(ATTR_DEF_QUICKCODE))?></td>
</tr>
<tr>
<td>Date Acquisition</td>
- <td><?=$p_date->input()?></td>
+ <td><?php echo $p_date->input()?></td>
</tr>
<tr>
<td>Montant à amortir</td>
- <td><?=$p_amount->input()?></td>
+ <td><?php echo $p_amount->input()?></td>
</tr>
<tr>
<td>Année comptable d'achat</td>
- <td> <? echo $p_year->input();?></td>
+ <td> <?php echo $p_year->input();?></td>
</tr>
<tr>
<td>Poste de charge dotations amortissement (débit)</td>
- <td><?=$p_deb->input()?></td>
- <td><?=$deb_span->input()?></td>
+ <td><?php echo $p_deb->input()?></td>
+ <td><?php echo $deb_span->input()?></td>
</tr>
<tr>
<td>Poste amortissement en contrepartie</td>
- <td><?=$p_cred->input();?></td>
- <td><?=$cred_span->input();?></td>
+ <td><?php echo $p_cred->input();?></td>
+ <td><?php echo $cred_span->input();?></td>
</tr>
<tr>
<td>Nombre d'années amortissement (non modifiable)</td>
- <td><? echo $p_number->input()?></td>
+ <td><?php echo $p_number->input()?></td>
</tr>
<tr>
<td>Visible <span class="notice">Y pour oui ou N pour non</span></td>
- <td><? echo $p_visible->input();?></td>
+ <td><?php echo $p_visible->input();?></td>
</tr>
<tr>
<td> </td>
@@ -61,7 +61,7 @@
<th>Pourcent</th>
-<?
+<?php
bcscale(2);
echo HtmlInput::hidden('plugin_code',$_REQUEST['plugin_code']);
echo dossier::hidden();
@@ -72,11 +72,11 @@
$pct->value=$array[$i]->ad_percentage;
?>
<tr>
- <td><?=HtmlInput::hidden('ad_year[]',$array[$i]->ad_year)?>
- <?=$array[$i]->ad_year?>
+ <td><?php echo HtmlInput::hidden('ad_year[]',$array[$i]->ad_year)?>
+ <?php echo $array[$i]->ad_year?>
</td>
<td>
- <?
+ <?php
echo HtmlInput::hidden("ad_id[]",$array[$i]->ad_id);
$amount=new INum("amount[]");
$amount->value=$array[$i]->ad_amount;
@@ -84,7 +84,7 @@
?>
</td>
- <?
+ <?php
$annuite=bcadd($annuite,$array[$i]->ad_amount);
$x=$cn->get_array('select ha_id,h_pj,jr_internal,h_amount from
amortissement.amortissement_histo where a_id=$1 and h_year=$2',
@@ -114,15 +114,15 @@
</tr>
-<?
+<?php
endfor;
?>
</table>
-<span
style="font-size:120%;font-weight:bold;font-family:arial;font-style:italic;margin-right:10%">Total
= <?=nbm($annuite)?></span>
-<span
style="font-size:120%;font-weight:bold;font-family:arial;font-style:italic;margin-right:10%">Amorti
= <?=nbm($done)?></span>
-<span
style="font-size:120%;font-weight:bold;font-family:arial;font-style:italic;margin-right:10%">Reste
= <?=nbm($p_amount->value-$done)?></span>
+<span
style="font-size:120%;font-weight:bold;font-family:arial;font-style:italic;margin-right:10%">Total
= <?php echo nbm($annuite)?></span>
+<span
style="font-size:120%;font-weight:bold;font-family:arial;font-style:italic;margin-right:10%">Amorti
= <?php echo nbm($done)?></span>
+<span
style="font-size:120%;font-weight:bold;font-family:arial;font-style:italic;margin-right:10%">Reste
= <?php echo nbm($p_amount->value-$done)?></span>
-<?
+<?php
if ( $annuite != $p_amount->value)
{
echo '<h2 class="error">Différence entre le montant à amortir et le
montant amorti =';
@@ -131,7 +131,7 @@
}
?>
</fieldset>
-<?
+<?php
echo HtmlInput::submit('sauver','Sauver',"onclick=\"return confirm('Vous
confirmez ?')\" ");
$rm=sprintf("remove_mat(%d,'%s',%d)",dossier::id(),$_REQUEST['plugin_code'],$value_a_id);
echo HtmlInput::button('remove','Effacer',"onclick=\"$rm\" ");
Modified: trunk/amortis/include/template/material_display.php
===================================================================
--- trunk/amortis/include/template/material_display.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/amortis/include/template/material_display.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -1,38 +1,38 @@
<h2 class="info">Détail de matériel</h2>
-<span style="text-align:center;display:block;font-size:2em" id="p_card_label"
><?= $card->strAttribut(ATTR_DEF_NAME)?></span>
+<span style="text-align:center;display:block;font-size:2em" id="p_card_label"
><?php echo $card->strAttribut(ATTR_DEF_NAME)?></span>
<table>
<tr>
<td>Fiche</td>
- <td><?=$card->strAttribut(ATTR_DEF_QUICKCODE)?></td>
+ <td><?php echo $card->strAttribut(ATTR_DEF_QUICKCODE)?></td>
</tr>
<tr>
<td>Date d'acquisition</td>
- <td><?=$p_date?></td>
+ <td><?php echo $p_date?></td>
</tr>
<tr>
<td>Montant à amortir</td>
- <td><?=$p_amount?></td>
+ <td><?php echo $p_amount?></td>
</tr>
<tr>
<td>Année comptable d'achat</td>
- <td> <? echo $p_year;?></td>
+ <td> <?php echo $p_year;?></td>
</tr>
<tr>
<td>Poste de charge dotations amortissement (débit)</td>
- <td><?=$p_deb?></td>
- <td><?=$deb_span?></td>
+ <td><?php echo $p_deb?></td>
+ <td><?php echo $deb_span?></td>
</tr>
<tr>
<td>Poste amortissement en contrepartie</td>
- <td><?=$p_cred?></td>
- <td><?=$cred_span?></td>
+ <td><?php echo $p_cred?></td>
+ <td><?php echo $cred_span?></td>
</tr>
<tr>
<td>Nombre d'années amortissement (non modifiable)</td>
- <td><? echo $p_number?></td>
+ <td><?php echo $p_number?></td>
</tr>
</table>
@@ -47,7 +47,7 @@
<th>Pourcent</th>
-<?
+<?php
bcscale(2);
$annuite=0;
$done=0;
@@ -55,15 +55,15 @@
?>
<tr>
<td>
- <?=$array[$i]->ad_year?>
+ <?php echo $array[$i]->ad_year?>
</td>
<td>
- <?
+ <?php
echo nbm($array[$i]->ad_amount);
?>
</td>
- <?
+ <?php
$annuite=bcadd($annuite,$array[$i]->ad_amount);
$x=$cn->get_array('select ha_id,h_pj,jr_internal,h_amount from
amortissement.amortissement_histo where a_id=$1 and h_year=$2',
@@ -88,15 +88,15 @@
</tr>
-<?
+<?php
endfor;
?>
</table>
-<span
style="font-size:120%;font-weight:bold;font-family:arial;font-style:italic;margin-right:10%">Total
= <?=nbm($annuite)?></span>
-<span
style="font-size:120%;font-weight:bold;font-family:arial;font-style:italic;margin-right:10%">Amorti
= <?=nbm($done)?></span>
-<span
style="font-size:120%;font-weight:bold;font-family:arial;font-style:italic;margin-right:10%">Reste
= <?=nbm($p_amount-$done)?></span>
+<span
style="font-size:120%;font-weight:bold;font-family:arial;font-style:italic;margin-right:10%">Total
= <?php echo nbm($annuite)?></span>
+<span
style="font-size:120%;font-weight:bold;font-family:arial;font-style:italic;margin-right:10%">Amorti
= <?php echo nbm($done)?></span>
+<span
style="font-size:120%;font-weight:bold;font-family:arial;font-style:italic;margin-right:10%">Reste
= <?php echo nbm($p_amount-$done)?></span>
-<?
+<?php
if ( $annuite != $p_amount)
{
echo '<h2 class="error">Différence entre le montant à amortir et le
montant amorti =';
@@ -105,6 +105,6 @@
}
?>
</fieldset>
-<? echo "Date ".date ('d.m.Y');?>
-<? echo HtmlInput::print_window()?>
+<?php echo "Date ".date ('d.m.Y');?>
+<?php echo HtmlInput::print_window()?>
Modified: trunk/amortis/include/template/material_listing.php
===================================================================
--- trunk/amortis/include/template/material_listing.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/amortis/include/template/material_listing.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -16,7 +16,7 @@
</tr>
-<?
+<?php
bcscale(2);
for ($i =0 ;$i < count($ret);$i++) :
@@ -26,7 +26,7 @@
$detail=detail_material($ret[$i]->f_id,$fiche->strAttribut(ATTR_DEF_QUICKCODE));
echo td($detail);
echo td($fiche->strAttribut(ATTR_DEF_NAME));
- // <td sorttable_customkey="<?=$row_bank['b_date']
+ // <td sorttable_customkey="<?php echo $row_bank['b_date']
echo '<td
sorttable_customkey="'.$ret[$i]->a_date.'">'.format_date($ret[$i]->a_date).'</td>';
echo td($ret[$i]->a_start);
echo td(nbm($ret[$i]->a_amount),'style="text-align:right"');
Modified: trunk/amortis/include/template/util_generate.php
===================================================================
--- trunk/amortis/include/template/util_generate.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/amortis/include/template/util_generate.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -25,37 +25,37 @@
*/
?>
<form id="gen_amort" method="post">
-<?=HtmlInput::hidden('plugin_code',$_REQUEST['plugin_code']);?>
-<?=HtmlInput::hidden('sa',$_REQUEST['sa']);?>
-<?=HtmlInput::hidden('sb',$_REQUEST['sb']);?>
-<?=dossier::hidden()?>
+<?php echo HtmlInput::hidden('plugin_code',$_REQUEST['plugin_code']);?>
+<?php echo HtmlInput::hidden('sa',$_REQUEST['sa']);?>
+<?php echo HtmlInput::hidden('sb',$_REQUEST['sb']);?>
+<?php echo dossier::hidden()?>
<table>
<tr>
<td>Année</td>
-<td><?=$year->input();?></td>
+<td><?php echo $year->input();?></td>
</tr>
<tr>
<td>Journal dans lequel l'écriture sera passée</td>
-<td><?=$sel_ledger->input()?></td>
+<td><?php echo $sel_ledger->input()?></td>
</tr>
<tr>
<td>Date de l'opération</td>
-<td><?=$p_date->input()?></td>
+<td><?php echo $p_date->input()?></td>
</tr>
-<? if ( isset ($f_periode)) : ?>
+<?php if ( isset ($f_periode)) : ?>
<tr>
<td>
- <?=$f_periode?>
+ <?php echo $f_periode?>
</td>
<td>
- <?=$l_form_per?>
+ <?php echo $l_form_per?>
</td>
</tr>
-<? endif; ?>
+<?php endif; ?>
<tr>
<td>Pièce</td>
-<td><?=$pj->input()?></td>
+<td><?php echo $pj->input()?></td>
</tr>
</table>
@@ -67,7 +67,7 @@
<th>Nom</th>
<th>Description</th>
</tr>
-<?
+<?php
/*
* get all the material
*/
@@ -80,22 +80,22 @@
?>
<tr>
-<?
+<?php
if ( isset($_POST['p_ck'.$i])) $ck->selected=true;else $ck->selected=false;
$view_history= sprintf('<A class="detail" style="text-decoration:underline"
HREF="javascript:view_history_card(\'%s\',\'%s\')" >%s</A>',
$fiche->id, dossier::id(), $fiche->get_quick_code());
?>
- <td><?=$ck->input()?></td>
- <td><?=$view_history?></td>
- <td><?=$fiche->strAttribut(ATTR_DEF_NAME)?></td>
- <td> <?=$fiche->strAttribut(9)?></td>
+ <td><?php echo $ck->input()?></td>
+ <td><?php echo $view_history?></td>
+ <td><?php echo $fiche->strAttribut(ATTR_DEF_NAME)?></td>
+ <td> <?php echo $fiche->strAttribut(9)?></td>
<td></td>
</tr>
-<?
+<?php
endfor;
?>
</table>
-<?=HtmlInput::submit('generate',"Générer l'écriture");?>
+<?php echo HtmlInput::submit('generate',"Générer l'écriture");?>
</form>
-<?=HtmlInput::button('check_all','Sélectionner tout','
onclick="select_checkbox(\'gen_amort\')"');?>
-<?=HtmlInput::button('check_none','Tout Désélectionner ','
onclick="unselect_checkbox(\'gen_amort\')"');?>
+<?php echo HtmlInput::button('check_all','Sélectionner tout','
onclick="select_checkbox(\'gen_amort\')"');?>
+<?php echo HtmlInput::button('check_none','Tout Désélectionner ','
onclick="unselect_checkbox(\'gen_amort\')"');?>
Modified: trunk/backup_noadmin/include/template/home.php
===================================================================
--- trunk/backup_noadmin/include/template/home.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/backup_noadmin/include/template/home.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -1,8 +1,8 @@
<h2> Backup du dossier courant </h2>
<form method="get" ACTION="extension.raw.php">
Voulez-vous avoir une copie de ce dossier
-<?=HtmlInput::submit('backup','backup')?>
-<?=dossier::hidden()?>
-<?=HtmlInput::extension();?>
-<?=HtmlInput::hidden('ac',$_REQUEST['ac']);?>
+<?php echo HtmlInput::submit('backup','backup')?>
+<?php echo dossier::hidden()?>
+<?php echo HtmlInput::extension();?>
+<?php echo HtmlInput::hidden('ac',$_REQUEST['ac']);?>
</form>
\ No newline at end of file
Modified: trunk/coprop/coprop-constant.php
===================================================================
--- trunk/coprop/coprop-constant.php 2013-05-15 18:50:38 UTC (rev 502)
+++ trunk/coprop/coprop-constant.php 2013-05-16 22:42:11 UTC (rev 503)
@@ -1,4 +1,4 @@
-<?
+<?php
/**
address@hidden
*Contains all the needed variable for the plugin
Modified: trunk/coprop/include/copro-parameter.inc.php
===================================================================
--- trunk/coprop/include/copro-parameter.inc.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/coprop/include/copro-parameter.inc.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -85,7 +85,7 @@
Catégorie de fiches pour les immeubles
</td>
<td>
- <?=$categorie_immeuble->input()?>
+ <?php echo $categorie_immeuble->input()?>
</td>
</tr>
<tr>
@@ -93,7 +93,7 @@
Catégorie de fiches pour les copropriétaires
</td>
<td>
- <?=$cat_coprop->input();?>
+ <?php echo $cat_coprop->input();?>
</td>
</tr>
<tr>
@@ -101,7 +101,7 @@
Catégorie de fiches pour les lots
</td>
<td>
- <?=$cat_lot->input()?>
+ <?php echo $cat_lot->input()?>
</td>
</tr>
<tr>
@@ -109,7 +109,7 @@
Catégorie de fiches pour les appels de fond
</td>
<td>
- <?=$categorie_appel->input();?>
+ <?php echo $categorie_appel->input();?>
</td>
</tr>
<tr>
@@ -117,7 +117,7 @@
Catégorie de fiches pour les charges
</td>
<td>
- <?=$categorie_charge->input();?>
+ <?php echo $categorie_charge->input();?>
</td>
</tr>
<tr>
@@ -125,9 +125,9 @@
Journal Appel de fond
</td>
<td>
- <?=$journal_appel->input();?>
+ <?php echo $journal_appel->input();?>
</td>
</tr>
</table>
- <?=HtmlInput::submit("save","Sauver")?>
+ <?php echo HtmlInput::submit("save","Sauver")?>
</form>
\ No newline at end of file
Modified: trunk/coprop/include/key.inc.php
===================================================================
--- trunk/coprop/include/key.inc.php 2013-05-15 18:50:38 UTC (rev 502)
+++ trunk/coprop/include/key.inc.php 2013-05-16 22:42:11 UTC (rev 503)
@@ -77,37 +77,37 @@
</th>
</tr>
-<?
+<?php
for ($i=0;$i < count($a_key);$i++):
$js=sprintf("mod_key('%s','%s','%s','%s')",$gDossier,$_REQUEST['plugin_code'],$_REQUEST['ac'],$a_key[$i]['cr_id']);
$mod_key=HtmlInput::anchor($a_key[$i]['cr_name'],"","onclick=\"$js\"");
?>
- <tr id="row<?=$a_key[$i]['cr_id']?>">
+ <tr id="row<?php echo $a_key[$i]['cr_id']?>">
<td>
- <?=$mod_key?>
+ <?php echo $mod_key?>
</td>
<td>
- <?=h($a_key[$i]['cr_note'])?>
+ <?php echo h($a_key[$i]['cr_note'])?>
</td>
<td class="num">
- <?=nbm($a_key[$i]['cr_tantieme'])?>
+ <?php echo nbm($a_key[$i]['cr_tantieme'])?>
</td>
<td class="num">
- <?=nbm($a_key[$i]['delta'])?>
+ <?php echo nbm($a_key[$i]['delta'])?>
</td>
- <td id="col<?=$a_key[$i]['cr_id']?>">
- <?
+ <td id="col<?php echo $a_key[$i]['cr_id']?>">
+ <?php
$js="onclick=remove_key('".$_REQUEST['plugin_code']."','".$_REQUEST['ac']."','".$_REQUEST['gDossier']."','".$a_key[$i]['cr_id']."')";
echo HtmlInput::anchor("enlever","",$js);
?>
</td>
</tr>
-<?
+<?php
endfor;
?>
</table>
- <?
$js=sprintf("add_key('%s','%s','%s')",$gDossier,$_REQUEST['plugin_code'],$_REQUEST['ac']);
+ <?php
$js=sprintf("add_key('%s','%s','%s')",$gDossier,$_REQUEST['plugin_code'],$_REQUEST['ac']);
echo HtmlInput::button("add_key","Ajout clef","onclick=\"$js\"");
?>
</div>
Modified: trunk/coprop/include/template/appel_fond.php
===================================================================
--- trunk/coprop/include/template/appel_fond.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/coprop/include/template/appel_fond.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -32,24 +32,24 @@
Date de l'opération
</td>
<td>
- <?=$date->input()?>
+ <?php echo $date->input()?>
</td>
</tr>
<td>Journal pour l'appel de fond</td>
<td>
- <?=$led_appel_fond->input()?>
+ <?php echo $led_appel_fond->input()?>
</td>
</tr>
<tr>
<td> Fiche pour l'appel</td>
- <td><?=$f_categorie_appel_bt?><?=$categorie_appel->input()?></td>
- <td><?=$f_categorie_appel_label?></td>
- <td><?=$str_add_appel?></td>
+ <td><?php echo $f_categorie_appel_bt?><?php echo
$categorie_appel->input()?></td>
+ <td><?php echo $f_categorie_appel_label?></td>
+ <td><?php echo $str_add_appel?></td>
</tr>
</table>
-appel de fond par <?=$appel_fond_type->input()?>
+appel de fond par <?php echo $appel_fond_type->input()?>
<div style="margin-left:150px">
<table id="appel_fond_budget">
<tr >
@@ -58,7 +58,7 @@
Budget à utiliser
</td>
<td>
- <?=$budget_sel->input()?>
+ <?php echo $budget_sel->input()?>
</td>
</tr>
<tr>
@@ -66,7 +66,7 @@
Pourcentage du budget
</td>
<td>
- <?=$budget_pct->input()?>
+ <?php echo $budget_pct->input()?>
</td>
</tr>
</table>
@@ -77,7 +77,7 @@
Montant à répartir
</td>
<td>
- <?=$amount->input()?>
+ <?php echo $amount->input()?>
</td>
</tr>
<tr>
@@ -85,7 +85,7 @@
Clef de répartiton à utiliser
</td>
<td>
- <?=$key->input()?>
+ <?php echo $key->input()?>
</td>
</tr>
Modified: trunk/coprop/include/template/bud_detail.php
===================================================================
--- trunk/coprop/include/template/bud_detail.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/coprop/include/template/bud_detail.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -14,30 +14,30 @@
<th>Clef de répartition </th>
<th>Montant</th>
</tr>
-<? for ($i=0;$i < count($a_input);$i++):?>
+<?php for ($i=0;$i < count($a_input);$i++):?>
<tr>
<td>
- <?=$a_input[$i]['card']?>
+ <?php echo $a_input[$i]['card']?>
</td>
<td>
- <?=$a_input[$i]['card_label']?>
+ <?php echo $a_input[$i]['card_label']?>
</td>
<td>
- <?=$a_input[$i]['key']?>
+ <?php echo $a_input[$i]['key']?>
</td>
<td>
- <?=$a_input[$i]['amount']?>
+ <?php echo $a_input[$i]['amount']?>
</td>
</tr>
-<? endfor?>
+<?php endfor?>
</table>
<p>
- Total <span id="sbud_total"><?=nbm($bud_amount)?></span>
+ Total <span id="sbud_total"><?php echo nbm($bud_amount)?></span>
</p>
<p>
Différence <span id="span_diff"></span>
Modified: trunk/coprop/include/template/budget.php
===================================================================
--- trunk/coprop/include/template/budget.php 2013-05-15 18:50:38 UTC (rev
502)
+++ trunk/coprop/include/template/budget.php 2013-05-16 22:42:11 UTC (rev
503)
@@ -34,7 +34,7 @@
Nom
</td>
<td>
- <?=$name->input()?>
+ <?php echo $name->input()?>
</td
</tr>
<tr>
@@ -42,7 +42,7 @@
Exercice
</td>
<td>
- <?=$exercice->input()?>
+ <?php echo $exercice->input()?>
</td>
</tr>
<tr>
@@ -50,7 +50,7 @@
Type de budget
</td>
<td>
- <?=$type->input()?>
+ <?php echo $type->input()?>
</td>
</tr>
<tr>
@@ -58,7 +58,7 @@
Montant
</td>
<td>
- <?=$amount->input()?>
+ <?php echo $amount->input()?>
</td>
</tr>
Modified: trunk/coprop/include/template/budget_list.php
===================================================================
--- trunk/coprop/include/template/budget_list.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/coprop/include/template/budget_list.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -12,7 +12,7 @@
<th> Type de budget </th>
<th style="text-align: right"> Montant </th>
</tr>
-<?
+<?php
for ($i=0;$i<count($array);$i++):
$class=($i%2==0)?' class="evend" ':' class="odd" ';
$str_js=sprintf(" onclick=\"budget_detail('%s','%s','%s','%s'); \"",
@@ -22,27 +22,27 @@
$_REQUEST['plugin_code'],$_REQUEST['ac'],$_REQUEST['gDossier'],$array[$i]['b_id']);
$js_del=HtmlInput::anchor("Effacer","",$str_js_del);
?>
- <tr id="row<?=$array[$i]['b_id']?>" <?=$class?> >
+ <tr id="row<?php echo $array[$i]['b_id']?>" <?php echo $class?> >
<td>
- <?=$array[$i]['b_name']?>
+ <?php echo $array[$i]['b_name']?>
</td>
<td>
- <?=$array[$i]['b_exercice']?>
+ <?php echo $array[$i]['b_exercice']?>
</td>
<td>
- <?=$array[$i]['str_type']?>
+ <?php echo $array[$i]['str_type']?>
</td>
<td CLASS="num">
- <?=nbm($array[$i]['b_amount'])?>
+ <?php echo nbm($array[$i]['b_amount'])?>
</td>
- <td id="col1<?=$array[$i]['b_id']?>">
- <?=$js?>
+ <td id="col1<?php echo $array[$i]['b_id']?>">
+ <?php echo $js?>
</td>
- <td id="col2<?=$array[$i]['b_id']?>">
- <?=$js_del?>
+ <td id="col2<?php echo $array[$i]['b_id']?>">
+ <?php echo $js_del?>
</td>
</tr>
-<?
+<?php
endfor;
?>
Modified: trunk/coprop/include/template/coprop_lot_list.php
===================================================================
--- trunk/coprop/include/template/coprop_lot_list.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/coprop/include/template/coprop_lot_list.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -29,10 +29,10 @@
$gDossier=Dossier::id();
?>
<h1 class="title">Lots affectés</h1>
-<? for ( $i=0;$i<count($a_immeuble);$i++):?>
-<h2 class="title">Immeuble :
<?=HtmlInput::card_detail($a_immeuble[$i]['quick_code'],$a_immeuble[$i]['vw_name'],'
style="display:inline;text-decoration:underline"')?></h2>
+<?php for ( $i=0;$i<count($a_immeuble);$i++):?>
+<h2 class="title">Immeuble : <?php echo
HtmlInput::card_detail($a_immeuble[$i]['quick_code'],$a_immeuble[$i]['vw_name'],'
style="display:inline;text-decoration:underline"')?></h2>
-<?
+<?php
$ret_coprop=$cn->execute("coprop",array($a_immeuble[$i]['f_id']));
$max_coprop=Database::num_row($ret_coprop);
if ($max_coprop==0)
@@ -42,13 +42,13 @@
}
?>
<ul style="list-style-type: none;margin-top:10px;margin-bottom:10px;">
-<?for ($e=0;$e<$max_coprop;$e++):
+<?php for ($e=0;$e<$max_coprop;$e++):
$r=Database::fetch_array($ret_coprop,$e);
?>
<li style="margin-top:4px;margin-bottom:4px;">
-Copropriétaire : <?=HtmlInput::card_detail($r['copro_qcode'],'','
style="display:inline;text-decoration:underline"').' '.h($r['copro_name']."
".$r['copro_first_name'])?>
+Copropriétaire : <?php echo HtmlInput::card_detail($r['copro_qcode'],'','
style="display:inline;text-decoration:underline"').' '.h($r['copro_name']."
".$r['copro_first_name'])?>
</li>
- <?
+ <?php
$ret_lot=$cn->execute("lot",array($a_immeuble[$i]['f_id'],$r['coprop_id']));
$max_lot=Database::num_row($ret_lot);
if ($max_lot==0)
@@ -58,20 +58,20 @@
}
?>
<ul>
- <?for ($l=0;$l<$max_lot;$l++):
+ <?php for ($l=0;$l<$max_lot;$l++):
$s=Database::fetch_array($ret_lot,$l);
?>
- <li style="list-style-type:
square;margin-top:2px;margin-bottom:2px;">Lot :
<?=HtmlInput::card_detail($s['lot_qcode'],'','
style="display:inline;text-decoration:underline"')." ".h($s['lot_name']."
".$s['lot_desc'])?></li>
- <? endfor;?>
+ <li style="list-style-type:
square;margin-top:2px;margin-bottom:2px;">Lot : <?php echo
HtmlInput::card_detail($s['lot_qcode'],'','
style="display:inline;text-decoration:underline"')." ".h($s['lot_name']."
".$s['lot_desc'])?></li>
+ <?php endfor;?>
</ul>
- <? endfor;?>
+ <?php endfor;?>
</ul>
-<? endfor; ?>
+<?php endfor; ?>
<h1 class="title">Lot sans immeuble ou sans copropriétaires</h1>
<ul>
-<? for($e=0;$e<count($a_undef_lot);$e++):?>
- <li><?=HtmlInput::card_detail($a_undef_lot[$e]['lot_qcode'],'','
style="display:inline;text-decoration:underline"')."
".h($a_undef_lot[$e]['lot_name']." ".$a_undef_lot[$e]['lot_desc'])?></li>
-<? endfor; ?>
+<?php for($e=0;$e<count($a_undef_lot);$e++):?>
+ <li><?php echo HtmlInput::card_detail($a_undef_lot[$e]['lot_qcode'],'','
style="display:inline;text-decoration:underline"')."
".h($a_undef_lot[$e]['lot_name']." ".$a_undef_lot[$e]['lot_desc'])?></li>
+<?php endfor; ?>
</ul>
Modified: trunk/coprop/include/template/historic.php
===================================================================
--- trunk/coprop/include/template/historic.php 2013-05-15 18:50:38 UTC (rev
502)
+++ trunk/coprop/include/template/historic.php 2013-05-16 22:42:11 UTC (rev
503)
@@ -53,30 +53,30 @@
</th>
</tr>
-<? for ($i=0;$i<count($array);$i++): ?>
+<?php for ($i=0;$i<count($array);$i++): ?>
<tr>
<td>
- <?=$array[$i]['str_date']?>
+ <?php echo $array[$i]['str_date']?>
</td>
<td>
- <?=$array[$i]['b_name']?>
+ <?php echo $array[$i]['b_name']?>
</td>
<td>
- <?=$array[$i]['cr_name']?>
+ <?php echo $array[$i]['cr_name']?>
</td>
<td>
- <?=nb($array[$i]['af_amount'])?>
+ <?php echo nb($array[$i]['af_amount'])?>
</td>
<td>
- <?=HtmlInput::detail_op($array[$i]['jr_id'],
$array[$i]['jr_internal'])?>
+ <?php echo HtmlInput::detail_op($array[$i]['jr_id'],
$array[$i]['jr_internal'])?>
</td>
<td>
- <?=$array[$i]['af_percent']?>
+ <?php echo $array[$i]['af_percent']?>
</td>
<td>
- <?=$array[$i]['b_exercice']?>
+ <?php echo $array[$i]['b_exercice']?>
</td>
</tr>
-<? endfor; ?>
+<?php endfor; ?>
</table>
\ No newline at end of file
Modified: trunk/coprop/include/template/key_detail.php
===================================================================
--- trunk/coprop/include/template/key_detail.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/coprop/include/template/key_detail.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -28,8 +28,8 @@
*/
?>
<div class="content" style="margin-left: 20px">
- <?=HtmlInput::button('rlist','Retour liste','
onclick="$(\'key_list\').show();$(\'keydetail_div\').hide()"')?>
-<h1><?=$str_message?></h1>
+ <?php echo HtmlInput::button('rlist','Retour liste','
onclick="$(\'key_list\').show();$(\'keydetail_div\').hide()"')?>
+<h1><?php echo $str_message?></h1>
<h2> Caractéristique</h2>
@@ -40,7 +40,7 @@
Nom
</td>
<td>
- <?=$name->input()?>
+ <?php echo $name->input()?>
</td>
</tr>
<tr>
@@ -48,13 +48,13 @@
Total tantième
</td>
<td>
- <?=$tantieme->input()?>
+ <?php echo $tantieme->input()?>
</td>
</tr>
</table>
Description
-<?=$note->input()?>
+<?php echo $note->input()?>
<h2>Détail des lots</h2>
<table class="result">
<tr>
@@ -65,23 +65,23 @@
<th>Bâtiment</th>
<th>Montant</th>
</tr>
-<?
+<?php
for ($i=0;$i<count($alot);$i++):
if ( $alot[$i]['qcode'] == "" ) continue;
?>
<tr>
<td>
-
<?=HtmlInput::card_detail($alot[$i]['qcode'],$alot[$i]['qcode'],'
class="line"')?>
- <?=HtmlInput::hidden('f_id[]',$alot[$i]['f_id'])?>
+ <?php echo
HtmlInput::card_detail($alot[$i]['qcode'],$alot[$i]['qcode'],' class="line"')?>
+ <?php echo
HtmlInput::hidden('f_id[]',$alot[$i]['f_id'])?>
</td>
<td>
- <?=$alot[$i]['name']?>
+ <?php echo $alot[$i]['name']?>
</td>
<td>
- <?=$alot[$i]['desc']?>
+ <?php echo $alot[$i]['desc']?>
</td>
<td>
- <?
+ <?php
$copro=$cn->get_value ("select
ad_value
from fiche_Detail
where ad_id=1
@@ -90,7 +90,7 @@
?>
</td>
<td>
- <?
+ <?php
$batiment=$cn->get_value
("select ad_value
from fiche_Detail
where ad_id=1
@@ -99,7 +99,7 @@
?>
</td>
<td>
- <?
+ <?php
$num=new INum('part'.$alot[$i]['f_id']);
$num->javascript='onchange="format_number(this,0);compute_key();"';
$num->value=round($alot[$i]['l_part'],0);
@@ -107,27 +107,27 @@
?>
</td>
</tr>
-<?
+<?php
endfor;
?>
</table>
<p>
-Total tantièmes : <span id="span_tantieme"><?=round($init_tantieme)?></span>
+Total tantièmes : <span id="span_tantieme"><?php echo
round($init_tantieme)?></span>
</p>
<p>
Différence :
-<?
+<?php
bcscale(0);
if ( bcsub ($init_tantieme,$tantieme->value) != 0):
?>
-<span id="span_diff" style="color:red"><?=bcsub
($init_tantieme,$tantieme->value)?></span>
-<?
+<span id="span_diff" style="color:red"><?php echo bcsub
($init_tantieme,$tantieme->value)?></span>
+<?php
else:
?>
-<span id="span_diff" style="color:green"><?=bcsub
($init_tantieme,$tantieme->value)?></span>
-<?
+<span id="span_diff" style="color:green"><?php echo bcsub
($init_tantieme,$tantieme->value)?></span>
+<?php
endif;
?>
Modified: trunk/import_card/include/template/input_file.php
===================================================================
--- trunk/import_card/include/template/input_file.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/import_card/include/template/input_file.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -10,24 +10,24 @@
Par défaut, correspond à un export CSV depuis Calc (OpenOffice.org ou
libreoffice);
</p>
<form method="POST" enctype="multipart/form-data">
-<?=$hidden?>
+<?php echo $hidden?>
<table>
<tr>
-<td>Délimiteur </td><TD> <? echo $delimiter->input()?></td>
+<td>Délimiteur </td><TD> <?php echo $delimiter->input()?></td>
</tr>
<tr>
-<td>Fichier à charger</td><TD> <? echo $file->input()?></td>
+<td>Fichier à charger</td><TD> <?php echo $file->input()?></td>
</tr>
<tr>
-<td>Catégorie de fiche</td><TD> <? echo $fd->input();?></td>
+<td>Catégorie de fiche</td><TD> <?php echo $fd->input();?></td>
</tr>
<tr>
-<td>Encodage unicode</td><TD> <? echo $encodage->input()?></td>
+<td>Encodage unicode</td><TD> <?php echo $encodage->input()?></td>
</tr>
<tr>
<td> Texte entouré du signe </td><TD><input type="text" name="rsurround"
value='"' size="1"></td>
</tr>
</table>
-<? echo HtmlInput::submit('test_import','Valider');?>
+<?php echo HtmlInput::submit('test_import','Valider');?>
</form>
Modified: trunk/import_card/include/template/test_file.php
===================================================================
--- trunk/import_card/include/template/test_file.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/import_card/include/template/test_file.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -9,26 +9,26 @@
</p>
<form method="POST" >
-<?=$hidden?>
+<?php echo $hidden?>
<table>
<tr>
<td>Délimiteur </td>
-<td> <? echo $_POST['rdelimiter']?></td>
+<td> <?php echo $_POST['rdelimiter']?></td>
</tr>
<tr>
-<td>Fichier à charger</td><td> <? echo $_FILES['csv_file']['name']?></td>
+<td>Fichier à charger</td><td> <?php echo $_FILES['csv_file']['name']?></td>
</tr>
<tr>
-<td>Catégorie de fiche</td><td> <? echo $file_cat;?></td>
+<td>Catégorie de fiche</td><td> <?php echo $file_cat;?></td>
</tr>
<tr>
-<td>Encodage </td><td> <? echo $encoding?></td>
+<td>Encodage </td><td> <?php echo $encoding?></td>
</tr>
<tr>
-<td>Texte entouré par</td><td> <? echo $_POST['rsurround'];?></td>
+<td>Texte entouré par</td><td> <?php echo $_POST['rsurround'];?></td>
</tr>
</table>
-<?
+<?php
foreach (array('rfichedef','rdelimiter','encodage') as $e)
{
if ( isset($_POST[$e])) echo HtmlInput::hidden($e,$_POST[$e]);
@@ -37,11 +37,11 @@
echo HtmlInput::submit('record_import','Valider');
?>
-<input type="hidden" name="rsurround" value='<?=$_POST['rsurround']?>'>
+<input type="hidden" name="rsurround" value='<?php echo $_POST['rsurround']?>'>
-<?
+<?php
global $cn;
ob_start();
/**
Modified: trunk/import_doli/include/template/input_file.php
===================================================================
--- trunk/import_doli/include/template/input_file.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/import_doli/include/template/input_file.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -10,24 +10,24 @@
Par défaut, correspond à un export CSV depuis Calc (OpenOffice.org ou
libreoffice);
</p>
<form method="POST" enctype="multipart/form-data">
-<?=$hidden?>
+<?php echo $hidden?>
<table>
<tr>
-<td>Délimiteur </td><TD> <? echo $delimiter->input()?></td>
+<td>Délimiteur </td><TD> <?php echo $delimiter->input()?></td>
</tr>
<tr>
-<td>Fichier à charger</td><TD> <? echo $file->input()?></td>
+<td>Fichier à charger</td><TD> <?php echo $file->input()?></td>
</tr>
<tr>
-<td>Catégorie de fiche</td><TD> <? echo $fd->input();?></td>
+<td>Catégorie de fiche</td><TD> <?php echo $fd->input();?></td>
</tr>
<tr>
-<td>Encodage unicode</td><TD> <? echo $encodage->input()?></td>
+<td>Encodage unicode</td><TD> <?php echo $encodage->input()?></td>
</tr>
<tr>
<td> Texte entouré du signe </td><TD><input type="text" name="rsurround"
value='"' size="1"></td>
</tr>
</table>
-<? echo HtmlInput::submit('test_import','Valider');?>
+<?php echo HtmlInput::submit('test_import','Valider');?>
</form>
Modified: trunk/import_doli/include/template/parameter.php
===================================================================
--- trunk/import_doli/include/template/parameter.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/import_doli/include/template/parameter.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -1,5 +1,5 @@
-<?
+<?php
$bt=new IButton("but_tva_add");
$bt->label="Ajout d'une correspondance";
$bt->javascript=" $('dtvaadd').show()";
@@ -9,7 +9,7 @@
<table class="result" style="width:60%;margin-left:20%">
<tr>
<th>Fiche TVA</th>
- <th>Taux correspondant <?=HtmlInput::infobulle(50)?></th>
+ <th>Taux correspondant <?php echo
HtmlInput::infobulle(50)?></th>
</tr>
<?php
for ($i = 0; $i < count($atva); $i++):
Modified: trunk/import_doli/include/template/parameter_tva_add.php
===================================================================
--- trunk/import_doli/include/template/parameter_tva_add.php 2013-05-15
18:50:38 UTC (rev 502)
+++ trunk/import_doli/include/template/parameter_tva_add.php 2013-05-16
22:42:11 UTC (rev 503)
@@ -36,21 +36,21 @@
TVA
</td>
<td>
- <? $tva_id = new ITva_Popup('tva_id');
+ <?php $tva_id = new
ITva_Popup('tva_id');
echo $tva_id->input()?>
</td>
</tr>
<tr>
<td>
- Taux dans le fichier <?=
HtmlInput::infobulle(50)?>
+ Taux dans le fichier <?php echo
HtmlInput::infobulle(50)?>
</td>
<td>
- <? $w = new INum('pt_rate');echo
$w->input();?>
+ <?php $w = new INum('pt_rate');echo
$w->input();?>
</td>
</tr>
</table>
- <?= HtmlInput::submit("ftvaadd", "Ajout");?>
- <?
+ <?php echo HtmlInput::submit("ftvaadd", "Ajout");?>
+ <?php
$bt = new IButton("but_tva_close");
$bt->label = "Fermer";
$bt->javascript = " $('dtvaadd').hide()";
Modified: trunk/import_doli/include/template/test_file.php
===================================================================
--- trunk/import_doli/include/template/test_file.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/import_doli/include/template/test_file.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -9,26 +9,26 @@
</p>
<form method="POST" >
-<?=$hidden?>
+<?php echo $hidden?>
<table>
<tr>
<td>Délimiteur </td>
-<td> <? echo $_POST['rdelimiter']?></td>
+<td> <?php echo $_POST['rdelimiter']?></td>
</tr>
<tr>
-<td>Fichier à charger</td><td> <? echo $_FILES['csv_file']['name']?></td>
+<td>Fichier à charger</td><td> <?php echo $_FILES['csv_file']['name']?></td>
</tr>
<tr>
-<td>Catégorie de fiche</td><td> <? echo $file_cat;?></td>
+<td>Catégorie de fiche</td><td> <?php echo $file_cat;?></td>
</tr>
<tr>
-<td>Encodage </td><td> <? echo $encoding?></td>
+<td>Encodage </td><td> <?php echo $encoding?></td>
</tr>
<tr>
-<td>Texte entouré par</td><td> <? echo $_POST['rsurround'];?></td>
+<td>Texte entouré par</td><td> <?php echo $_POST['rsurround'];?></td>
</tr>
</table>
-<?
+<?php
foreach (array('rfichedef','rdelimiter','encodage') as $e)
{
if ( isset($_POST[$e])) echo HtmlInput::hidden($e,$_POST[$e]);
@@ -37,11 +37,11 @@
echo HtmlInput::submit('record_import','Valider');
?>
-<input type="hidden" name="rsurround" value='<?=$_POST['rsurround']?>'>
+<input type="hidden" name="rsurround" value='<?php echo $_POST['rsurround']?>'>
-<?
+<?php
global $cn;
ob_start();
/**
Modified: trunk/import_doli/include/template/test_operation.php
===================================================================
--- trunk/import_doli/include/template/test_operation.php 2013-05-15
18:50:38 UTC (rev 502)
+++ trunk/import_doli/include/template/test_operation.php 2013-05-16
22:42:11 UTC (rev 503)
@@ -9,26 +9,26 @@
</p>
<form method="POST" >
-<?=$hidden?>
+<?php echo $hidden?>
<table>
<tr>
<td>Délimiteur </td>
-<td> <? echo $_POST['rdelimiter']?></td>
+<td> <?php echo $_POST['rdelimiter']?></td>
</tr>
<tr>
-<td>Fichier à charger</td><td> <? echo $_FILES['csv_file']['name']?></td>
+<td>Fichier à charger</td><td> <?php echo $_FILES['csv_file']['name']?></td>
</tr>
<tr>
-<td>Catégorie de fiche</td><td> <? echo $file_cat;?></td>
+<td>Catégorie de fiche</td><td> <?php echo $file_cat;?></td>
</tr>
<tr>
-<td>Encodage </td><td> <? echo $encoding?></td>
+<td>Encodage </td><td> <?php echo $encoding?></td>
</tr>
<tr>
-<td>Texte entouré par</td><td> <? echo $_POST['rsurround'];?></td>
+<td>Texte entouré par</td><td> <?php echo $_POST['rsurround'];?></td>
</tr>
</table>
-<?
+<?php
foreach (array('rfichedef','rdelimiter','encodage') as $e)
{
if ( isset($_POST[$e])) echo HtmlInput::hidden($e,$_POST[$e]);
@@ -37,11 +37,11 @@
echo HtmlInput::submit('record_import','Valider');
?>
-<input type="hidden" name="rsurround" value='<?=$_POST['rsurround']?>'>
+<input type="hidden" name="rsurround" value='<?php echo $_POST['rsurround']?>'>
-<?
+<?php
global $cn;
ob_start();
/**
Modified: trunk/import_doli/include/template/upload_operation.php
===================================================================
--- trunk/import_doli/include/template/upload_operation.php 2013-05-15
18:50:38 UTC (rev 502)
+++ trunk/import_doli/include/template/upload_operation.php 2013-05-16
22:42:11 UTC (rev 503)
@@ -37,9 +37,9 @@
<table>
<tr>
<tr>
- <td>Fichier à charger</td><TD> <? $file = new
IFile('csv_operation');echo $file->input()?></td>
+ <td>Fichier à charger</td><TD> <?php $file = new
IFile('csv_operation');echo $file->input()?></td>
</tr>
</table>
-<? echo HtmlInput::submit('upload','Valider');?>
+<?php echo HtmlInput::submit('upload','Valider');?>
</form>
\ No newline at end of file
Modified: trunk/importbank/include/import_bank.php
===================================================================
--- trunk/importbank/include/import_bank.php 2013-05-15 18:50:38 UTC (rev
502)
+++ trunk/importbank/include/import_bank.php 2013-05-16 22:42:11 UTC (rev
503)
@@ -1,4 +1,4 @@
-<?
+<?php
/*
* Step 1/4
*/
Modified: trunk/importbank/include/template/confirm_transfer.php
===================================================================
--- trunk/importbank/include/template/confirm_transfer.php 2013-05-15
18:50:38 UTC (rev 502)
+++ trunk/importbank/include/template/confirm_transfer.php 2013-05-16
22:42:11 UTC (rev 503)
@@ -49,7 +49,7 @@
Nom du format
</td>
<td>
- <?=$format->input()?>
+ <?php echo $format->input()?>
</td>
</tr>
<tr>
@@ -57,7 +57,7 @@
A importer dans le journal de banque
</td>
<td>
- <?=$jrn_def->input()?>
+ <?php echo $jrn_def->input()?>
</td>
</tr>
<tr>
@@ -65,7 +65,7 @@
Format de date
</td>
<td>
- <?=$format_date->input()?>
+ <?php echo $format_date->input()?>
</td>
</tr>
@@ -74,7 +74,7 @@
Séparateur de champs
</td>
<td>
- <?=$sep_field->input()?>
+ <?php echo $sep_field->input()?>
</td>
</tr>
@@ -83,7 +83,7 @@
Séparateur de millier
</td>
<td>
- <?=$sep_thousand->input()?>
+ <?php echo $sep_thousand->input()?>
</td>
</tr>
@@ -92,7 +92,7 @@
Séparateur décimal
</td>
<td>
- <?=$sep_decimal->input()?>
+ <?php echo $sep_decimal->input()?>
</td>
</tr>
<tr>
@@ -100,7 +100,7 @@
Ligne d'en-tête à ne pas prendre en considération
</td>
<td>
- <?=$skip->input()?>
+ <?php echo $skip->input()?>
</td>
</tr>
<tr>
@@ -108,7 +108,7 @@
Les lignes ayant ce nombre de colonnes sont valides
</td>
<td>
- <?=$nb_col->input()?>
+ <?php echo $nb_col->input()?>
</td>
</tr>
@@ -181,5 +181,5 @@
?>
</table>
-<?=HtmlInput::submit('transfer_submit','Enregistrer les opérations')?>
+<?php echo HtmlInput::submit('transfer_submit','Enregistrer les opérations')?>
</form>
\ No newline at end of file
Modified: trunk/importbank/include/template/delete_item.php
===================================================================
--- trunk/importbank/include/template/delete_item.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/importbank/include/template/delete_item.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -1,5 +1,5 @@
-<div id="<?=$ctl?>">
-<?=HtmlInput::anchor_close($ctl)?>
+<div id="<?php echo $ctl?>">
+<?php echo HtmlInput::anchor_close($ctl)?>
<?php
echo h2info('Détail opération');
@@ -14,37 +14,37 @@
<table>
<TR>
-<TD>Date</TD><td><?=$bi->tp_date?></td></tr>
-<tr><td>n° opération </td><td><?=h($bi->ref_operation)?></td></tr>
+<TD>Date</TD><td><?php echo $bi->tp_date?></td></tr>
+<tr><td>n° opération </td><td><?php echo h($bi->ref_operation)?></td></tr>
<tr><TD>
Tiers
</TD>
<td>
- <?=h($bi->tp_third)?>
+ <?php echo h($bi->tp_third)?>
</td>
</tr>
<tr>
<TD>Montant
</TD>
- <td><?=nbm($bi->amount)?>
+ <td><?php echo nbm($bi->amount)?>
</td>
</tr>
<tr>
<TD>Libelle
</TD>
- <td><?=h($bi->libelle)?>
+ <td><?php echo h($bi->libelle)?>
</td>
</tr>
<tr>
<TD>Autre information
</TD>
- <td><?=h($bi->tp_extra)?>
+ <td><?php echo h($bi->tp_extra)?>
</td>
</tr>
<tr>
<TD>Journal
</TD>
- <td><?=$jrn?>
+ <td><?php echo $jrn?>
</td>
</tr>
<!--
@@ -52,13 +52,13 @@
<TD>Contrepartie
</TD>
<?php $w->readOnly=true;$wConcerned->readOnly=true;?>
- <td><? /* $w->input() */ ?><? /* $w->search() */?><span
id="e_third"></span>
+ <td><?php /* $w->input() */ ?><?php /* $w->search() */?><span
id="e_third"></span>
</td>
</tr>
<tr>
<TD>reconciliation
</TD>
- <td><? /* $wConcerned->input();*/ ?>
+ <td><?php /* $wConcerned->input();*/ ?>
</td>
</tr>
-->
Modified: trunk/importbank/include/template/detail_item.php
===================================================================
--- trunk/importbank/include/template/detail_item.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/importbank/include/template/detail_item.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -1,5 +1,5 @@
-<div id="<?=$ctl?>">
-<?=HtmlInput::anchor_close($ctl)?>
+<div id="<?php echo $ctl?>">
+<?php echo HtmlInput::anchor_close($ctl)?>
<?php
echo h2info('Détail opération');
@@ -18,73 +18,73 @@
<table>
<TR>
-<TD>Date</TD><td><?=$date->input()?></td></tr>
+<TD>Date</TD><td><?php echo $date->input()?></td></tr>
<tr>
<TD>Journal
</TD>
- <td><span class="notice"><?=$jrn?></span>
+ <td><span class="notice"><?php echo $jrn?></span>
</td>
</tr>
<tr>
<TD>Contrepartie
</TD>
- <td><?=$w->input()?><?=$w->search()?><span
id="e_third"><?=h($name)?></span>
+ <td><?php echo $w->input()?><?php echo $w->search()?><span
id="e_third"><?php echo h($name)?></span>
</td>
</tr>
-<tr><td>n° opération </td><td><?=h($bi->ref_operation)?></td></tr>
+<tr><td>n° opération </td><td><?php echo h($bi->ref_operation)?></td></tr>
<tr><TD>
Tiers
</TD>
<td>
- <?=$third->input()?>
+ <?php echo $third->input()?>
</td>
</tr>
<tr>
<TD>Montant
</TD>
- <td><?=$amount->input()?>
+ <td><?php echo $amount->input()?>
</td>
</tr>
<tr>
<TD>Libelle
</TD>
- <td><?=$libelle->input()?>
+ <td><?php echo $libelle->input()?>
</td>
</tr>
<tr>
<TD>Autre information
</TD>
- <td><?=$extra->input()?>
+ <td><?php echo $extra->input()?>
</td>
</tr>
<tr>
<TD>reconciliation
</TD>
- <td><?=$wConcerned->input();?>
+ <td><?php echo $wConcerned->input();?>
</td>
</tr>
-<? $style=($bi->status == 'E') ? 'style="color:red;font-weight:bold"' : '';?>
+<?php $style=($bi->status == 'E') ? 'style="color:red;font-weight:bold"' :
'';?>
<tr>
<TD>statut</TD>
- <td <?=$style?> ><?=$status?></td>
+ <td <?php echo $style?> ><?php echo $status?></td>
</tr>
-<? if ($bi->status != 'D') : ?>
+<?php if ($bi->status != 'D') : ?>
<tr>
<TD>A effacer</TD>
- <td><?=$remove->input();?>
+ <td><?php echo $remove->input();?>
</td>
</tr>
-<? else :?>
+<?php else :?>
<tr>
<TD>A ne pas effacer</TD>
- <td><?=$recup->input();?>
+ <td><?php echo $recup->input();?>
</td>
</tr>
-<? endif; ?>
+<?php endif; ?>
</table>
-<?=HtmlInput::submit('save','Sauve');?>
-<?=HtmlInput::button_close($ctl)?>
+<?php echo HtmlInput::submit('save','Sauve');?>
+<?php echo HtmlInput::button_close($ctl)?>
</form>
</div>
Modified: trunk/importbank/include/template/import_new.php
===================================================================
--- trunk/importbank/include/template/import_new.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/importbank/include/template/import_new.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -1,4 +1,4 @@
<h2>Etape 1 /4 : choix du format</h2>
<p>
-Choississez un format <?=$iselect->input();?>
+Choississez un format <?php echo $iselect->input();?>
</p>
Modified: trunk/importbank/include/template/input_file.php
===================================================================
--- trunk/importbank/include/template/input_file.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/importbank/include/template/input_file.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -10,24 +10,24 @@
Par défaut, correspond à un export CSV depuis Calc (OpenOffice.org ou
libreoffice);
</p>
<form method="POST" enctype="multipart/form-data">
-<?=$hidden?>
+<?php echo $hidden?>
<table>
<tr>
-<td>Délimiteur </td><TD> <? echo $delimiter->input()?></td>
+<td>Délimiteur </td><TD> <?php echo $delimiter->input()?></td>
</tr>
<tr>
-<td>Fichier à charger</td><TD> <? echo $file->input()?></td>
+<td>Fichier à charger</td><TD> <?php echo $file->input()?></td>
</tr>
<tr>
-<td>Catégorie de fiche</td><TD> <? echo $fd->input();?></td>
+<td>Catégorie de fiche</td><TD> <?php echo $fd->input();?></td>
</tr>
<tr>
-<td>Encodage unicode</td><TD> <? echo $encodage->input()?></td>
+<td>Encodage unicode</td><TD> <?php echo $encodage->input()?></td>
</tr>
<tr>
<td> Texte entouré du signe </td><TD><input type="text" name="rsurround"
value='"' size="1"></td>
</tr>
</table>
-<? echo HtmlInput::submit('test_import','Valider');?>
+<?php echo HtmlInput::submit('test_import','Valider');?>
</form>
Modified: trunk/importbank/include/template/show_field.php
===================================================================
--- trunk/importbank/include/template/show_field.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/importbank/include/template/show_field.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -7,7 +7,7 @@
Nom du format
</td>
<td>
- <?=$format->input()?>
+ <?php echo $format->input()?>
</td>
</tr>
<tr>
@@ -15,7 +15,7 @@
A importer dans le journal de banque
</td>
<td>
- <?=$jrn_def->input()?>
+ <?php echo $jrn_def->input()?>
</td>
</tr>
<tr>
@@ -23,7 +23,7 @@
Format de date
</td>
<td>
- <?=$format_date->input()?>
+ <?php echo $format_date->input()?>
</td>
</tr>
@@ -32,7 +32,7 @@
Séparateur de champs
</td>
<td>
- <?=$sep_field->input()?>
+ <?php echo $sep_field->input()?>
</td>
</tr>
@@ -41,7 +41,7 @@
Séparateur de millier
</td>
<td>
- <?=$sep_thousand->input()?>
+ <?php echo $sep_thousand->input()?>
</td>
</tr>
@@ -50,7 +50,7 @@
Séparateur décimal
</td>
<td>
- <?=$sep_decimal->input()?>
+ <?php echo $sep_decimal->input()?>
</td>
</tr>
<tr>
@@ -58,7 +58,7 @@
Ligne d'en-tête à ne pas prendre en considération
</td>
<td>
- <?=$skip->input()?>
+ <?php echo $skip->input()?>
</td>
</tr>
@@ -67,7 +67,7 @@
Les lignes ayant ce nombre de colonnes sont valides, laissez à vide si
vous ne savez pas
</td>
<td>
- <?=$nb_col->input()?>
+ <?php echo $nb_col->input()?>
</td>
</tr>
@@ -75,9 +75,9 @@
</table>
-Fichier à importer <?=$file->input()?>
+Fichier à importer <?php echo $file->input()?>
-<?
+<?php
echo HtmlInput::submit('input_file','Valider');
echo
HtmlInput::get_to_hidden(array('format','gDossier','sa','plugin_code','format'));
echo HtmlInput::hidden('sb',$sb);
Modified: trunk/importbank/include/template/show_import.php
===================================================================
--- trunk/importbank/include/template/show_import.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/importbank/include/template/show_import.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -38,25 +38,25 @@
?>
-<tr <?=$class?>>
-<td><?=$row['id']?></td>
+<tr <?php echo $class?>>
+<td><?php echo $row['id']?></td>
<td>
-<?=HtmlInput::hidden('id[]',$row['id']);?>
-<?=format_date($row['str_date'])?>
+<?php echo HtmlInput::hidden('id[]',$row['id']);?>
+<?php echo format_date($row['str_date'])?>
</td>
<td>
-<?=h($row['format_name'])?>
+<?php echo h($row['format_name'])?>
</td>
-<td><?=$nnew[0]?></td>
-<td><?=$ntransf[0]?></td>
-<td><?=$nrec[0]?></td>
+<td><?php echo $nnew[0]?></td>
+<td><?php echo $ntransf[0]?></td>
+<td><?php echo $nrec[0]?></td>
-<td><?=$nerror[0]?></td>
-<td><?=$ndelete[0]?></td>
+<td><?php echo $nerror[0]?></td>
+<td><?php echo $ndelete[0]?></td>
<td>
-<?
+<?php
$select=new ICheckBox('s_del[]',$row['id']);
echo $select->input()
@@ -72,7 +72,7 @@
</tr>
</tr>
-<?
+<?php
endfor;
?>
</table>
Modified: trunk/importbank/include/template/show_list.php
===================================================================
--- trunk/importbank/include/template/show_list.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/importbank/include/template/show_list.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -1,14 +1,14 @@
-<h2 class="info"> Journal cible = <?=$jrn_name?> Compte de ce journal
<?=$jrn_account?></h2>
+<h2 class="info"> Journal cible = <?php echo $jrn_name?> Compte de ce journal
<?php echo $jrn_account?></h2>
<form method="get">
-Filtrer : <?=$filter->input()?>
-<?=HtmlInput::request_to_hidden(array('gDossier','plugin_code','ac','sb','sa','id'))?>
-<?=HtmlInput::submit('refresh','Recharger')?>
+Filtrer : <?php echo $filter->input()?>
+<?php echo
HtmlInput::request_to_hidden(array('gDossier','plugin_code','ac','sb','sa','id'))?>
+<?php echo HtmlInput::submit('refresh','Recharger')?>
</form>
<form method="get" onsubmit="return confirm ('Vous confirmez ?')">
-<?=HtmlInput::request_to_hidden(array('gDossier','plugin_code','ac','sb','sa','id',$filter->name))?>
-<?=HtmlInput::submit('delete_record','Effacer')?>
-<?=HtmlInput::submit('transfer_record','Transfèrer')?>
+<?php echo
HtmlInput::request_to_hidden(array('gDossier','plugin_code','ac','sb','sa','id',$filter->name))?>
+<?php echo HtmlInput::submit('delete_record','Effacer')?>
+<?php echo HtmlInput::submit('transfer_record','Transfèrer')?>
</form>
<table class="table_large">
@@ -22,7 +22,7 @@
<th>Libellé</th>
<th>Extra</th>
</TR>
-<?
+<?php
$gdossier=Dossier::id();
$plugin_code=$_REQUEST['plugin_code'];
for ($i=0;$i<Database::num_row($ret);$i++):
@@ -32,46 +32,46 @@
$javascript="onclick=\"reconcilie('div${row['id']}','$gdossier','${row['id']}','$plugin_code')\"";
?>
-<tr <?=$class?> >
+<tr <?php echo $class?> >
<td>
- <?=HtmlInput::button('bt'.$row['id'],'Reconcilie',$javascript)?>
+ <?php echo HtmlInput::button('bt'.$row['id'],'Reconcilie',$javascript)?>
</td>
<TD>
-<?=$row['ref_operation']?>
+<?php echo $row['ref_operation']?>
</TD>
<TD>
-<?=format_date($row['tp_date'])?>
+<?php echo format_date($row['tp_date'])?>
</TD>
<td class="num">
-<?=nbm($row['amount'])?>
+<?php echo nbm($row['amount'])?>
</td>
-<td id="<?='st'.$row['id']?>" <?=Import_Bank::color_status($row['status'])?> >
-<?=$row['f_status']?>
+<td id="<?php echo 'st'.$row['id']?>" <?php echo
Import_Bank::color_status($row['status'])?> >
+<?php echo $row['f_status']?>
</td>
<td>
-<?=h($row['tp_third'])?>
+<?php echo h($row['tp_third'])?>
</td>
<td>
-<?=h($row['libelle'])?>
+<?php echo h($row['libelle'])?>
</td>
<td >
-<?=h($row['tp_extra'])?>
+<?php echo h($row['tp_extra'])?>
</td>
</tr>
-<?
+<?php
endfor;
?>
</table>
<form method="get" onsubmit="return confirm ('Vous confirmez?')">
-<?=HtmlInput::request_to_hidden(array('gDossier','plugin_code','ac','sb','sa','id',$filter->name))?>
-<?=HtmlInput::submit('delete_record','Effacer')?>
-<?=HtmlInput::submit('transfer_record','Transfèrer')?>
+<?php echo
HtmlInput::request_to_hidden(array('gDossier','plugin_code','ac','sb','sa','id',$filter->name))?>
+<?php echo HtmlInput::submit('delete_record','Effacer')?>
+<?php echo HtmlInput::submit('transfer_record','Transfèrer')?>
</form>
Modified: trunk/importbank/include/template/show_transfer.php
===================================================================
--- trunk/importbank/include/template/show_transfer.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/importbank/include/template/show_transfer.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -108,7 +108,7 @@
Nom du format
</td>
<td>
- <?=$format->input()?>
+ <?php echo $format->input()?>
</td>
</tr>
<tr>
@@ -116,7 +116,7 @@
A importer dans le journal de banque
</td>
<td>
- <?=$jrn_def->input()?>
+ <?php echo $jrn_def->input()?>
</td>
</tr>
<tr>
@@ -124,7 +124,7 @@
Format de date
</td>
<td>
- <?=$format_date->input()?>
+ <?php echo $format_date->input()?>
</td>
</tr>
@@ -133,7 +133,7 @@
Séparateur de champs
</td>
<td>
- <?=$sep_field->input()?>
+ <?php echo $sep_field->input()?>
</td>
</tr>
@@ -142,7 +142,7 @@
Séparateur de millier
</td>
<td>
- <?=$sep_thousand->input()?>
+ <?php echo $sep_thousand->input()?>
</td>
</tr>
@@ -151,7 +151,7 @@
Séparateur décimal
</td>
<td>
- <?=$sep_decimal->input()?>
+ <?php echo $sep_decimal->input()?>
</td>
</tr>
<tr>
@@ -159,7 +159,7 @@
Ligne d en-tête à ne pas prendre en considération
</td>
<td>
- <?=$skip->input()?>
+ <?php echo $skip->input()?>
</td>
</tr>
@@ -168,7 +168,7 @@
Les lignes ayant ce nombre de colonnes sont valides
</td>
<td>
- <?=$nb_col->input()?>
+ <?php echo $nb_col->input()?>
</td>
</tr>
@@ -221,5 +221,5 @@
?>
</table>
-<?=$table?>
+<?php echo $table?>
</form>
\ No newline at end of file
Modified: trunk/importbank/include/template/test_file.php
===================================================================
--- trunk/importbank/include/template/test_file.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/importbank/include/template/test_file.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -9,26 +9,26 @@
</p>
<form method="POST" >
-<?=$hidden?>
+<?php echo $hidden?>
<table>
<tr>
<td>Délimiteur </td>
-<td> <? echo $_POST['rdelimiter']?></td>
+<td> <?php echo $_POST['rdelimiter']?></td>
</tr>
<tr>
-<td>Fichier à charger</td><td> <? echo $_FILES['csv_file']['name']?></td>
+<td>Fichier à charger</td><td> <?php echo $_FILES['csv_file']['name']?></td>
</tr>
<tr>
-<td>Catégorie de fiche</td><td> <? echo $file_cat;?></td>
+<td>Catégorie de fiche</td><td> <?php echo $file_cat;?></td>
</tr>
<tr>
-<td>Encodage </td><td> <? echo $encoding?></td>
+<td>Encodage </td><td> <?php echo $encoding?></td>
</tr>
<tr>
-<td>Texte entouré par</td><td> <? echo $_POST['rsurround'];?></td>
+<td>Texte entouré par</td><td> <?php echo $_POST['rsurround'];?></td>
</tr>
</table>
-<?
+<?php
foreach (array('rfichedef','rdelimiter','encodage') as $e)
{
if ( isset($_POST[$e])) echo HtmlInput::hidden($e,$_POST[$e]);
@@ -37,11 +37,11 @@
echo HtmlInput::submit('record_import','Valider');
?>
-<input type="hidden" name="rsurround" value='<?=$_POST['rsurround']?>'>
+<input type="hidden" name="rsurround" value='<?php echo $_POST['rsurround']?>'>
-<?
+<?php
global $cn;
ob_start();
/**
Modified: trunk/modop/index.php
===================================================================
--- trunk/modop/index.php 2013-05-15 18:50:38 UTC (rev 502)
+++ trunk/modop/index.php 2013-05-16 22:42:11 UTC (rev 503)
@@ -37,11 +37,11 @@
?>
<FORM METHOD="GET">
- <? echo HtmlInput::extension().dossier::hidden();?>
- <? echo HtmlInput::hidden('ac',$_REQUEST['ac']);?>
-<?=_("Code interne de l'opération à modifier") ?>
- <?=$str->input()?>
- <?
+ <?php echo HtmlInput::extension().dossier::hidden();?>
+ <?php echo HtmlInput::hidden('ac',$_REQUEST['ac']);?>
+<?php echo _("Code interne de l'opération à modifier") ?>
+ <?php echo $str->input()?>
+ <?php
echo HtmlInput::submit('seek','retrouver')?>
</FORM>
Modified: trunk/modop/template_ledger_fin.php
===================================================================
--- trunk/modop/template_ledger_fin.php 2013-05-15 18:50:38 UTC (rev 502)
+++ trunk/modop/template_ledger_fin.php 2013-05-16 22:42:11 UTC (rev 503)
@@ -1,26 +1,26 @@
<fieldset>
-<legend><?=$f_legend ?> </legend>
- <?=_('Date').' '.$f_date ?><br>
-<?=$f_jrn?><br>
-<?=_('Banque')?><?=$ibank->input(); ?><?=$ibank->search()?> <span
id='e_bank_account_label'><?$f_bank_label?></span>
+<legend><?php echo $f_legend ?> </legend>
+ <?php echo _('Date').' '.$f_date ?><br>
+<?php echo $f_jrn?><br>
+<?php echo _('Banque')?><?php echo $ibank->input(); ?><?php echo
$ibank->search()?> <span id='e_bank_account_label'><?$f_bank_label?></span>
</fieldset>
<fieldset>
-<legend><?=$f_legend_detail?></legend>
- <fieldset><legend><?=_('Extrait de compte')?></legend>
- <?=_('Numéro extrait')?> <?=$f_extrait?>
+<legend><?php echo $f_legend_detail?></legend>
+ <fieldset><legend><?php echo _('Extrait de compte')?></legend>
+ <?php echo _('Numéro extrait')?> <?php echo $f_extrait?>
<input type="text" disabled id="first_sold"></span>
</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 colspan="2">code<?HtmlInput::infobulle(0)?></TH>
- <th><?=_('Commentaire')?></TH>
- <th><?=_('Montant')?></TH>
+ <th><?php echo _('Commentaire')?></TH>
+ <th><?php echo _('Montant')?></TH>
</tr>
-<? foreach ($array as $item) {
+<?php foreach ($array as $item) {
echo '<tr>';
echo td($item['search'].$item['qcode']);
echo td($item['span']);
Modified: trunk/rapport_avance/ajax.php
===================================================================
--- trunk/rapport_avance/ajax.php 2013-05-15 18:50:38 UTC (rev 502)
+++ trunk/rapport_avance/ajax.php 2013-05-16 22:42:11 UTC (rev 503)
@@ -24,43 +24,43 @@
Nouv.
</td>
<td>
- <?= HtmlInput::hidden('p_id[]', -1)?>
- <?
+ <?php echo HtmlInput::hidden('p_id[]', -1)?>
+ <?php
$p_code = new IText('p_code[]');
$p_code->size = "10";
echo $p_code->input();
?>
</td>
<td>
- <?
+ <?php
$p_libelle = new IText('p_libelle[]');
$p_libelle->css_size = "100%";
echo $p_libelle->input();
?>
</td>
<td>
- <?
+ <?php
$p_type = new ISelect('p_type[]');
$p_type->value = $type_row;
echo $p_type->input();
?>
</td>
<td>
- <?
+ <?php
$p_type_periode = new ISelect('t_id[]');
$p_type_periode->value = $type_periode;
echo $p_type_periode->input();
?>
</td>
<td>
- <?
+ <?php
$p_order = new INum('p_order[]');
$p_order->prec = 0;
$p_order->size = 4;
echo $p_order->input();
?>
</td>
- <?
+ <?php
break;
/* *
**************************************************************************************************************
* Montre le résultat et permet de changer les paramètrages d'un
formulaire
Modified: trunk/rapport_avance/ajax_search_code.php
===================================================================
--- trunk/rapport_avance/ajax_search_code.php 2013-05-15 18:50:38 UTC (rev
502)
+++ trunk/rapport_avance/ajax_search_code.php 2013-05-16 22:42:11 UTC (rev
503)
@@ -39,14 +39,14 @@
Libellé
</th>
</tr>
- <? for ($i=0;$i<count($array);$i++): ?>
+ <?php for ($i=0;$i<count($array);$i++): ?>
<tr>
<td>
-
<?=HtmlInput::anchor(h($array[$i]['p_code']),"",'onclick="$(\'form_compute\').value+=\'['.$array[$i]['p_code'].']\';removeDiv(\'search_code_div\');"')?>
+ <?php echo
HtmlInput::anchor(h($array[$i]['p_code']),"",'onclick="$(\'form_compute\').value+=\'['.$array[$i]['p_code'].']\';removeDiv(\'search_code_div\');"')?>
</td>
<td>
- <?=h($array[$i]['p_libelle'])?>
+ <?php echo h($array[$i]['p_libelle'])?>
</td>
</tr>
- <?endfor;?>
-</table>
\ No newline at end of file
+ <?php endfor;?>
+</table>
Modified: trunk/rapport_avance/include/declaration.inc.php
===================================================================
--- trunk/rapport_avance/include/declaration.inc.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/rapport_avance/include/declaration.inc.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -101,25 +101,25 @@
);
?>
<form id="declaration_form_id" method="GET" onsubmit="return validate()">
- <?= $hidden?>
+ <?php echo $hidden?>
<table>
<tr>
<td>
Déclaration
</td>
<td>
- <?= $select->input()?>
+ <?php echo $select->input()?>
</td>
</tr>
<tr>
- <td> Description</td><td> <?=$description->input()?></td>
+ <td> Description</td><td> <?php echo $description->input()?></td>
</tr>
<tr>
<td>
Date de début
</td>
<td>
- <?= $date_start->input()?>
+ <?php echo $date_start->input()?>
</td>
</tr>
<tr>
@@ -127,7 +127,7 @@
Date de fin
</td>
<td>
- <?= $date_end->input()?>
+ <?php echo $date_end->input()?>
</td>
</tr>
<tr>
@@ -135,16 +135,16 @@
Etape de
</td>
<td>
- <?= $istep->input()?>
+ <?php echo $istep->input()?>
</td>
</tr>
</table>
</p>
- <?= HtmlInput::submit('compute', 'Générer')?>
+ <?php echo HtmlInput::submit('compute', 'Générer')?>
</form>
<script charset="UTF8" lang="javascript">
function validate() {
- if ( check_date_id('<?= $date_start->id?>') == false )
{alert('Date de début incorrecte');$('<?=
$date_start->id?>').style.borderColor='red';$('<?=
$date_start->id?>').style.borderWidth=2;return false;}
- if ( check_date_id('<?= $date_end->id?>') == false )
{alert('Date de fin incorrecte');$('<?=
$date_end->id?>').style.borderColor='red';$('<?=
$date_end->id?>').style.borderWidth=2;return false;}
+ if ( check_date_id('<?php echo $date_start->id?>') == false )
{alert('Date de début incorrecte');$('<?php echo
$date_start->id?>').style.borderColor='red';$('<?php echo
$date_start->id?>').style.borderWidth=2;return false;}
+ if ( check_date_id('<?php echo $date_end->id?>') == false )
{alert('Date de fin incorrecte');$('<?php echo
$date_end->id?>').style.borderColor='red';$('<?php echo
$date_end->id?>').style.borderWidth=2;return false;}
}
</script>
\ No newline at end of file
Modified: trunk/rapport_avance/include/historique.inc.php
===================================================================
--- trunk/rapport_avance/include/historique.inc.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/rapport_avance/include/historique.inc.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -70,32 +70,32 @@
</th>
</tr>
- <? for ($i=0;$i<count($data);$i++) :?>
- <tr id="tr_<?=$data[$i]['d_id']?>">
- <td sortable_customkey="<?=$data[$i]['fmt_start']?>">
+ <?php for ($i=0;$i<count($data);$i++) :?>
+ <tr id="tr_<?php echo $data[$i]['d_id']?>">
+ <td sortable_customkey="<?php echo $data[$i]['fmt_start']?>">
- <?=format_date($data[$i]['d_start'])?>
+ <?php echo format_date($data[$i]['d_start'])?>
</td>
- <td sortable_customkey="<?=$data[$i]['fmt_end']?>">
- <?=format_date($data[$i]['d_end'])?>
+ <td sortable_customkey="<?php echo $data[$i]['fmt_end']?>">
+ <?php echo format_date($data[$i]['d_end'])?>
</td>
<td>
- <?=h($data[$i]['d_title'])?>
+ <?php echo h($data[$i]['d_title'])?>
</td>
<td>
- <?=h($data[$i]['d_description'])?>
+ <?php echo h($data[$i]['d_description'])?>
</td>
- <td sortable_customkey="<?=$data[$i]['fmt_order_generated']?>">
- <?=h($data[$i]['fmt_generated'])?>
+ <td sortable_customkey="<?php echo
$data[$i]['fmt_order_generated']?>">
+ <?php echo h($data[$i]['fmt_generated'])?>
</td>
- <td id="mod_<?=$data[$i]['d_id']?>">
-
<?=HtmlInput::anchor("Afficher","",sprintf("onclick=\"rapav_declaration_display('%s','%s','%s','%s')\"",$_REQUEST['plugin_code'],$_REQUEST['ac'],$_REQUEST['gDossier'],$data[$i]['d_id']))?>
+ <td id="mod_<?php echo $data[$i]['d_id']?>">
+ <?php echo
HtmlInput::anchor("Afficher","",sprintf("onclick=\"rapav_declaration_display('%s','%s','%s','%s')\"",$_REQUEST['plugin_code'],$_REQUEST['ac'],$_REQUEST['gDossier'],$data[$i]['d_id']))?>
</td>
- <td id="del_<?=$data[$i]['d_id']?>">
-
<?=HtmlInput::anchor("Efface","",sprintf("onclick=\"rapav_declaration_delete('%s','%s','%s','%s')\"",$_REQUEST['plugin_code'],$_REQUEST['ac'],$_REQUEST['gDossier'],$data[$i]['d_id']))?>
+ <td id="del_<?php echo $data[$i]['d_id']?>">
+ <?php echo
HtmlInput::anchor("Efface","",sprintf("onclick=\"rapav_declaration_delete('%s','%s','%s','%s')\"",$_REQUEST['plugin_code'],$_REQUEST['ac'],$_REQUEST['gDossier'],$data[$i]['d_id']))?>
</td>
</tr>
- <? endfor; ?>
+ <?php endfor; ?>
</table>
</div>
<div id="declaration_display_div">
Modified: trunk/rapport_avance/include/template/declaration_display.php
===================================================================
--- trunk/rapport_avance/include/template/declaration_display.php
2013-05-15 18:50:38 UTC (rev 502)
+++ trunk/rapport_avance/include/template/declaration_display.php
2013-05-16 22:42:11 UTC (rev 503)
@@ -27,12 +27,12 @@
*
*/
?>
-<h1><?=$this->d_title?></h1>
-<h2> Du <?=$this->d_start?> au <?=$this->d_end?></h2>
+<h1><?php echo $this->d_title?></h1>
+<h2> Du <?php echo $this->d_start?> au <?php echo $this->d_end?></h2>
<p>
- Note : <?=h($this->d_description)?>
+ Note : <?php echo h($this->d_description)?>
</p>
-<?
+<?php
if ( empty($array) ) { echo 'Aucune donnée'; exit();}
// Create infobulle
Modified: trunk/rapport_avance/include/template/formulaire_definition.php
===================================================================
--- trunk/rapport_avance/include/template/formulaire_definition.php
2013-05-15 18:50:38 UTC (rev 502)
+++ trunk/rapport_avance/include/template/formulaire_definition.php
2013-05-16 22:42:11 UTC (rev 503)
@@ -36,7 +36,7 @@
Effacer
</th>
<th style="width:92px">
- Code <?=HtmlInput::infobulle(200)?>
+ Code <?php echo HtmlInput::infobulle(200)?>
</th>
<th>
Libellé
@@ -53,24 +53,24 @@
</tr>
</thead>
<tbody id="table_body_id">
- <? for ($i=0;$i<$max;$i++):?>
- <tr id="row_<?=$i?>">
+ <?php for ($i=0;$i<$max;$i++):?>
+ <tr id="row_<?php echo $i?>">
<td>
- <?
+ <?php
$a=new
ICheckBox('del_row[]',$this->definition[$i]->p_id);
echo $a->input();
?>
</td>
<td>
-
<?=HtmlInput::hidden('p_id[]',$this->definition[$i]->p_id) ?>
- <?
+ <?php echo
HtmlInput::hidden('p_id[]',$this->definition[$i]->p_id) ?>
+ <?php
$p_code=new
IText('p_code[]',$this->definition[$i]->p_code);
$p_code->size="10";
echo $p_code->input();
?>
</td>
<td>
- <?
+ <?php
$p_libelle=new
IText('p_libelle[]',$this->definition[$i]->p_libelle);
$p_libelle->size="50";
//$p_libelle->css_size="100%";
@@ -78,7 +78,7 @@
?>
</td>
<td>
- <?
+ <?php
$p_type=new ISelect('p_type[]');
$p_type->value=$type_row;
$p_type->selected=$this->definition[$i]->p_type;
@@ -86,7 +86,7 @@
?>
</td>
<td>
- <?
+ <?php
$p_type_periode=new ISelect('t_id[]');
$p_type_periode->value=$type_periode;
$p_type_periode->selected=$this->definition[$i]->t_id;
@@ -94,7 +94,7 @@
?>
</td>
<td>
- <?
+ <?php
if ($this->definition[$i]->p_order=='')
$value=$i*10;
else
@@ -106,11 +106,11 @@
?>
</td>
</tr>
- <?endfor;?>
+ <?php endfor;?>
</tbody>
</table>
<p>
-<?=HtmlInput::button_anchor("Ajout d'une ligne","javascript:void(0)","add_def",
+<?php echo HtmlInput::button_anchor("Ajout d'une
ligne","javascript:void(0)","add_def",
sprintf('onclick="add_row_definition(\'%s\',\'%s\',\'%s\')"',$_REQUEST['plugin_code'],$_REQUEST['ac'],$_REQUEST['gDossier']))?>
</p>
<p>
@@ -134,4 +134,4 @@
echo '<span id="rapav_new_file" style="display:none">
'.$file->input().'</span>';
}
?>
-</p>
\ No newline at end of file
+</p>
Modified: trunk/rapport_avance/include/template/formulaire_listing.php
===================================================================
--- trunk/rapport_avance/include/template/formulaire_listing.php
2013-05-15 18:50:38 UTC (rev 502)
+++ trunk/rapport_avance/include/template/formulaire_listing.php
2013-05-16 22:42:11 UTC (rev 503)
@@ -37,30 +37,30 @@
<th></th>
<th></th>
</tr>
-<?
+<?php
for ($i=0;$i<count($alist);$i++):
?>
<tr>
<td>
- <?=h($alist[$i]['f_title'])?>
+ <?php echo h($alist[$i]['f_title'])?>
</td>
<td>
- <?=h($alist[$i]['f_description'])?>
+ <?php echo h($alist[$i]['f_description'])?>
</td>
<td>
- <?=HtmlInput::anchor('Définition',
"",sprintf('onclick="rapav_form_def(\'%s\',\'%s\',\'%s\',\'%s\')"',$_REQUEST['plugin_code'],$_REQUEST['ac'],dossier::id(),$alist[$i]['f_id']))?>
+ <?php echo HtmlInput::anchor('Définition',
"",sprintf('onclick="rapav_form_def(\'%s\',\'%s\',\'%s\',\'%s\')"',$_REQUEST['plugin_code'],$_REQUEST['ac'],dossier::id(),$alist[$i]['f_id']))?>
</td>
<td>
- <?=HtmlInput::anchor('Paramètre',
"",sprintf('onclick="rapav_form_param(\'%s\',\'%s\',\'%s\',\'%s\')"',$_REQUEST['plugin_code'],$_REQUEST['ac'],dossier::id(),$alist[$i]['f_id']))?>
+ <?php echo HtmlInput::anchor('Paramètre',
"",sprintf('onclick="rapav_form_param(\'%s\',\'%s\',\'%s\',\'%s\')"',$_REQUEST['plugin_code'],$_REQUEST['ac'],dossier::id(),$alist[$i]['f_id']))?>
</td>
<td>
- <?=HtmlInput::anchor('Export définition',
sprintf("extension.raw.php?plugin_code=%s&ac=%s&gDossier=%s&d_id=%s&act=rapav_form_export",$_REQUEST['plugin_code'],$_REQUEST['ac'],dossier::id(),$alist[$i]['f_id']))?>
+ <?php echo HtmlInput::anchor('Export définition',
sprintf("extension.raw.php?plugin_code=%s&ac=%s&gDossier=%s&d_id=%s&act=rapav_form_export",$_REQUEST['plugin_code'],$_REQUEST['ac'],dossier::id(),$alist[$i]['f_id']))?>
</td>
</tr>
-<? endfor; ?>
+<?php endfor; ?>
</table>
- <?
+ <?php
echo HtmlInput::button("add_form_bt","Ajout d'un
formulaire",'onclick="$(\'add_form_div\').show();$(\'add_form_bt\').hide()"');
echo '<div id="add_form_div" style="display:none">';
echo '<form method="POST">';
Modified: trunk/rapport_avance/include/template/formulaire_titre.php
===================================================================
--- trunk/rapport_avance/include/template/formulaire_titre.php 2013-05-15
18:50:38 UTC (rev 502)
+++ trunk/rapport_avance/include/template/formulaire_titre.php 2013-05-16
22:42:11 UTC (rev 503)
@@ -27,14 +27,14 @@
*
*/
?>
-<?=HtmlInput::hidden('f_id',$this->f_id)?>
+<?php echo HtmlInput::hidden('f_id',$this->f_id)?>
<table>
<tr>
<td>
Nom
</td>
<td>
- <?
+ <?php
$title=new IText("f_title",$this->f_title);
$title->size=50;
echo $title->input();
@@ -46,7 +46,7 @@
Description
</td>
<td>
- <?
+ <?php
$description=new
IText("f_description",$this->f_description);
$description->size=100;
echo $description->input();
Modified: trunk/rapport_avance/include/template/param_detail_new.php
===================================================================
--- trunk/rapport_avance/include/template/param_detail_new.php 2013-05-15
18:50:38 UTC (rev 502)
+++ trunk/rapport_avance/include/template/param_detail_new.php 2013-05-16
22:42:11 UTC (rev 503)
@@ -72,12 +72,12 @@
</p>
<form id="new_padef" method="POST"
onsubmit="save_param_detail('new_padef');return false">
-
<?=HtmlInput::request_to_hidden(array('gDossier','ac','plugin_code','p_id'))?>
+ <?php echo
HtmlInput::request_to_hidden(array('gDossier','ac','plugin_code','p_id'))?>
<p>
- <?=HtmlInput::hidden('tab','formula')?>
- <?=RAPAV_Formula::new_row()?>
+ <?php echo HtmlInput::hidden('tab','formula')?>
+ <?php echo RAPAV_Formula::new_row()?>
</p>
-<?=HtmlInput::submit('save','Sauve')?>
+<?php echo HtmlInput::submit('save','Sauve')?>
</form>
</div>
@@ -86,11 +86,11 @@
Entrer un poste comptable et un code de TVA
</p>
<form id="new_padea" method="POST"
onsubmit="save_param_detail('new_padea');return false">
-
<?=HtmlInput::request_to_hidden(array('gDossier','ac','plugin_code','p_id'))?>
+ <?php echo
HtmlInput::request_to_hidden(array('gDossier','ac','plugin_code','p_id'))?>
- <?=HtmlInput::hidden('tab','account_tva')?>
- <?=RAPAV_Account_Tva::new_row()?>
-<?=HtmlInput::submit('save','Sauve')?>
+ <?php echo HtmlInput::hidden('tab','account_tva')?>
+ <?php echo RAPAV_Account_Tva::new_row()?>
+<?php echo HtmlInput::submit('save','Sauve')?>
</form>
</div>
@@ -99,33 +99,33 @@
Entrer une formule avec des codes utilisés dans ce formulaires
</p>
<form id="new_padec" method="POST"
onsubmit="save_param_detail('new_padec');return false">
-
<?=HtmlInput::request_to_hidden(array('gDossier','ac','plugin_code','p_id'))?>
+ <?php echo
HtmlInput::request_to_hidden(array('gDossier','ac','plugin_code','p_id'))?>
- <?=HtmlInput::hidden('tab','compute_id')?>
- <?=RAPAV_Compute::new_row($p_id)?>
-<?=HtmlInput::submit('save','Sauve')?>
+ <?php echo HtmlInput::hidden('tab','compute_id')?>
+ <?php echo RAPAV_Compute::new_row($p_id)?>
+<?php echo HtmlInput::submit('save','Sauve')?>
</form>
</div>
<div id="new_account_id" style="display: none">
<form id="new_paded" method="POST"
onsubmit="save_param_detail('new_paded');return false">
-
<?=HtmlInput::request_to_hidden(array('gDossier','ac','plugin_code','p_id'))?>
+ <?php echo
HtmlInput::request_to_hidden(array('gDossier','ac','plugin_code','p_id'))?>
- <?=HtmlInput::hidden('tab','new_account_id')?>
- <?=RAPAV_Account::new_row($p_id)?>
-<?=HtmlInput::submit('save','Sauve')?>
+ <?php echo HtmlInput::hidden('tab','new_account_id')?>
+ <?php echo RAPAV_Account::new_row($p_id)?>
+<?php echo HtmlInput::submit('save','Sauve')?>
</form>
</div>
<div id="new_reconcile_id" style="display: none">
<form id="new_padee" method="POST"
onsubmit="save_param_detail('new_padee');return false">
-
<?=HtmlInput::request_to_hidden(array('gDossier','ac','plugin_code','p_id'))?>
+ <?php echo
HtmlInput::request_to_hidden(array('gDossier','ac','plugin_code','p_id'))?>
- <?=HtmlInput::hidden('tab','new_reconcile_id')?>
- <?=RAPAV_Reconcile::new_row($p_id)?>
-<?=HtmlInput::submit('save','Sauve')?>
+ <?php echo HtmlInput::hidden('tab','new_reconcile_id')?>
+ <?php echo RAPAV_Reconcile::new_row($p_id)?>
+<?php echo HtmlInput::submit('save','Sauve')?>
</form>
</div>
Modified: trunk/rapport_avance/rapav_constant.php
===================================================================
--- trunk/rapport_avance/rapav_constant.php 2013-05-15 18:50:38 UTC (rev
502)
+++ trunk/rapport_avance/rapav_constant.php 2013-05-16 22:42:11 UTC (rev
503)
@@ -1,4 +1,4 @@
-<?
+<?php
/**
address@hidden
*Contains all the needed variable for the plugin
Modified: trunk/skel/skel_constant.php
===================================================================
--- trunk/skel/skel_constant.php 2013-05-15 18:50:38 UTC (rev 502)
+++ trunk/skel/skel_constant.php 2013-05-16 22:42:11 UTC (rev 503)
@@ -1,4 +1,4 @@
-<?
+<?php
/**
address@hidden
*Contains all the needed variable for the plugin
Modified: trunk/tool_pcmn/include/export_plan.php
===================================================================
--- trunk/tool_pcmn/include/export_plan.php 2013-05-15 18:50:38 UTC (rev
502)
+++ trunk/tool_pcmn/include/export_plan.php 2013-05-16 22:42:11 UTC (rev
503)
@@ -29,7 +29,7 @@
Exporter le plan comptable
<form method="get" action="extension.raw.php">
-<?
+<?php
echo HtmlInput::hidden('sa',$_GET['sa']);
echo HtmlInput::extension();
echo dossier::hidden();
Modified: trunk/tool_pcmn/include/import_plan.php
===================================================================
--- trunk/tool_pcmn/include/import_plan.php 2013-05-15 18:50:38 UTC (rev
502)
+++ trunk/tool_pcmn/include/import_plan.php 2013-05-16 22:42:11 UTC (rev
503)
@@ -42,7 +42,7 @@
<li>Le poste parent</li>
<li>Le type de poste : PAS pour passif, ACT pour actif, PRO pour
produit, CHA pour charge, CON suivant contexte, pour les comptes inversés
ajouter INV à la fin, exemple PROINV (produit compte inversé)</li>
</ol>
- <?
+ <?php
echo ' <form method="post" enctype="multipart/form-data" >';
echo HtmlInput::hidden('sa', $_GET ['sa']);
echo HtmlInput::extension();
@@ -63,7 +63,7 @@
</form>
- <?
+ <?php
}
// Import the file and ask to confirm
Modified: trunk/tools/include/template/numbering.php
===================================================================
--- trunk/tools/include/template/numbering.php 2013-05-15 18:50:38 UTC (rev
502)
+++ trunk/tools/include/template/numbering.php 2013-05-16 22:42:11 UTC (rev
503)
@@ -1,28 +1,28 @@
-<?
+<?php
echo HtmlInput::button('receipt_bt','Renuméroter les
pièces','onclick="$(\'div_receipt\').show();"');
?>
<div id="div_receipt" class="inner_box"
style="top:230;margin:5;overflow:visible;display:none;">
<h2 class="info" >Rénuméroter les pièces, donner le préfixe puis le numéro</h2>
<p class="notice">Il vaut mieux que le préfixe se termine par autre chose
qu'un chiffre</p>
<form method="POST" id="form1" onsubmit="return confirm('Vous confirmez ?')">
-<?=$hidden?>
+<?php echo $hidden?>
<table>
<TR>
<TD>Préfixe</TD>
- <td><?=$prefix->input()?></td>
+ <td><?php echo $prefix->input()?></td>
</TR>
<TR>
<TD>A partir de </TD>
- <td><?=$number->input()?></td>
+ <td><?php echo $number->input()?></td>
</TR>
<TR>
<TD>Les opérations ont le même numéro (ex:relevé de banque) </TD>
- <td><?=$with_step->input()?></td>
+ <td><?php echo $with_step->input()?></td>
</TR>
</table>
-<?=$submit?>
-<?
+<?php echo $submit?>
+<?php
echo
HtmlInput::button('receipt_hide_bt','Annuler','onclick="$(\'div_receipt\').hide();"');
?>
Modified: trunk/tools/include/template/result_receipt.php
===================================================================
--- trunk/tools/include/template/result_receipt.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/tools/include/template/result_receipt.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -13,15 +13,15 @@
$class=($i%2==0)?' class="even" ':' class="odd" ';
$checkbox->value=$row['jr_id'];
?>
-<tr <?=$class?> >
- <TD><?=$row['str_date']?></TD>
- <td><?=HtmlInput::detail_op($row['jr_id'],$row['jr_internal'])?></td>
- <td><?=h($row['jr_comment'])?>
- <td><?=$row['jr_pj_number']?></td>
- <td class="num"><?=nbm($row['jr_montant'])?></td>
- <td><?=$checkbox->input();?></td>
+<tr <?php echo $class?> >
+ <TD><?php echo $row['str_date']?></TD>
+ <td><?php echo
HtmlInput::detail_op($row['jr_id'],$row['jr_internal'])?></td>
+ <td><?php echo h($row['jr_comment'])?>
+ <td><?php echo $row['jr_pj_number']?></td>
+ <td class="num"><?php echo nbm($row['jr_montant'])?></td>
+ <td><?php echo $checkbox->input();?></td>
</tr>
-<?
+<?php
endfor;
?>
</table>
Modified: trunk/tools/include/template/search_box.php
===================================================================
--- trunk/tools/include/template/search_box.php 2013-05-15 18:50:38 UTC (rev
502)
+++ trunk/tools/include/template/search_box.php 2013-05-16 22:42:11 UTC (rev
503)
@@ -1,31 +1,31 @@
<FORM METHOD="GET" onsubmit="return validate();">
-<?=$hidden?>
+<?php echo $hidden?>
<table>
<TR>
<TD>Choississez le journal</TD>
- <td><?=$iledger->input()?></td>
+ <td><?php echo $iledger->input()?></td>
</TR>
<tr>
<TD>Date début</TD>
- <td><?=$idate_start->input()?></td>
+ <td><?php echo $idate_start->input()?></td>
</tr>
<tr>
<TD>Date fin</TD>
- <td><?=$idate_end->input()?></td>
+ <td><?php echo $idate_end->input()?></td>
</tr>
</table>
- <?=HtmlInput::request_to_hidden(array('ac','plugin_code'));?>
-<?=$submit?>
+ <?php echo HtmlInput::request_to_hidden(array('ac','plugin_code'));?>
+<?php echo $submit?>
</FORM>
<script charset="UTF8" lang="javascript">
function validate() {
- if ( check_date_id('<?=$idate_start->id?>') == false ) {
+ if ( check_date_id('<?php echo $idate_start->id?>') == false ) {
alert('Date de début incorrecte');
- $('<?=$idate_start->id?>').style.borderColor='red';
+ $('<?php echo
$idate_start->id?>').style.borderColor='red';
return false;}
- if ( check_date_id('<?=$idate_end->id?>') == false ) {
+ if ( check_date_id('<?php echo $idate_end->id?>') == false ) {
alert('Date de fin incorrecte');
- $('<?=$idate_end->id?>').style.borderColor='red';
+ $('<?php echo
$idate_end->id?>').style.borderColor='red';
return false;}
}
</script>
\ No newline at end of file
Modified: trunk/tools/include/template/search_view.php
===================================================================
--- trunk/tools/include/template/search_view.php 2013-05-15 18:50:38 UTC
(rev 502)
+++ trunk/tools/include/template/search_view.php 2013-05-16 22:42:11 UTC
(rev 503)
@@ -7,7 +7,7 @@
?>
<form method="POST" id="form1" onsubmit="return confirm('Vous confirmez?')">
-<?
+<?php
echo HtmlInput::extension();
echo HtmlInput::get_to_hidden(array('sa','ac'));
echo Dossier::hidden();
@@ -16,7 +16,7 @@
<div id="div_poste" class="inner_box"
style="top:230;margin:5;overflow:visible;display:none;">
<h2 class="info">Poste comptable </h2>
<p class="notice">Changera dans les opérations sélectionnées le poste
comptable.Attention, cela ne changera pas la fiche, soyez prudent</p>
-<?
+<?php
$target=new IPoste('tposte');
$source=new IPoste('sposte');
$target->set_attribute('gDossier',Dossier::id());
@@ -34,14 +34,14 @@
<table>
<TR><TD>Changer le poste comptable </TD>
<TD>
- <?=$source->input()?>
+ <?php echo $source->input()?>
<td> <span id="sposte_label"></span></td>
<td>Par le poste comptable</td>
- <td><?=$target->input()?></td>
+ <td><?php echo $target->input()?></td>
<td> <span id="tposte_label"></span>'</td>
</TR>
- <tr><TD><?=HtmlInput::submit('chg_poste','Changer le poste
comptable')?></TD>
-<td><?
+ <tr><TD><?php echo HtmlInput::submit('chg_poste','Changer le poste
comptable')?></TD>
+<td><?php
echo
HtmlInput::button('accounting_hide_bt','Annuler','onclick="$(\'div_poste\').hide();"');
?>
</TD>
@@ -52,7 +52,7 @@
<div id="div_card" class="inner_box"
style="top:230;margin:5;overflow:visible;display:none;">
<h2 class="info">Changer la fiche </h2>
<p class="notice">Attention, dans les opérations sélectionnées cela
changera la fiche et le poste comptable: ce sera celui de la fiche qui sera
utilisé, soyez prudent</p>
-<?
+<?php
$csource=new ICard('csource');
$csource->set_attribute('label','csource_label');
$csource->set_dblclick("fill_ipopcard(this);");
@@ -75,20 +75,20 @@
<table>
<TR>
<TD>Changer</TD>
- <TD><?=$csource->input();?></TD>
- <td><?=$csource->search()?></td>
+ <TD><?php echo $csource->input();?></TD>
+ <td><?php echo $csource->search()?></td>
<td><span id="csource_label"></span></td>
</tr>
<tr>
<TD>par </TD>
- <TD><?=$ctarget->input()?></TD>
- <td><?=$ctarget->search()?></td>
+ <TD><?php echo $ctarget->input()?></TD>
+ <td><?php echo $ctarget->search()?></td>
<td><span id="ctarget_label"></span></td>
</tr>
</table>
- <? echo HtmlInput::submit('chg_card','Changer la fiche'); ?>
-<?
+ <?php echo HtmlInput::submit('chg_card','Changer la fiche'); ?>
+<?php
echo
HtmlInput::button('card_hide_bt','Annuler','onclick="$(\'div_card\').hide();"');
?>
@@ -96,7 +96,7 @@
<div id="div_card_account" class="inner_box"
style="top:230;margin:5;overflow:visible;display:none;">
<h2 class="info">Changer un poste comptable par une fiche</h2>
<p class="notice">Attention, dans les opérations sélectionnées, le
poste comptable sera changé par une fiche et par son poste comptable, soyez
prudent</p>
-<?
+<?php
$csource=new IPoste('csource1');
$csource->set_attribute('gDossier',Dossier::id());
$csource->set_attribute('jrn',0);
@@ -118,19 +118,19 @@
<table>
<TR>
<TD>Changer</TD>
- <TD><?=$csource->input();?></TD>
+ <TD><?php echo $csource->input();?></TD>
<td><span id="csource1_label"></span></td>
</tr>
<tr>
<TD>par </TD>
- <TD><?=$ctarget->input()?></TD>
- <td><?=$ctarget->search()?></td>
+ <TD><?php echo $ctarget->input()?></TD>
+ <td><?php echo $ctarget->search()?></td>
<td><span id="ctarget1_label"></span></td>
</tr>
</table>
- <? echo HtmlInput::submit('chg_card_account','Changer le poste
comptable par la fiche'); ?>
-<?
+ <?php echo HtmlInput::submit('chg_card_account','Changer le poste
comptable par la fiche'); ?>
+<?php
echo
HtmlInput::button('card_hide_bt','Annuler','onclick="$(\'div_card_account\').hide();"');
?>
@@ -139,7 +139,7 @@
<h2 class="info">Déplacer dans un autre journal </h2>
<p class="notice">Attention, pour les opérations sélectionnées,cela
transfèrera les opérations vers le journal choisi mais il faut que ce journal
soit de même type (achat vers achat, vente vers vente...), les pièces
justificatives ne seront pas mises à jour, soyez prudent</p>
-<?
+<?php
$sql="select jrn_def_id, '('||jrn_def_type||') '||jrn_def_name from
jrn_def order by jrn_def_name asc";
$aledger=$cn->make_array($sql);
$sledger=new ISelect('sledger');
@@ -148,10 +148,10 @@
$tledger->value=$aledger;
?>
<p>
-Les opérations appartenant au journal <?=$sledger->input()?> vers le journal
<?=$tledger->input()?>
+Les opérations appartenant au journal <?php echo $sledger->input()?> vers le
journal <?php echo $tledger->input()?>
</p>
- <? echo HtmlInput::submit('chg_ledger','Déplacer dans le journal'); ?>
-<?
+ <?php echo HtmlInput::submit('chg_ledger','Déplacer dans le journal');
?>
+<?php
echo
HtmlInput::button('ledger_hide_bt','Annuler','onclick="$(\'div_ledger\').hide();"');
?>
@@ -171,7 +171,7 @@
<TH class="num">Montant</TH>
<TH><INPUT TYPE="CHECKBOX" onclick="toggle_checkbox('form1')"></TH>
</TR>
-<?
+<?php
for ($i = 0;$i < $nb_row;$i++) :
$row=$cn->fetch_array($ret,$i);
$odd=($i%2==0)?' class="odd"':' class="even"';
@@ -181,12 +181,12 @@
- <TR <?=$odd?> >
- <TD><?=$row['str_jr_date']?></TD>
- <td><?=HtmlInput::detail_op($row['jr_id'],$row['jr_internal'])?></td>
- <td><?=$row['jr_pj_number']?></td>
- <td><?=$row['jrn_def_name']?></td>
- <td><?=$row['jr_comment']?></td>
+ <TR <?php echo $odd?> >
+ <TD><?php echo $row['str_jr_date']?></TD>
+ <td><?php echo
HtmlInput::detail_op($row['jr_id'],$row['jr_internal'])?></td>
+ <td><?php echo $row['jr_pj_number']?></td>
+ <td><?php echo $row['jrn_def_name']?></td>
+ <td><?php echo $row['jr_comment']?></td>
<?php
$positive=0;
@@ -200,8 +200,8 @@
}
?>
- <td class="num"><?=( $positive != 0 )?"<font color=\"red\"> -
".nbm($row['jr_montant'])."</font>":nbm($row['jr_montant'])?> </td>
- <td><?=$checkbox->input();?></td>
+ <td class="num"><?php echo ( $positive != 0 )?"<font color=\"red\"> -
".nbm($row['jr_montant'])."</font>":nbm($row['jr_montant'])?> </td>
+ <td><?php echo $checkbox->input();?></td>
</TR>
<?php
endfor;
Modified: trunk/tools/include/template/tool_exercice_input.php
===================================================================
--- trunk/tools/include/template/tool_exercice_input.php 2013-05-15
18:50:38 UTC (rev 502)
+++ trunk/tools/include/template/tool_exercice_input.php 2013-05-16
22:42:11 UTC (rev 503)
@@ -34,7 +34,7 @@
Exercice
</td>
<td>
- <?=$exercice->input()?>
+ <?php echo $exercice->input()?>
</td>
</tr>
<tr>
@@ -42,7 +42,7 @@
Année
</td>
<td>
- <?=$year->input()?>
+ <?php echo $year->input()?>
</td>
</tr>
<tr>
@@ -50,7 +50,7 @@
Nombre de mois
</td>
<td>
- <?=$nb_month->input()?>
+ <?php echo $nb_month->input()?>
</td>
</tr>
<tr>
@@ -58,11 +58,11 @@
A partir du mois de
</td>
<td>
- <?=$from->input()?>
+ <?php echo $from->input()?>
</td>
</tr>
</table>
-<?
+<?php
echo HtmlInput::submit('save','Valider');
echo HtmlInput::request_to_hidden(array('sa','ac','plugin_code','gDossier'));
?>
@@ -70,18 +70,18 @@
<script charset="UTF8" lang="javascript">
function validate()
{
- if (trim($('<?=$exercice->id?>').value)=='') {
-
$('<?=$exercice->id?>').style.borderColor='red';
+ if (trim($('<?php echo $exercice->id?>').value)=='') {
+ $('<?php echo
$exercice->id?>').style.borderColor='red';
alert('Exercice invalide');
return false;
}
- if (trim($('<?=$nb_month->id?>').value)=='') {
-
$('<?=$nb_month->id?>').style.borderColor='red';
+ if (trim($('<?php echo $nb_month->id?>').value)=='') {
+ $('<?php echo
$nb_month->id?>').style.borderColor='red';
alert('Nombre de mois
invalide');
return false;
}
- if (trim($('<?=$year->id?>').value)=='') {
-
$('<?=$year->id?>').style.borderColor='red';
+ if (trim($('<?php echo $year->id?>').value)=='') {
+ $('<?php echo
$year->id?>').style.borderColor='red';
alert('Année invalide');
return false;
}
Modified: trunk/tools/tools_constant.php
===================================================================
--- trunk/tools/tools_constant.php 2013-05-15 18:50:38 UTC (rev 502)
+++ trunk/tools/tools_constant.php 2013-05-16 22:42:11 UTC (rev 503)
@@ -1,4 +1,4 @@
-<?
+<?php
/**
address@hidden
*Contains all the needed variable for the plugin
Modified: trunk/tva/form_decl.php
===================================================================
--- trunk/tva/form_decl.php 2013-05-15 18:50:38 UTC (rev 502)
+++ trunk/tva/form_decl.php 2013-05-16 22:42:11 UTC (rev 503)
@@ -14,7 +14,7 @@
A. Opérations soumises à un régime particulier [00]
</td>
<td>
-<?=$str_00;?>
+<?php echo $str_00;?>
</td>
</tr><tr>
<td>
@@ -22,43 +22,43 @@
</tr><tr>
<td> - au taux de 6% [01]</td>
<td>
-<?=$str_01;?>
+<?php echo $str_01;?>
</td>
</tr><tr><td> - au taux de 12% [02]</td>
<td>
-<?=$str_02;?>
+<?php echo $str_02;?>
</td>
</tr><tr><td> - au taux de 21% [03] </td>
<td>
-<?=$str_03;?>
+<?php echo $str_03;?>
</td>
</tr><tr>
<td>
C. Services pour lesquels la T.V.A. étrangère est due par le cocontractant [44]
</td>
<td>
-<?=$str_44;?>
+<?php echo $str_44;?>
</td>
</tr><tr>
<td>
D. Opérations pour lesquelles la T.V.A. est due par le cocontractant [45]
</td>
<td>
-<?=$str_45;?>
+<?php echo $str_45;?>
</td>
</tr><tr>
<td>
E. Livraisons intracommunautaires exemptées effectuées en Belgique et ventes
ABC [46]
</td>
<td>
-<?=$str_46;?>
+<?php echo $str_46;?>
</td>
</tr><tr>
<td>
F. Autres opérations exemptées et autres opérations effectuées à l'étranger
[47]
</td>
<td>
-<?=$str_47;?>
+<?php echo $str_47;?>
</td>
</tr><tr>
<td>
@@ -66,13 +66,13 @@
</tr><tr>
<td> - relatif aux opérations inscrites en grilles 44
et 46 [48] </td>
<td>
-<?=$str_48;?>
+<?php echo $str_48;?>
</td>
</tr><tr>
<td> - relatif aux autres opérations du cadre II
[49]</td>
<td>
-<?=$str_49;?>
+<?php echo $str_49;?>
</td>
</tr><tr>
@@ -86,19 +86,19 @@
<tr>
<td> - marchandises, matières premières et matières
auxiliaires [81] </td>
<td>
-<?=$str_81;?>
+<?php echo $str_81;?>
</td>
</tr>
<tr>
<td> - services et biens divers [82] </td>
<td>
-<?=$str_82;?>
+<?php echo $str_82;?>
</td>
</tr>
<tr>
<td> - biens d'investissement [83] </td>
<td>
-<?=$str_83;?>
+<?php echo $str_83;?>
</td>
</tr>
<tr>
@@ -107,29 +107,29 @@
<tr>
<td> - relatif aux opérations inscrites en grilles 86
et 88 [84] </td>
<td>
-<?=$str_84;?>
+<?php echo $str_84;?>
</td>
</tr>
<tr>
<td> - relatif aux autres opérations du cadre III [85]
</td>
<td>
-<?=$str_85;?>
+<?php echo $str_85;?>
</td>
</tr>
<tr>
<td>C. Acquisitions intracommunautaires effectuées en Belgique et ventes ABC
[86] </td>
<td>
-<?=$str_86;?>
+<?php echo $str_86;?>
</td>
</tr>
<tr>
<td>
D. Autres opérations à l'entrée pour lesquelles la T.V.A. est due par le
déclarant [87] </td>
-<td><?=$str_87?></td>
+<td><?php echo $str_87?></td>
</tr><tr>
<td> E. Services intracommunautaires avec report de perception [88]</td>
<td>
-<?=$str_88?>
+<?php echo $str_88?>
</td>
</table>
@@ -140,42 +140,42 @@
<tr>
<tr><td> -grilles 01, 02 et 03 [54]</td>
<td>
-<?=$str_54;?>
+<?php echo $str_54;?>
</td>
</tr>
<td> - grilles 86 et 88 [55] </td>
<td>
-<?=$str_55;?>
+<?php echo $str_55;?>
</td>
</tr>
<tr>
<tr>
<td> - grille 87, à l'exception des importations avec
report de perception [56] </td>
-<td><?=$str_56;?></td>
+<td><?php echo $str_56;?></td>
</tr>
<tr>
<td>
B. T.V.A. relative aux importations avec report de perception [57] </td>
-<td><?=$str_57;?></td>
+<td><?php echo $str_57;?></td>
</tr>
<tr>
<td>
C. Diverses régularisations T.V.A. en faveur de l'Etat [61]</td>
-<td><?=$str_61?></td>
+<td><?php echo $str_61?></td>
</tr>
<tr>
<td>
D. T.V.A. à reverser mentionnée sur les notes de crédit reçues [63]
</td>
-<td><?=$str_63;?></td>
+<td><?php echo $str_63;?></td>
</tr>
<tr>
<td>
Total des grilles 54, 55, 56, 57, 61 et 63 [XX]
</td>
<td>
-<?=$str_xx;?>
+<?php echo $str_xx;?>
</td>
</tr>
</table>
@@ -186,28 +186,28 @@
A.T.V.A. déductible [59]
</td>
<td>
-<?=$str_59;?>
+<?php echo $str_59;?>
</td>
</tr>
<tr>
<td>B.Diverses régularisations T.V.A. en faveur du déclarant [62]
</td>
<td>
-<?=$str_62;?>
+<?php echo $str_62;?>
</td>
</tr>
<tr>
<td>C.T.V.A. à récupérer mentionnée sur les notes de crédit délivrées [64]
</td>
<td>
-<?=$str_64;?>
+<?php echo $str_64;?>
</td>
</tr>
<tr>
<td>
Total des grilles 59, 62 et 64[yy]
</td>
-<td><?=$str_yy;?></td>
+<td><?php echo $str_yy;?></td>
</tr>
</table>
@@ -215,11 +215,11 @@
<table>
<tr>
<td>Taxe due à l'Etat : grille xx - grille yy [71]</td>
-<td><?=$str_71;?></td>
+<td><?php echo $str_71;?></td>
</tr>
<tr>
<td>Sommes dues par l'Etat : grille yy - grille xx [72]</td>
-<td><?=$str_72;?></td>
+<td><?php echo $str_72;?></td>
</tr>
</table>
<span class="notice">*Une seule des grilles 71 ou 72 peut être remplie </span>
@@ -230,7 +230,7 @@
<td>
T.V.A. réellement due pour la période du 1er au 20 décembre[91]
</td>
-<td><?=$str_91;?></td>
+<td><?php echo $str_91;?></td>
</tr>
</table>
<span class="notice">*Concerne uniquement la déclaration mensuelle de
décembre</span>
Modified: trunk/tva/form_decl_info.php
===================================================================
--- trunk/tva/form_decl_info.php 2013-05-15 18:50:38 UTC (rev 502)
+++ trunk/tva/form_decl_info.php 2013-05-16 22:42:11 UTC (rev 503)
@@ -2,29 +2,29 @@
<table>
<tr>
-<td>Année</td><td> <?=$ianne?></td>
+<td>Année</td><td> <?php echo $ianne?></td>
</tr>
-<?if (isset ($str_date)) :?>
+<?php if (isset ($str_date)) :?>
<tr>
-<td>Date </td><td><?=$str_date?></td>
+<td>Date </td><td><?php echo $str_date?></td>
</tr>
<tr>
-<td>Période début </td><td><?=$str_start?></td>
+<td>Période début </td><td><?php echo $str_start?></td>
</tr>
<tr>
-<td>Période fin </td><td><?=$str_end?></td>
+<td>Période fin </td><td><?php echo $str_end?></td>
</tr>
-<?
+<?php
endif;
?>
<td>N° de tva </td>
-<td><?=$str_tva?></td>
+<td><?php echo $str_tva?></td>
</tr><tr>
-<td>Nom</td><td><?=$str_name?></td>
+<td>Nom</td><td><?php echo $str_name?></td>
</tr><tr>
-<td>Adresse</td><td><?=$str_adress?></td>
+<td>Adresse</td><td><?php echo $str_adress?></td>
</tr><tr>
-<td>Pays code postal et localite BE</td><td><?=$str_country?></td>
+<td>Pays code postal et localite BE</td><td><?php echo $str_country?></td>
</tr>
</tr>
Modified: trunk/tva/form_parameter.php
===================================================================
--- trunk/tva/form_parameter.php 2013-05-15 18:50:38 UTC (rev 502)
+++ trunk/tva/form_parameter.php 2013-05-16 22:42:11 UTC (rev 503)
@@ -47,7 +47,7 @@
echo HtmlInput::button("add_param","Ajout
paramètre","onclick=\"show_addparam('$p_code','$plugin_code','$dossier','$tab');\"");
}
?>
-<?
+<?php
$tab_default=(isset ($_REQUEST['tab']))?$_REQUEST['tab']:'opout';
?>
<a href="javascript:void(0)" class="line"
onclick="tva_show_param('opout')">Opération à la sortie</a>
@@ -58,69 +58,69 @@
<a href="javascript:void(0)" class="line"
onclick="tva_show_param('assujetti')">Listing Client assujetti.</a>
<a href="javascript:void(0)" class="line"
onclick="tva_show_param('divers')">Divers</a>
<form method="POST">
- <?
+ <?php
echo HtmlInput::hidden('tab',$tab_default);
echo
HtmlInput::request_to_hidden(array('gDossier','ac','plugin_code','sa'));
?>
<div style="display:none" id="opout">
-<h1><?=_("Opération à la sortie");?></h1>
-<? $tab="opout";?>
-<?=show("GRIL00",_("Grille 00 : opérations soumises à un régime
particulier"))?>
-<?=show("GRIL01",_("Grille 01 : Opérations pour lesquelles la TVA est due
(6%)"))?>
-<?=show("GRIL02",_("Grille 02 : Opérations pour lesquelles la TVA est due
(12%)"))?>
-<?=show("GRIL03",_("Grille 03 : Opérations pour lesquelles la TVA est due
(21%)"))?>
-<?=show("GRIL44",_("Grille 44 : Opérations pour lesquelles la TVA étrangère
est due par le cocontractant"))?>
-<?=show("GRIL45",_("Grille 45 : Opérations pour lesquelles la TVA est due par
le cocontractant"))?>
-<?=show("GRIL46",_("Grille 46 : Livraisons intracommunautaires exemptées
effectuées en Belgique et ventes ABC"))?>
-<?=show("GRIL47",_("Grille 47 :Autres opérations exemptées et autres
opérations effectuées à l’étranger"))?>
-<?=show("GRIL48",_("Grille 48 : Opérations relatives aux notes de crédit des
grilles 44 et 48"))?>
-<?=show("GRIL49",_("Grille 49 : Opérations relatives aux notes de crédit"))?>
+<h1><?php echo _("Opération à la sortie");?></h1>
+<?php $tab="opout";?>
+<?php echo show("GRIL00",_("Grille 00 : opérations soumises à un régime
particulier"))?>
+<?php echo show("GRIL01",_("Grille 01 : Opérations pour lesquelles la TVA est
due (6%)"))?>
+<?php echo show("GRIL02",_("Grille 02 : Opérations pour lesquelles la TVA est
due (12%)"))?>
+<?php echo show("GRIL03",_("Grille 03 : Opérations pour lesquelles la TVA est
due (21%)"))?>
+<?php echo show("GRIL44",_("Grille 44 : Opérations pour lesquelles la TVA
étrangère est due par le cocontractant"))?>
+<?php echo show("GRIL45",_("Grille 45 : Opérations pour lesquelles la TVA est
due par le cocontractant"))?>
+<?php echo show("GRIL46",_("Grille 46 : Livraisons intracommunautaires
exemptées effectuées en Belgique et ventes ABC"))?>
+<?php echo show("GRIL47",_("Grille 47 :Autres opérations exemptées et autres
opérations effectuées à l’étranger"))?>
+<?php echo show("GRIL48",_("Grille 48 : Opérations relatives aux notes de
crédit des grilles 44 et 48"))?>
+<?php echo show("GRIL49",_("Grille 49 : Opérations relatives aux notes de
crédit"))?>
</div>
<div style="display:none" id="opin">
- <? $tab="opin";?>
-<h1><?=_("Opération à l'entrée");?></h1>
-<?=show("GRIL81",_("Grille 81 : Opération sur les marchandises, matières
premières..."))?>
-<?=show("GRIL82",_("Grille 82 : Opération sur les services et biens divers"))?>
-<?=show("GRIL83",_("Grille 83 : Opération sur les biens d'investissements"))?>
-<?=show("GRIL84",_("Grille 84 : Montant des notes de crédit reçues et des
corrections négatives relatif aux opérations inscrites en grilles 86 et 88"))?>
-<?=show("GRIL85",_("Grille 85 : Montant des notes de crédit reçues et des
corrections négatives relatif aux autres opérations du cadre III "))?>
-<?=show("GRIL86",_("Grille 86 : Acquisitions intracommunautaires effectuées en
Belgique et ventes ABC "))?>
-<?=show("GRIL87",_(" Autres opérations à l'entrée pour lesquelles la T.V.A.
est due par le déclarant "))?>
-<?=show("GRIL88",_("Services intracommunautaires avec report de perception"))?>
+ <?php $tab="opin";?>
+<h1><?php echo _("Opération à l'entrée");?></h1>
+<?php echo show("GRIL81",_("Grille 81 : Opération sur les marchandises,
matières premières..."))?>
+<?php echo show("GRIL82",_("Grille 82 : Opération sur les services et biens
divers"))?>
+<?php echo show("GRIL83",_("Grille 83 : Opération sur les biens
d'investissements"))?>
+<?php echo show("GRIL84",_("Grille 84 : Montant des notes de crédit reçues et
des corrections négatives relatif aux opérations inscrites en grilles 86 et
88"))?>
+<?php echo show("GRIL85",_("Grille 85 : Montant des notes de crédit reçues et
des corrections négatives relatif aux autres opérations du cadre III "))?>
+<?php echo show("GRIL86",_("Grille 86 : Acquisitions intracommunautaires
effectuées en Belgique et ventes ABC "))?>
+<?php echo show("GRIL87",_(" Autres opérations à l'entrée pour lesquelles la
T.V.A. est due par le déclarant "))?>
+<?php echo show("GRIL88",_("Services intracommunautaires avec report de
perception"))?>
</div>
<div style="display:none" id="tvadue">
-<? $tab="tvadue";?>
-<h1><?=_("TVA Due");?></h1>
-<?=show("GRIL54",_("Grille 54 : tva due sur opération grille 01,02 et 03"))?>
-<?=show("GRIL55",_("Grille 55 : tva due sur opération grille 86 et 88"))?>
-<?=show("GRIL56",_("Grille 56 : tva due sur opération grille 87"))?>
-<?=show("GRIL57",_("Grille 57 :T.V.A. relative aux importations avec report de
perception "))?>
-<?=show("GRIL61",_("Grille 61 :Diverses régularisations T.V.A. en faveur de
l'Etat"))?>
-<?=show("GRIL63",_("Grille 63 :T.V.A. à reverser mentionnée sur les notes de
crédit reçues"))?>
+<?php $tab="tvadue";?>
+<h1><?php echo _("TVA Due");?></h1>
+<?php echo show("GRIL54",_("Grille 54 : tva due sur opération grille 01,02 et
03"))?>
+<?php echo show("GRIL55",_("Grille 55 : tva due sur opération grille 86 et
88"))?>
+<?php echo show("GRIL56",_("Grille 56 : tva due sur opération grille 87"))?>
+<?php echo show("GRIL57",_("Grille 57 :T.V.A. relative aux importations avec
report de perception "))?>
+<?php echo show("GRIL61",_("Grille 61 :Diverses régularisations T.V.A. en
faveur de l'Etat"))?>
+<?php echo show("GRIL63",_("Grille 63 :T.V.A. à reverser mentionnée sur les
notes de crédit reçues"))?>
</div>
<div style="display:none" id="tvaded">
- <? $tab="tvaded";?>
-<h1> <?=_("TVA Déductible");?></h1>
-<?=show("GRIL59",_("Grille 59 : taxe déductible"))?>
-<?=show("GRIL62",_("Grille 62 : Diverses régularisations T.V.A. en faveur du
déclarant"))?>
-<?=show("GRIL64",_("Grille 56 : T.V.A. à récupérer mentionnée sur les notes de
crédit délivrées "))?>
+ <?php $tab="tvaded";?>
+<h1> <?php echo _("TVA Déductible");?></h1>
+<?php echo show("GRIL59",_("Grille 59 : taxe déductible"))?>
+<?php echo show("GRIL62",_("Grille 62 : Diverses régularisations T.V.A. en
faveur du déclarant"))?>
+<?php echo show("GRIL64",_("Grille 56 : T.V.A. à récupérer mentionnée sur les
notes de crédit délivrées "))?>
</div>
<div style="display:none" id="divers">
- <? $tab="divers";?>
+ <?php $tab="divers";?>
<fieldset>
-<legend><?=_('Divers')?></legend>
+<legend><?php echo _('Divers')?></legend>
<TABLE class="result">
<TR>
- <TH><?=_('Poste comptable')?></TH>
- <TH><?=_('Description')?></TH>
+ <TH><?php echo _('Poste comptable')?></TH>
+ <TH><?php echo _('Description')?></TH>
<th></th>
</TR>
<TR>
<TD>
- <?
+ <?php
$atva=$cn->get_value("select pcm_val from tva_belge.parameter_chld
where pcode='ATVA'");
$ip_tva=new IPoste('ATVA',$atva);
$ip_tva->set_attribute('gDossier',Dossier::id());
@@ -132,13 +132,13 @@
?>
</TD>
<TD>
- <SPAN ID="ATVA_label"><?=h($lib)?></SPAN>
+ <SPAN ID="ATVA_label"><?php echo h($lib)?></SPAN>
</td>
- <?=td(_("Poste comptable utilisé pour les avances faites à la TVA"))?>
+ <?php echo td(_("Poste comptable utilisé pour les avances faites à la
TVA"))?>
</tr>
<TR>
<TD>
- <?
+ <?php
$crtva=$cn->get_value("select pcm_val from tva_belge.parameter_chld
where pcode='CRTVA'");
$ip_tva=new IPoste('CRTVA',$crtva);
$ip_tva->set_attribute('gDossier',Dossier::id());
@@ -150,13 +150,13 @@
?>
</TD>
<TD>
- <SPAN ID="CRTVA_label"><?=h($lib)?></SPAN>
+ <SPAN ID="CRTVA_label"><?php echo h($lib)?></SPAN>
</td>
-<?=td(("Poste comptable utilisé pour les créances sur la TVA"))?>
+<?php echo td(("Poste comptable utilisé pour les créances sur la TVA"))?>
</tr>
<TR>
<TD>
- <?
+ <?php
$dttva=$cn->get_value("select pcm_val from tva_belge.parameter_chld
where pcode='DTTVA'");
$ip_tva=new IPoste('DTTVA',$dttva);
$ip_tva->set_attribute('gDossier',Dossier::id());
@@ -168,28 +168,28 @@
?>
</TD>
<TD>
- <SPAN ID="DTTVA_label"><?=h($lib)?></SPAN>
+ <SPAN ID="DTTVA_label"><?php echo h($lib)?></SPAN>
</td>
- <?=td(_("Poste comptable utilisé pour les dettes envers la TVA"))?>
+ <?php echo td(_("Poste comptable utilisé pour les dettes envers la
TVA"))?>
</tr>
</TABLE>
- <?=HtmlInput::submit("save_misc","Sauver")?>
+ <?php echo HtmlInput::submit("save_misc","Sauver")?>
</fieldset>
</div>
<div style="display:none" id="lintra">
- <? $tab="lintra";?>
+ <?php $tab="lintra";?>
<fieldset><legend>Listing intracommunautaires</legend>
-<?=show("CLINTRA",_("Code TVA pour clients Intracommunataire"))?>
+<?php echo show("CLINTRA",_("Code TVA pour clients Intracommunataire"))?>
</fieldset>
</div>
<div style="display:none" id="assujetti">
- <? $tab="assujetti";?>
+ <?php $tab="assujetti";?>
<fieldset><legend>Listing Client nationaux</legend>
-<?=show("ASSUJETTI",_("Code TVA pour clients nationaux"))?>
+<?php echo show("ASSUJETTI",_("Code TVA pour clients nationaux"))?>
</fieldset>
</div>
</form>
<script charset="UTF-8" lang="javascript">
- tva_show_param('<?=$tab_default?>');
+ tva_show_param('<?php echo $tab_default?>');
</script>
Modified: trunk/tva/form_periode.php
===================================================================
--- trunk/tva/form_periode.php 2013-05-15 18:50:38 UTC (rev 502)
+++ trunk/tva/form_periode.php 2013-05-16 22:42:11 UTC (rev 503)
@@ -1,21 +1,21 @@
<fieldset>
<legend>
- <?=_('Entrez la période de la déclaration')?>
+ <?php echo _('Entrez la période de la déclaration')?>
</legend>
<form class="print" method="GET">
-<?=_('Année')?> <?=$str_year?><br/>
-<?=$str_monthly?> <?=_('Mois')?> : <?=$str_month?><br/>
-<?=$str_quaterly?> <?=_('Trimestre')?> : <?=$str_quater?><br/>
-<?=$str_hidden?>
+<?php echo _('Année')?> <?php echo $str_year?><br/>
+<?php echo $str_monthly?> <?php echo _('Mois')?> : <?php echo
$str_month?><br/>
+<?php echo $str_quaterly?> <?php echo _('Trimestre')?> : <?php echo
$str_quater?><br/>
+<?php echo $str_hidden?>
<?php
if (isset ($by_year) && $by_year == true ) :
?>
-<?=_('Par année')?> <?=$str_byyear?><br/>
+<?php echo _('Par année')?> <?php echo $str_byyear?><br/>
<?php
echo HtmlInput::request_to_hidden(array('ac'));
endif;
?>
<br>
-<?=$str_submit?>
+<?php echo $str_submit?>
</form>
</fieldset>
\ No newline at end of file
Modified: trunk/tva/index.php
===================================================================
--- trunk/tva/index.php 2013-05-15 18:50:38 UTC (rev 502)
+++ trunk/tva/index.php 2013-05-16 22:42:11 UTC (rev 503)
@@ -105,7 +105,7 @@
echo ShowItem($array,'H',"mtitle","mtitle",$def,'
style="width:80%;margin-left:10%;border-spacing:5;" ');
?>
<div class="content" style="margin-left: 30px">
-<?
+<?php
// include the right file
if ($def==1) {
require_once('decl_tva.inc.php');
Modified: trunk/tva/list_tva.inc.php
===================================================================
--- trunk/tva/list_tva.inc.php 2013-05-15 18:50:38 UTC (rev 502)
+++ trunk/tva/list_tva.inc.php 2013-05-16 22:42:11 UTC (rev 503)
@@ -123,12 +123,12 @@
<tr>
<th>Type de déclaration</th>
<th>Periodicité</th>
- <th> <?=$sort->get_header(1)?></th>
- <th><?=$sort->get_header(0)?></th>
+ <th> <?php echo $sort->get_header(1)?></th>
+ <th><?php echo $sort->get_header(0)?></th>
- <? for ($i = 0; $i < count($res); $i++):?>
+ <?php for ($i = 0; $i < count($res); $i++):?>
<tr>
- <?
+ <?php
$aref = sprintf('<a href="javascript:void(0)"
onclick="show_declaration(\'%s\',\'%s\')">', $res[$i]['type_decl'],
$res[$i]['id']);
echo td($aref . $res[$i]['type_title'] . '</a>');
echo td($aref . $res[$i]['fmt_periodicity'] . '</a>');
@@ -136,7 +136,7 @@
echo td($aref.$res[$i]['date_fmt'].'</a>');
?>
</tr>
- <? endfor;?>
+ <?php endfor;?>
</table>
</div>
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r503 - in trunk: amortis amortis/include amortis/include/template backup_noadmin/include/template coprop coprop/include coprop/include/template import_card/include/template import_doli/include/template importbank/include importbank/include/template modop rapport_avance rapport_avance/include rapport_avance/include/template skel tool_pcmn/include tools tools/include/template tva,
phpcompta-dev <=