clean html donateur_code.php
This commit is contained in:
parent
a75629e8e9
commit
20e245108f
@ -1,5 +1,6 @@
|
||||
<?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
|
||||
* 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';
|
||||
|
||||
// Security check
|
||||
if (empty($conf->don->enabled)) accessforbidden('',0,0,1);
|
||||
if (empty($conf->don->enabled)) accessforbidden('', 0, 0, 1);
|
||||
|
||||
|
||||
$langs->load("donations");
|
||||
@ -71,13 +72,13 @@ if ($resql)
|
||||
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>Date</td>";
|
||||
print "<td align=\"right\">".$langs->trans("Amount")."</TD>";
|
||||
print "</TR>\n";
|
||||
print "<td align=\"right\">".$langs->trans("Amount")."</td>";
|
||||
print "</tr>\n";
|
||||
|
||||
while ($i < $num)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user