<div class="login-page page"> <div class="wrapper"> <h2><?php echo \GO::t('login', 'defaultsite'); ?> </h2> <?php $form = new \GO\Site\Widget\Form(); ?> <?php echo $form->beginForm(); ?> <?php if (\Site::notifier()->hasMessage('error')) { ?> <div class="notification error"><?php echo \Site::notifier()->getMessage('error'); ?> </div> <?php } ?> <table class="table-login"> <tr> <td><?php echo $form->label($model, 'username'); ?> </td> <td><?php
} ?> </td> </tr> <?php } ?> </table> <?php if (!$ticket->isClosed()) { ?> <?php $form = new \GO\Site\Widget\Form(); ?> <?php echo $form->beginForm(false, false, array('enctype' => 'multipart/form-data')); ?> <?php $uploader = new \GO\Site\Widget\Plupload\Widget(); ?> <h3><?php echo \GO::t('ticketYourMessage', 'defaultsite'); ?> </h3> <?php
<div class="recover-password-page page"> <div class="wrapper"> <h2><?php echo \GO::t('forgotPassword', 'site'); ?> </h2> <?php $form = new \GO\Site\Widget\Form(); ?> <?php echo $form->beginForm(); ?> <?php if (Site::notifier()->hasMessage('success')) { ?> <div class="notification success"><?php echo Site::notifier()->getMessage('success'); ?> </div> <?php } else { ?> <?php if (Site::notifier()->hasMessage('error')) { ?> <div class="notification error"><?php echo Site::notifier()->getMessage('error'); ?>
echo \GO::t('passwordChanged', 'defaultsite'); ?> </h2> <?php } else { ?> <h2><?php echo \GO::t('changePassword', 'defaultsite'); ?> </h2> <?php } ?> <?php $form = new \GO\Site\Widget\Form(); ?> <?php echo $form->beginForm(); ?> <?php if (Site::notifier()->hasMessage('success')) { ?> <div class="notification success"><?php echo Site::notifier()->getMessage('success'); ?> </div> <div class="button-bar"> <a id="reset-login-button" class="button" href="<?php echo Site::urlManager()->createUrl('/site/account/login');
<?php $form = new \GO\Site\Widget\Form(); echo $form->beginForm(); ?> <div class="row formrow"> <?php echo $form->label($model, 'name'); ?> <?php echo $form->textField($model, 'name'); ?> <span ><?php echo '.' . \GO::config()->servermanager_wildcard_domain; ?> </span> <?php echo $form->error($model, 'name'); ?> </div> <div class="row formrow"> <?php echo $form->label($model, 'title'); ?> <?php echo $form->textField($model, 'title'); ?> <?php echo $form->error($model, 'title'); ?>
?> </a> <?php } ?> <h2><?php echo \GO::t('ticketNewTicket', 'defaultsite'); ?> </h2> <?php $form = new \GO\Site\Widget\Form(); ?> <?php echo $form->beginForm(false, false, array('enctype' => 'multipart/form-data')); ?> <h3><?php echo \GO::t('ticketContactInfo', 'defaultsite'); ?> </h3> <table class="table-contactinformation"> <tr> <td><?php echo $form->label($ticket, 'first_name', array('label' => \GO::t('ticketFirstname', 'defaultsite'))); ?>
<div class="register-page page"> <div class="wrapper"> <h2><?php echo \GO::t('contactformTitle', 'defaultsite'); ?> </h2> <?php $form = new \GO\Site\Widget\Form(); ?> <?php echo $form->beginForm(false, false, array('id' => 'contact')); ?> <?php echo \GO::t('contactformText', 'defaultsite'); ?> <?php // Find the first addressbook that's available: $addressbook = \GO\Addressbook\Model\Addressbook::model()->findSingle(); // Find addressbook by id: // $addressbook = \GO\Addressbook\Model\Addressbook::model()->findByPk(11); // Find addressbook by the name attribute: // $addressbook = \GO\Addressbook\Model\Addressbook::model()->findSingleByAttribute('name','Example'); // Use the addressbook model to populate the hidden field: echo $form->hiddenField($addressbook, 'id', array('value' => $addressbook->id)); // Just set the correct addressbook id in the hidden field manually: // echo $form->hiddenField($addressbook,'id',array('value'=>11)); //$addressbook = \GO\Addressbook\Model\Addressbook::model()->findSingleByAttribute('name','Example'); echo $form->hiddenField($addressbook, 'id', array('value' => $addressbook->id));
<div class="register-page page"> <div class="wrapper"> <h2><?php echo \GO::t('register', 'defaultsite'); ?> </h2> <?php $form = new \GO\Site\Widget\Form(); ?> <?php echo $form->beginForm(false, false, array('id' => 'register')); ?> <?php echo \GO::t('registerformText', 'defaultsite'); ?> <h3><?php echo \GO::t('contactDetails', 'defaultsite'); ?> </h3> <table class="table-registration-contact"> <tr> <td><?php echo $form->label($user, 'first_name'); ?> </td> <td><?php echo $form->textField($user, 'first_name'); echo $form->error($user, 'first_name');