* add doc

* clean code
This commit is contained in:
Frédéric FRANCE
2025-09-11 11:10:24 +02:00
committed by GitHub
parent b667bc0f13
commit a64b36cec4
3 changed files with 10 additions and 9 deletions

View File

@@ -10980,12 +10980,6 @@ parameters:
count: 1
path: ../../../htdocs/don/info.php
-
message: '#^Variable \$projectstatic might not be defined\.$#'
identifier: variable.undefined
count: 6
path: ../../../htdocs/don/list.php
-
message: '#^Variable \$maxlength might not be defined\.$#'
identifier: variable.undefined

View File

@@ -4,7 +4,7 @@
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@inodbox.com>
* Copyright (C) 2019 Nicolas ZABOURI <info@inovea-conseil.com>
* Copyright (C) 2024-2025 MDW <mdeweerd@users.noreply.github.com>
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
* Copyright (C) 2024-2025 Frédéric France <frederic.france@free.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
@@ -133,6 +133,12 @@ $dataseries = array();
$colorseries = array();
include DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/theme_vars.inc.php';
/**
* @var string $badgeStatus0
* @var string $badgeStatus1
* @var string $badgeStatus6
* @var string $badgeStatus9
*/
print '<table class="noborder nohover centpercent">';
print '<tr class="liste_titre">';

View File

@@ -4,8 +4,8 @@
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@inodbox.com>
* Copyright (C) 2013 Cédric Salvador <csalvador@gpcsolutions.fr>
* Copyright (C) 2019 Thibault FOUCART <support@ptibogxiv.net>
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
* Copyright (C) 2024-2025 Frédéric France <frederic.france@free.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
@@ -208,6 +208,7 @@ $form = new Form($db);
$now = dol_now();
$donationstatic = new Don($db);
$projectstatic = null;
if (isModEnabled('project')) {
$projectstatic = new Project($db);
}