apply initial-fixes-make-compatible-with-Debian-Ubuntu-php from https://github.com/zedzedtop/mailzu

This commit is contained in:
Mario Fetka
2016-02-04 17:03:27 +01:00
parent 401edac1a7
commit 180aa514e9
22 changed files with 203 additions and 199 deletions

View File

@@ -33,12 +33,12 @@ function showSummary($count_array) {
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td colspan="5" class="tableTitle">
<? echo translate($_SESSION['sessionNav']); ?>
<?php echo translate($_SESSION['sessionNav']); ?>
</td>
<td class="tableTitle">
<div align="right">
<? $link->doLink('javascript: help(\'msg_summary\');', '?', '', 'color: #FFFFFF;',
<?php $link->doLink('javascript: help(\'msg_summary\');', '?', '', 'color: #FFFFFF;',
translate('Help') . ' - ' . translate($_SESSION['sessionNav'])) ?>
</div>
</td>
@@ -52,29 +52,29 @@ function showSummary($count_array) {
<!-- Print table's headers -->
<tr class="rowHeaders">
<td width="15%">
<? echo translate('Date'); ?>
<?php echo translate('Date'); ?>
</td>
<td width="14%">
<? echo translate('Spam'); ?>
<?php echo translate('Spam'); ?>
</td>
<td width="14%">
<? echo translate('Banned'); ?>
<?php echo translate('Banned'); ?>
</td>
<td width="14%">
<? echo translate('Viruses'); ?>
<?php echo translate('Viruses'); ?>
</td>
<td width="14%">
<? echo translate('Bad Headers'); ?>
<?php echo translate('Bad Headers'); ?>
</td>
<td width="14%">
<? echo translate('Pending Requests'); ?>
<?php echo translate('Pending Requests'); ?>
</td>
<td width="15%">
<? echo translate('Total'); ?>
<?php echo translate('Total'); ?>
</td>
</tr>
<? $i = 0;
<?php $i = 0;
foreach ($count_array as $key => $val) {
echo '<tr class="' . 'cellColor' . ($i++%2) . ' align="center">';
echo ($key == 'Total' ? '<td class="rowTotals">' : '<td class="rowNumValues">') . "$key</td> \n";
@@ -89,7 +89,7 @@ function showSummary($count_array) {
</td>
</tr>
</table>
<?
<?php
}
?>