/**
  *
  * @return array
  */
 public function getStylesheets()
 {
     $styleSheets = parent::getStylesheets();
     $styleSheets[plugin_web_path('orangehrmPerformancePlugin', 'css/reviewEvaluationSuccess.css')] = 'all';
     $styleSheets[plugin_web_path('orangehrmPerformancePlugin', 'css/reviewEvaluateByAdminSuccess.css')] = 'all';
     return $styleSheets;
 }
示例#2
0
function printAssetPaths($assets, $plugin = '')
{
    if (count($assets) > 0) {
        foreach ($assets as $key => $asset) {
            $assetType = substr($asset, strrpos($asset, '.') + 1);
            if ($plugin == '') {
                echo javascript_include_tag($asset);
            } elseif ($assetType == 'js') {
                echo javascript_include_tag(plugin_web_path($plugin, 'js/' . $asset));
            } elseif ($assetType == 'css') {
                echo stylesheet_tag(plugin_web_path($plugin, 'css/' . $asset));
            } else {
                echo $assetType;
            }
        }
    }
}
?>
';
    var fileModified = 0;
    var havePassports = '<?php 
echo $havePassports;
?>
';
    var canUpdate = '<?php 
echo $immigrationPermission->canUpdate();
?>
';
    var recordsAsJSON = new Array();
    //]]>
</script>
<?php 
echo javascript_include_tag(plugin_web_path('orangehrmPimPlugin', 'js/viewImmigrationSuccess'));
?>

<div class="box pimPane">
    
    <?php 
echo include_component('pim', 'pimLeftMenu', array('empNumber' => $empNumber, 'form' => $form));
?>
    
    <?php 
