formatting fixes

This commit is contained in:
mischa 2022-09-06 07:40:45 +00:00
parent 5d1fb7cb0b
commit 623bc77304
6 changed files with 35 additions and 42 deletions

View File

@ -1,6 +1,5 @@
<?php
if (count($list_admins) > 0) {
echo "<table id=\"admin_table\">\n";
echo "<tr class=\"header\">\n";
echo "<td>" . $LANG['AdminList_admin_username'] . "</td>\n";
@ -9,9 +8,7 @@ if (count($list_admins) > 0) {
echo "<td>" . $LANG['List_modified'] . "</td>\n";
echo "<td colspan=\"2\">&nbsp;</td>\n";
echo "</tr>\n";
foreach ($list_admins as $row) {
echo "<tr class=\"hilightoff\" onMouseOver=\"className='hilighton';\" onMouseOut=\"className='hilightoff';\">\n";
echo "<td><a href=\"list-domain.php?username=" . $row['username'] . "\">" . $row['username'] . "</a></td>";
echo "<td>" . $row['domain_count'] . "</td>";

View File

@ -44,4 +44,3 @@ if (count($list_domains) > 0) {
}
echo "</table>";
}

View File

@ -53,7 +53,6 @@ if (count($list_alias) > 0) {
echo "<td>" . $LANG['List_modified'] . "</td>";
echo "<td colspan=\"2\">&nbsp;</td>";
echo "</tr>";
foreach ($list_alias as $row) {
echo "<tr class=\"hilightoff\" onMouseOver=\"className='hilighton';\" onMouseOut=\"className='hilightoff';\">";
echo "<td>" . $row['address'] . "</td>";
@ -77,7 +76,6 @@ if (count($list_mailbox) > 0) {
echo "<td>" . $LANG['List_modified'] . "</td>";
echo "<td colspan=\"2\">&nbsp;</td>";
echo "</tr>";
foreach ($list_mailbox as $row) {
echo "<tr class=\"hilightoff\" onMouseOver=\"className='hilighton';\" onMouseOut=\"className='hilightoff';\">";
echo "<td>" . $row['username'] . "</td>";

View File

@ -20,7 +20,7 @@
<td>&nbsp;</td>
</tr>
<tr>
<td><?php echo $LANG['Sendmail_body'] . ":" ?></td>
<td><?php echo $LANG['Sendmail_body'] . ":"; ?></td>
<td>
<textarea class="flat" rows="10" cols="60" name="body"><?php echo $LANG['Sendmail_body_text']; ?></textarea>
</td>

View File

@ -17,7 +17,7 @@
<td><input class="flat" type="password" name="fPassword" ></td>
</tr>
<tr>
<td><?php echo $LANG['Password_password2'].":" ?></td>
<td><?php echo $LANG['Password_password2'] . ":"; ?></td>
<td><input class="flat" type="password" name="fPassword2" /></td>
</tr>
<tr>

View File

@ -27,7 +27,6 @@ if (count($log ?? array()) > 0) {
echo "<td>" . $LANG['Viewlog_action'] . "</td>";
echo "<td>" . $LANG['Viewlog_data'] . "</td>";
echo "</tr>";
foreach ($log as $row) {
if (strlen($row['data']) > 35) $row['data'] = substr($row['data'], 0, 35) . " ...";
echo "<tr class=\"hilightoff\" onMouseOver=\"className='hilighton';\" onMouseOut=\"className='hilightoff';\">";