This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/modules/domain/views/service/user/plugin/domain/view.php
2015-09-29 12:05:00 +10:00

35 lines
923 B
PHP

<fieldset>
<legend>Service Details</legend>
<div class="dl-horizontal">
<dt>Domain Name</dt>
<dd><?php echo $o->name(); ?></dd>
<dt>Domain Expire</dt>
<dd><?php echo $o->display('domain_expire'); ?></dd>
<dt>Domain Auth Password</dt>
<dd><?php echo ! $o->service->expiring() ? $o->display('registrar_auth_password') : 'EXPIRED'; ?></dd>
<?php if ($x=$o->manage_button()) : ?>
<dt>Registrar</dt>
<dd><?php echo $x; ?></dd>
<?php endif ?>
<?php if ($x=$o->manage_button_dns()) : ?>
<dt>DNS</dt>
<dd><?php echo $x; ?></dd>
<?php endif ?>
<?php if ($o->service->external_billing) : ?>
<dt>Provider</dt>
<dd><?php echo HTML::anchor($o->registrar->whitelabel_url,NULL); ?></dd>
<dt>Username</dt>
<dd><?php echo $o->registrar_username; ?></dd>
<dt>Password</dt>
<dd><?php echo $o->registrar_password; ?></dd>
<?php endif ?>
</div> <!-- dl-horizontal -->
</fieldset>