Rework service, change module_method configuration

This commit is contained in:
Deon George
2013-06-04 21:50:41 +10:00
parent 2ac7389223
commit f4ddea3586
35 changed files with 780 additions and 1022 deletions

View File

@@ -1,33 +1,19 @@
<!-- //@todo To translate -->
<table class="box-full">
<tr>
<td class="head" colspan="2">Service Details</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td style="width: 50%">
<table width="100%">
<tr>
<td style="width: 40%;">Domain Name</td>
<td style="width: 60%;" class="data"><?php echo $so->name(); ?></td>
</tr>
<tr>
<td>Hosting Expire</td>
<td class="data"><?php echo $so->display('host_expire'); ?></td>
</tr>
</table>
</td>
<td style="width: 50%">
<table width="100%">
<?php if ($x=$so->manage_button()) { ?>
<tr>
<td style="width: 40%;">Panel Login</td>
<td style="width: 60%;" class="data"><?php echo $x; ?></td>
</tr>
<?php } ?>
</table>
</td>
</tr>
</table>
<fieldset class="span5">
<legend>Service Details</legend>
<div class="dl-horizontal">
<dt>Domain Name</dt>
<dd><?php echo $o->name(); ?></dd>
<dt>Hosting Expire</dt>
<dd><?php echo $o->display('host_expire'); ?></dd>
<?php if ($x=$o->manage_button()) : ?>
<div class="offset1">
<?php echo $x; ?>
</div>
<?php endif ?>
</div> <!-- dl-horizontal -->
</fieldset>