Example #1
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);
}
Example #2
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);
Example #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);
Example #4
0
 /**
  * 
  * @param boolean $echo
  * @return string
  */
 public function render($echo = false)
 {
     $this->appendClass('ui-grid-' . chr(count($this->content) + 0x5f));
     return parent::render($echo);
 }
Example #5
0
    <h2><?php 
echo O::t('oprecx', 'Welcome to Oprecx!');
?>
</h2>
    <?php 
//echo O::t('oprecx', '<p>Oprecx is web based open recruitment system')
?>
    <p>Oprecx adalah sistem rekruitmen terbuka berbasis web.</p>
    <hr />

    <h2><?php 
echo O::t('oprecx', 'Active Open Recruitment');
?>
</h2>
    
    <?php 
/* @var $rec Recruitment */
//JqmTag::listview()->render(TRUE);
//*
if ($recs) {
    $ul = JqmTag::listview()->inset()->theme('d')->icon('false')->data('filter', true)->data('filter-placeholder', O::t('oprecx', 'Search recruitment'));
    foreach ($recs as $rec) {
        $ul->appendLvItem(HtmlTag::link($rec->full_name, array('registration/default/index', 'rec_name' => $rec->name)));
    }
    $ul->render(true);
}
// */
?>

</div>