if ($immigrationPermission->canCreate() || $havePassports && $immigrationPermission->canUpdate()) {
    ?>
    <div id="immigrationDataPane" class=""> 
        <div class="head">
            <h1 id="immigrationHeading"><?php 
    echo __('Add Immigration');
<?php

echo javascript_include_tag('jquery.tooltip.js');
use_javascript(plugin_web_path('orangehrmAdminPlugin', '/js/viewCompanyStructureSuccess'));
?>

<style type="text/css">
    p {
        margin-top: 10px;
    }
</style>

<div class="box">
    <div class="head">
        <h1><?php 
echo __("Organization Structure");
?>
</h1>
    </div>

    <div class="inner" >
        <div id="messageDiv"></div>
        <?php 
if ($isOrganizationNameSet) {
    ?>
            <?php 
    echo $listForm;
    ?>
            <ol id="divCompanyStructureContainer">            
                <?php 
    $tree->render();
<?php

use_javascripts_for_form($form);
use_stylesheets_for_form($form);
use_stylesheet(plugin_web_path('orangehrmLeavePlugin', 'css/viewLeaveBalanceReport'));
?>


<?php 
if ($form->hasErrors()) {
    ?>
    <div class="messagebar">
        <?php 
    include_partial('global/form_errors', array('form' => $form));
    ?>
    </div>
<?php 
}
?>
<div class="box searchForm" id="leave-balance-report">
    <div class="head">
        <h1><?php 
echo $mode == 'my' ? __("My Leave Entitlements and Usage Report") : __("Leave Entitlements and Usage Report");
?>
</h1>
    </div>
    <div class="inner">
        <?php 
include_partial('global/flash_messages');
?>
        <?php 
 * version 2 of the License, or (at your option) any later version.
 *
 * OrangeHRM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with this program;
 * if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA  02110-1301, USA
 *
 */
?>

<?php 
use_stylesheet(plugin_web_path('orangehrmAdminPlugin', 'css/viewEducationSuccess'));
use_javascript(plugin_web_path('orangehrmAdminPlugin', 'js/viewEducationSuccess'));
?>

<?php 
echo isset($templateMessage) ? templateMessage($templateMessage) : '';
?>

<div class="box" id="saveFormDiv">
    <div class="head">
            <h1 id="saveFormHeading">Add Education</h1>
    </div>
    
    <div class="inner">

        <form name="frmSave" id="frmSave" method="post" action="<?php 
echo url_for('admin/viewEducation');
<?php 
use_javascript(plugin_web_path('orangehrmAdminPlugin', 'js/membershipSuccess'));
?>

<div id="membership" class="box">
    
    <div class="head"><h1 id="membershipHeading"><?php 
echo __("Add Membership");
?>
</h1></div>
    
    <div class="inner">
        
        <form name="frmMembership" id="frmMembership" method="post" action="<?php 
echo url_for('admin/membership');
?>
" >
            <?php 
echo $form['_csrf_token'];
?>
            <?php 
echo $form->renderHiddenFields();
?>
           <fieldset>
                <ol>
                    <li>
                        <?php 
echo $form['name']->renderLabel(__('Name') . ' <em>*</em>');
?>
                        <?php 
 * OrangeHRM is free software; you can redistribute it and/or modify it under the terms of
 * the GNU General Public License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * OrangeHRM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with this program;
 * if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA  02110-1301, USA
 */
?>

<?php 
echo javascript_include_tag(plugin_web_path('orangehrmTimePlugin', 'js/viewTimesheet'));
?>

<?php 
$noOfColumns = sizeof($sf_data->getRaw('rowDates'));
$width = 350 + $noOfColumns * 75;
$actionName = sfContext::getInstance()->getActionName();
?>

<style type="text/css">
    #timeComment {
        width: 365px;
        margin-bottom: 5px;
    }
</style>
<?php 
<?php

use_stylesheets_for_form($form);
?>

<?php 
use_stylesheet(plugin_web_path('orangehrmPerformancePlugin', 'css/myPerformanceReviewSuccess.css'));
?>
 

<div class="box searchForm toggableForm" id="performance-list-search">
    <div class="head">
        <h1><?php 
echo __('Search Performance Reviews');
?>
</h1>
    </div>
    <div class="inner">
        <form id="evaluatePerformanceReview360SearchForm" name="evaluatePerformanceReviewSearchForm" method="post" action="">
            <fieldset>                
                <ol>
                    <?php 
echo $form->render();
?>
                    <input type="hidden" name="pageNo" id="pageNo" value="" />
                    <input type="hidden" name="hdnAction" id="hdnAction" value="search" />     
                </ol>                            
                <p>
                    <input type="button" class="applybutton" id="searchBtn" value="<?php 
echo __('Search');
?>
 * Licensed Materials are received. Title to the Licensed Materials and media shall remain
 * vested in OrangeHRM Inc. For the avoidance of doubt title and all intellectual property
 * rights to any design, new software, new protocol, new interface, enhancement, update,
 * derivative works, revised screen text or any other items that OrangeHRM Inc creates for
 * Customer shall remain vested in OrangeHRM Inc. Any rights not expressly granted herein are
 * reserved to OrangeHRM Inc.
 *
 * You should have received a copy of the OrangeHRM Enterprise  proprietary license file along
 * with this program; if not, write to the OrangeHRM Inc. 538 Teal Plaza, Secaucus , NJ 0709
 * to get the file.
 *
 */
?>

<?php 
use_javascript(plugin_web_path('orangehrmAdminPlugin', 'js/viewCustomersSuccess'));
?>

<div id="customerList">
    <?php 
include_component('core', 'ohrmList', $parmetersForListCompoment);
?>
</div>

<form name="frmHiddenParam" id="frmHiddenParam" method="post" action="<?php 
echo url_for('admin/viewCustomers');
?>
">
                <input type="hidden" name="pageNo" id="pageNo" value="<?php 
//echo $form->pageNo;
?>
示例#11
0
 * version 2 of the License, or (at your option) any later version.
 *
 * OrangeHRM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with this program;
 * if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA  02110-1301, USA
 *
 */
?>

<?php 
use_stylesheet(plugin_web_path('orangehrmAdminPlugin', 'css/degreeSuccess'));
use_javascript(plugin_web_path('orangehrmAdminPlugin', 'js/degreeSuccess'));
?>

<?php 
echo isset($templateMessage) ? templateMessage($templateMessage) : '';
?>

<div class="box" id="saveFormDiv">
    <div class="head">
            <h1 id="saveFormHeading">Add Degree</h1>
    </div>
    
    <div class="inner">

        <form name="frmSave" id="frmSave" method="post" action="<?php 
echo url_for('admin/degree');
 * the GNU General Public License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * OrangeHRM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with this program;
 * if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA  02110-1301, USA
 *
 */
?>

<?php 
use_javascript(plugin_web_path('orangehrmPimPlugin', 'js/viewReportToDetailsSuccess'));
$numSupDetails = count($supDetails);
$hasSupDetails = $numSupDetails > 0;
$numSubDetails = count($subDetails);
$hasSubDetails = $numSubDetails > 0;
$allowDel = true;
$allowEdit = true;
?>

<div class="box pimPane">
    
    <?php 
include_partial('global/form_errors', array('form' => $form));
?>

    <?php 
?>
"/>
                </p>
                
            </fieldset>
            
        </form>
    
    </div>
    
</div> <!-- saveFormDiv -->



<?php 
use_javascript(plugin_web_path('orangehrmAdminPlugin', 'js/viewModulesSuccess'));
?>

<script type="text/javascript">
//<![CDATA[	    
    
    var lang_edit = "<?php 
echo __('Edit');
?>
";
    var lang_save = "<?php 
echo __('Save');
?>
";
    
//]]>	
 public function getStylesheets()
 {
     $styleSheets = parent::getStylesheets();
     $styleSheets[plugin_web_path('orangehrmCorePlugin', 'css/ohrmWidgetCheckboxGroup.css')] = 'all';
     return $styleSheets;
 }
 * Licensed Materials are received. Title to the Licensed Materials and media shall remain
 * vested in OrangeHRM Inc. For the avoidance of doubt title and all intellectual property
 * rights to any design, new software, new protocol, new interface, enhancement, update,
 * derivative works, revised screen text or any other items that OrangeHRM Inc creates for
 * Customer shall remain vested in OrangeHRM Inc. Any rights not expressly granted herein are
 * reserved to OrangeHRM Inc.
 *
 * You should have received a copy of the OrangeHRM Enterprise  proprietary license file along
 * with this program; if not, write to the OrangeHRM Inc. 538 Teal Plaza, Secaucus , NJ 0709
 * to get the file.
 *
 */
?>

<?php 
use_javascript(plugin_web_path('orangehrmAdminPlugin', 'js/viewSystemUserSuccess'));
?>

<div id="systemUser-information" class="box searchForm toggableForm">
    <div class="head">
        <h1><?php 
echo __("System Users");
?>
</h1>
    </div>
    
    <?php 
include_partial('global/form_errors', array('form' => $form));
?>
    
    <div class="inner">
 * the GNU General Public License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * OrangeHRM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with this program;
 * if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA  02110-1301, USA
 *
 */
?>

<?php 
echo javascript_include_tag(plugin_web_path('orangehrmAdminPlugin', 'js/viewOrganizationGeneralInformationSuccess'));
?>

<div id="general-info" class="box twoColumn">
        
    <div class="head">
        <h1 id="genInfoHeading"><?php 
echo __('General Information');
?>
</h1>
    </div>

    <div class="inner">
        
        <?php 
include_partial('global/flash_messages', array('prefix' => 'generalinformation'));
 * Copyright (C) 2006 OrangeHRM Inc., http://www.orangehrm.com
 *
 * OrangeHRM is free software; you can redistribute it and/or modify it under the terms of
 * the GNU General Public License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * OrangeHRM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with this program;
 * if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA  02110-1301, USA
 *
 */
use_javascript(plugin_web_path('orangehrmAdminPlugin', 'js/saveJobTitleSuccess'));
?>



<div id="saveHobTitle" class="box">
    <?php 
if ($jobTitlePermissions->canRead()) {
    ?>
    <div class="head">
        <h1 id="saveHobTitleHeading"><?php 
    echo $title;
    ?>
</h1>
    </div>
    
 * the GNU General Public License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * OrangeHRM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with this program;
 * if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA  02110-1301, USA
 *
 */
?>

<?php 
use_javascript(plugin_web_path('orangehrmPimPlugin', 'js/viewTerminationReasonsSuccess'));
?>

<div id="saveFormDiv" class="box">
    
    <div class="head">
        <h1 id="saveFormHeading">Add Termination Reason</h1>
    </div>
    
    <div class="inner">

        <form name="frmSave" id="frmSave" method="post" action="<?php 
echo url_for('pim/viewTerminationReasons');
?>
">
            
<?php

use_javascript(plugin_web_path('orangehrmAdminPlugin', 'js/saveProjectSuccess'));
?>

<?php 
if ($projectPermissions->canRead()) {
    ?>
<div id="addProject" class="box">
    
    <div class="head">
        <h1 id="addProjectHeading"><?php 
    echo __("Add Project");
    ?>
</h1>
    </div>
    
    <div class="inner">
        <?php 
    include_partial('global/form_errors', array('form' => $form));
    ?>
        <?php 
    include_partial('global/flash_messages', array('prefix' => 'project'));
    ?>
        
        <form name="frmAddProject" id="frmAddProject" method="post" action="<?php 
    echo url_for('admin/saveProject');
    ?>
" >

            <?php 
示例#20
0
<?php 
echo javascript_include_tag(plugin_web_path('orangehrmPimPlugin', 'js/addEmployeeSuccess'));
?>

<div class="box">

<?php 
if (isset($credentialMessage)) {
    ?>

<div class="message warning">
    <?php 
    echo __(CommonMessages::CREDENTIALS_REQUIRED);
    ?>
 
</div>

<?php 
} else {
    ?>

    <div class="head">
        <h1><?php 
    echo __('Add Employee');
    ?>
</h1>
    </div>

    <div class="inner" id="addEmployeeTbl">
        <?php 
示例#21
0
 /**
  *
  * @return array
  */
 public function getStylesheets()
 {
     $styleSheets = parent::getStylesheets();
     $styleSheets[plugin_web_path('orangehrmPerformancePlugin', 'css/kpiSearchSuccess.css')] = 'all';
     return $styleSheets;
 }
<?php 
use_javascript(plugin_web_path('orangehrmAdminPlugin', 'js/employmentStatusSuccess'));
?>

<div class="box" id="empStatus">
    
    <div class="head">
            <h1 id="empStatusHeading"><?php 
echo __('Add Employment Status');
?>
</h1>
    </div>
    
    <div class="inner">
        
        <form name="frmEmpStatus" id="frmEmpStatus" method="post" action="<?php 
echo url_for('admin/employmentStatus');
?>
" >

            <?php 
echo $form['_csrf_token'];
?>
            <?php 
echo $form->renderHiddenFields();
?>
            
            <fieldset>
                
                <ol>
示例#23
0
 public function getJavaScripts()
 {
     $javaScripts = parent::getJavaScripts();
     $javaScripts[] = plugin_web_path('orangehrmLeavePlugin', 'js/defineLeaveTypeSuccess.js');
     return $javaScripts;
 }
示例#24
0
<?php

use_javascripts_for_form($applyLeaveForm);
use_stylesheets_for_form($applyLeaveForm);
use_stylesheet(plugin_web_path('orangehrmLeavePlugin', 'css/assignLeaveSuccess.css'));
?>

<?php 
include_partial('overlapping_leave', array('overlapLeave' => $overlapLeave));
?>

<div class="box" id="apply-leave">
    <div class="head">
        <h1><?php 
echo __('Apply Leave');
?>
</h1>
    </div>
    <div class="inner">
        <?php 
include_partial('global/flash_messages');
?>
        <?php 
if ($applyLeaveForm->hasErrors()) {
    ?>
                <?php 
    include_partial('global/form_errors', array('form' => $applyLeaveForm));
    ?>
        <?php 
}
?>
 * version 2 of the License, or (at your option) any later version.
 *
 * OrangeHRM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with this program;
 * if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA  02110-1301, USA
 *
 */
?>

<?php 
use_stylesheet(plugin_web_path('orangehrmRecruitmentPlugin', 'css/addJobVacancySuccess'));
use_javascript(plugin_web_path('orangehrmRecruitmentPlugin', 'js/addJobVacancySuccess'));
?>

<div class="box" id="addJobVacancy">

    <div class="head">
        <h1><?php 
echo isset($vacancyId) ? __('Edit Job Vacancy') : __('Add Job Vacancy');
?>
</h1>
    </div>

    <div class="inner">
        <?php 
include_partial('global/flash_messages');
?>
示例#26
0
<?php 
use_javascript('jquery/jquery.form');
use_javascript(plugin_web_path('orangehrmAdminPlugin', 'js/payGradeSuccess'));
?>

<?php 
$hasCurrencies = !empty($currencyList) && count($currencyList) > 0;
?>

<?php 
if ($payGradePermissions->canRead()) {
    ?>
<div id="payGrade" class="box">
    
    <div class="head">
        <h1 id="payGradeHeading"><?php 
    echo $title;
    ?>
</h1>
    </div>
    
    <div class="inner">
        
        <?php 
    include_partial('global/flash_messages', array('prefix' => 'paygrade'));
    ?>

        <form name="frmPayGrade" id="frmPayGrade" method="post" action="<?php 
    echo url_for('admin/payGrade');
    ?>
 public function getJavaScripts()
 {
     $javaScripts = parent::getJavaScripts();
     $javaScripts[] = plugin_web_path('orangehrmLeavePlugin', 'js/addLeaveEntitlementSuccess.js');
     return $javaScripts;
 }
 * OrangeHRM is free software; you can redistribute it and/or modify it under the terms of
 * the GNU General Public License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * OrangeHRM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with this program;
 * if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA  02110-1301, USA
 */
$noOfColumns = sizeof($currentWeekDates);
$width = 450 + $noOfColumns * 75;
echo javascript_include_tag(plugin_web_path('orangehrmTimePlugin', 'js/editTimesheet'));
echo javascript_include_tag(plugin_web_path('orangehrmTimePlugin', 'js/editTimesheetPartial'));
?>

<style type="text/css">
form ol li.largeTextBox textarea {
    width: 365px;
    margin-bottom: 5px;
}
.modal-open form ol li.largeTextBox span.validation-error {
    left: 0;
}    
</style>

<!--<div id="validationMsg"><?php 
echo isset($messageData) ? templateMessage($messageData) : '';
?>
 * Licensed Materials are received. Title to the Licensed Materials and media shall remain
 * vested in OrangeHRM Inc. For the avoidance of doubt title and all intellectual property
 * rights to any design, new software, new protocol, new interface, enhancement, update,
 * derivative works, revised screen text or any other items that OrangeHRM Inc creates for
 * Customer shall remain vested in OrangeHRM Inc. Any rights not expressly granted herein are
 * reserved to OrangeHRM Inc.
 *
 * You should have received a copy of the OrangeHRM Enterprise  proprietary license file along
 * with this program; if not, write to the OrangeHRM Inc. 538 Teal Plaza, Secaucus , NJ 0709
 * to get the file.
 *
 */
?>

<?php 
use_javascript(plugin_web_path('orangehrmAdminPlugin', 'js/viewJobTitleListSuccess'));
?>

<div id="jobTitleList">
    <?php 
include_component('core', 'ohrmList', $parmetersForListCompoment);
?>
</div>

<!-- comment dialog -->

<div id="commentDialog" title="<?php 
echo __('Job Description');
?>
" style="display: none">
    <form action="updateComment" method="post" id="frmCommentSave">
<?php

use_javascript(plugin_web_path('orangehrmRecruitmentPlugin', 'js/viewJobsSuccess'));
?>

<style type="text/css">
    
    #content {
        padding-top: 0;
    }    
    
    pre {
        overflow: auto;
        white-space: pre-wrap;       /* css-3 */
        white-space: -moz-pre-wrap !important;  /* Mozilla, since 1999 */
        white-space: -pre-wrap;      /* Opera 4-6 */
        white-space: -o-pre-wrap;    /* Opera 7 */
        word-wrap: break-word;       /* Internet Explorer 5.5+ */
    }
    
    #toggleJobList {
        float: right;
        margin: -2px 10px 0px 0px;
        font-size: 12px;
    }

    #toggleJobList span {
        text-decoration: underline;
        cursor: pointer; 
    }