예제 #1
0
<?php

/** @var string $submit_name */
/** @var RegisterController $this */
if (!isset($submit_name)) {
    $submit_name = 'save';
}
$grid = JqmGrid::createGrid('fieldset');
$back_link_args = $this->isWizard ? array('wiz' => 1) : array();
$grid->addColumn(JqmTag::buttonLink(O::t('oprecx', 'Back'), $this->getURL($this->backAction, $back_link_args))->icon('back')->iconPos('left'));
$grid->addColumn(JqmTag::jSubmit($this->isWizard ? O::t('oprecx', 'Next') : O::t('oprecx', 'Save'), $submit_name)->icon('check')->theme('b')->iconPos('right'));
$grid->render(true);
예제 #2
0
    }
    $fieldSet->render(true);
    echo CHtml::error($model, 'choices');
    // render submit button
    $this->renderPartial('submit');
    // end
    $this->endWidget();
}
?>

<?php 
foreach ($divisions as $division) {
    ?>
<div class="division">
    <h3 class="division-name"><?php 
    echo CHtml::encode($division->name);
    ?>
</h3>
    <div class="division-description"><?php 
    echo $division->description;
    ?>
</div>
</div>
<?php 
}
?>

<?php 
if (O::app()->user->getIsGuest()) {
    JqmTag::buttonLink(O::t('oprecx', 'Register Now'), $this->getURL('index'))->theme('b')->render(true);
}
예제 #3
0
<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<h1>Conratulation!</h1>
You have successfully registered on this recruitment.
<?php 
JqmTag::buttonLink(O::t('oprecx', 'Review my registration'), $this->getURL('index'))->theme('b')->render(true);
JqmTag::buttonLink(O::t('oprecx', 'Log Out'), array('/user/logout'))->render(true);