Open Source Billing

This commit is contained in:
Deon George
2013-10-10 13:44:53 +11:00
commit b02d70adf0
2344 changed files with 392978 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
<table class="box-left">
<tr>
<th>Shared IPs</th>
<td><?php echo Form::input('provision_plugin_data[shared_ip]',$o->value('shared_ip')); ?></td>
</tr>
</table>

View File

@@ -0,0 +1,54 @@
<!-- @todo NEEDS TO BE TRANSLATED -->
<table width="100%">
<?php if ($x=$hso->manage_button()) { ?>
<tr>
<td style="width: 40%;">Panel Login</td>
<td style="width: 60%;" class="data"><?php echo $x; ?></td>
</tr>
<?php } ?>
</table>
<?php echo Form::open(); ?>
<table class="box-left">
<tr>
<th>Name</th>
<td><?php echo Form::input('name',$hso->name); ?></td>
</tr>
<tr>
<th>Active</th>
<td><?php echo StaticList_YesNo::form('status',$hso->status); ?></td>
</tr>
<tr>
<th>Debug Mode</th>
<td><?php echo StaticList_YesNo::form('debug',$hso->debug); ?></td>
</tr>
<tr>
<th>Notes</th>
<td><?php echo Form::input('notes',$hso->notes); ?></td>
</tr>
<tr>
<th>Provision Plugin</th>
<!-- @todo This should be a dynamic list -->
<td><?php echo Form::input('provision_plugin',$hso->provision_plugin); ?></td>
</tr>
<tr>
<th>Max Accounts</th>
<td><?php echo Form::input('max_accounts',$hso->max_accounts); ?></td>
</tr>
<tr>
<th>Manage URL</th>
<td>
<?php echo Form::input('manage_url',$hso->manage_url,array('size'=>($a=strlen($hso->manage_url)>50 ? $a : 50))); ?>
</td>
</tr>
<tr>
<th>Manage Admin</th>
<td><?php echo Form::input('manage_username',$hso->manage_username); ?></td>
</tr>
<tr>
<th>Manage Password</th>
<td><?php echo Form::input('manage_password',$hso->manage_password); ?></td>
</tr>
</table>
<?php if ($plugin_form) { echo '<br/>'.$plugin_form; } ?>
<?php echo Form::submit('submit',_('Update'),array('class'=>'form_button')); ?>
<?php echo Form::close(); ?>

View File

@@ -0,0 +1,33 @@
<!-- //@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>