Some tweaks for configurations

This commit is contained in:
patrick 2025-02-12 22:08:09 +00:00
parent cac5d3f8c5
commit b875e9a4a7
4 changed files with 10 additions and 7 deletions

@ -67,8 +67,8 @@ echo " </tr>\n";
echo ' <tr>';
echo ' <td><a href="reports.php">' . theme_icon('print/export_reports') . '<br />' . i18n('Print / Export Reports') . '</a></td>';
echo ' <td><a href="reports_ceremony.php">' . theme_icon('print_awards_ceremony_scripts') . '<br />' . i18n('Print Award Ceremony Scripts') . '</a></td>';
echo ' <td><a href="reports_editor.php">' . theme_icon('report_management') . '<br />' . i18n('Report Management') . '</a></td>';
echo ' <td><a href="translations.php">' . theme_icon('translations_management') . '<br />' . i18n('Translations Management') . '</a></td>';
//echo ' <td><a href="reports_editor.php">' . theme_icon('report_management') . '<br />' . i18n('Report Management') . '</a></td>';
//echo ' <td><a href="translations.php">' . theme_icon('translations_management') . '<br />' . i18n('Translations Management') . '</a></td>';
echo '</td>';
echo " </tr>\n";

@ -38,9 +38,9 @@
require_once("reports_fairs.inc.php");
require_once("reports_fundraising.inc.php");
require_once('../lpdf.php');
//require_once('../lpdf.php');
require_once('../lcsv.php');
require_once('../tcpdf.inc.php');
//require_once('../tcpdf.inc.php');
$filter_ops = array( 0 => '=',
1 => '<=',

@ -90,7 +90,7 @@ switch ($_GET['action']) {
</tr><tr>
<?
/* See if the report is in this committee member's list */
$q = $pd->prepare("SELECT * FROM reports_committee
$q = $pdo->prepare("SELECT * FROM reports_committee
\t\t\t\tWHERE users_id=?
AND reports_id=?");
$q->execute([$_SESSION['users_uid'],$report['id']]);

@ -29,9 +29,12 @@ header('Content-Type: text/html; charset=utf8');
include_once ('helper.inc.php');
// set error reporting to not show notices, for some reason some people's installation dont set this by default
// so we will set it in the code instead just to make sure
// error_reporting(E_ALL);
error_reporting(E_ALL);
ini_set('log_errors', 'On');
ini_set('display_errors', 'Off');
// error_reporting( E_ALL ^ E_WARNING );
error_reporting(E_ALL ^ E_WARNING ^ E_NOTICE ^ E_DEPRECATED);
//error_reporting(E_ALL ^ E_WARNING ^ E_NOTICE ^ E_DEPRECATED);
define('REQUIREDFIELD', '<span class="requiredfield">*</span>');