mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-15 05:17:03 +02:00
enhanced accounting
This commit is contained in:
32
webui/view/theme/default/templates/accounting/accounts.tpl
Normal file
32
webui/view/theme/default/templates/accounting/accounts.tpl
Normal file
@ -0,0 +1,32 @@
|
||||
|
||||
<p>
|
||||
<?php if ($view == 'email') { echo '<strong>'.$text_accounting_email.'</strong>'; } else { echo '<a href="index.php?route=accounting/accounting&view=email">'.$text_accounting_email.'</a>'; } ?> |
|
||||
<?php if ($view == 'domain') { echo '<strong>'.$text_accounting_domain.'</strong>'; } else { echo '<a href="index.php?route=accounting/accounting&view=domain">'.$text_accounting_domain.'</a>'; } ?>
|
||||
</p>
|
||||
|
||||
<p><a href="index.php?route=accounting/accounting&view=domain"><?php print $text_back; ?></a></p>
|
||||
|
||||
<?php if(count($accounts) > 0) { ?>
|
||||
|
||||
<table class="table table-striped table-condensed">
|
||||
|
||||
<tr>
|
||||
<th><?php echo $text_email; ?> (@<?php print $domain; ?>) </th>
|
||||
</tr>
|
||||
|
||||
<?php foreach($accounts as $a) {?>
|
||||
<tr>
|
||||
<td><?php echo $a['mail']; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
|
||||
<?php } else { ?>
|
||||
<tr>
|
||||
<td><?php print $text_no_email_found; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
<p><a href="index.php?route=accounting/accounting&view=domain"><?php print $text_back; ?></a></p>
|
||||
|
||||
|
Reference in New Issue
Block a user