Esempio n. 1
0
;
        
    </script>
	<title><?php 
echo CHtml::encode($this->pageTitle);
?>
</title>
    <?php 
O::app()->getComponent('bootstrap', true);
// initialize bootstrap
?>
    <?php 
O::app()->getClientScript()->registerCssFile(O::versionedFileUrl('/css/admin', '.css'));
?>
    <?php 
O::app()->getClientScript()->registerScriptFile(O::versionedFileUrl('/js/admin', '.js'), CClientScript::POS_END);
?>
</head>

<body>

<?php 
$cur_rec_id = $this->getRec() ? $this->rec->id : 0;
$cur_rec_name = $cur_rec_id ? $this->rec->name : O::t('oprecx', '-- Select Recruitment --');
$rec_menus = array();
$htmlOptions = array();
foreach ($this->getMyRecruitments() as $rec) {
    if ($cur_rec_id != 0) {
        $htmlOptions['target'] = 'rec_' . $rec->id;
    }
    $htmlOptions['title'] = $rec->full_name;
Esempio n. 2
0
<?php

/* @var $this AdminController */
/* @var $form TbActiveForm */
/* @var $slot InterviewSlot */
$table = $slot->table;
O::app()->clientScript->registerCssFile(O::versionedFileUrl('/css/interview-slot', '.css'));
$dateList = array();
foreach ($slot->getDateList() as $date) {
    $dateList[$date] = O::app()->locale->dateFormatter->formatDateTime(strtotime($date), 'medium', null);
}
//O::app()->clientScript->registerCoreScript('jquery.ui');
?>
<h3><?php 
echo CHtml::encode($slot->name);
?>
<br />
    <small><a href="back"><i class="icon-arrow-left"></i> back</a></small>
</h3>
<?php 
$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array('id' => 'slot-edit', 'type' => 'horizontal'));
?>
        <fieldset>
        <legend>Custom Table</legend>
        
        <p></p>
        <div id="slot-table-resizable"><div id="slot-table-container"></div></div>
    </fieldset>

    <fieldset>
        <?php 
Esempio n. 3
0
" />
        <title><?php 
echo CHtml::encode($this->pageTitle);
?>
</title>
        
        <?php 
if (!O::app()->request->isAjaxRequest) {
    ?>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet"  href="<?php 
    echo $jqmCss;
    ?>
">
        <link rel="stylesheet" href="<?php 
    echo O::versionedFileUrl('/css/oprecx', '.css');
    ?>
" />
        <link rel="shortcut icon" href="<?php 
    echo O::app()->request->baseUrl;
    ?>
/favicon.ico">
        <link type="text/plain" rel="author" href="<?php 
    echo O::app()->request->getBaseUrl(TRUE);
    ?>
/humans.txt" />
        
        <?php 
    if (is_array($this->metaData)) {
        echo '<meta name="description" itemprop="description" content="', $this->metaData['description'], '" />';
        unset($this->metaData['description']);