Merge pull request #9551 from frederic34/patch-27
clean html donateur_code.php
This commit is contained in:
commit
34c130e715
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
|
* Copyright (C) 2018 Frédéric France <frederic.france@netlogic.fr>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -48,7 +49,7 @@ require '../../main.inc.php';
|
|||||||
require_once DOL_DOCUMENT_ROOT .'/don/class/don.class.php';
|
require_once DOL_DOCUMENT_ROOT .'/don/class/don.class.php';
|
||||||
|
|
||||||
// Security check
|
// Security check
|
||||||
if (empty($conf->don->enabled)) accessforbidden('',0,0,1);
|
if (empty($conf->don->enabled)) accessforbidden('', 0, 0, 1);
|
||||||
|
|
||||||
|
|
||||||
$langs->load("donations");
|
$langs->load("donations");
|
||||||
@ -71,13 +72,13 @@ if ($resql)
|
|||||||
if ($num)
|
if ($num)
|
||||||
{
|
{
|
||||||
|
|
||||||
print "<TABLE border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">";
|
print "<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">";
|
||||||
|
|
||||||
print '<TR>';
|
print '<tr>';
|
||||||
print "<td>".$langs->trans("Name")." / ".$langs->trans("Company")."</td>";
|
print "<td>".$langs->trans("Name")." / ".$langs->trans("Company")."</td>";
|
||||||
print "<td>Date</td>";
|
print "<td>Date</td>";
|
||||||
print "<td align=\"right\">".$langs->trans("Amount")."</TD>";
|
print "<td align=\"right\">".$langs->trans("Amount")."</td>";
|
||||||
print "</TR>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
while ($i < $num)
|
while ($i < $num)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user