Working on HOST SERVER and improvements to ORMOSB

This commit is contained in:
Deon George
2012-06-27 00:28:18 +10:00
parent f50bea38a3
commit a0e1714358
24 changed files with 1007 additions and 645 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(); ?>