当前位置: 首页>>代码示例>>PHP>>正文


PHP plugin_web_path函数代码示例

本文整理汇总了PHP中plugin_web_path函数的典型用法代码示例。如果您正苦于以下问题:PHP plugin_web_path函数的具体用法?PHP plugin_web_path怎么用?PHP plugin_web_path使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了plugin_web_path函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: getStylesheets

 /**
  *
  * @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;
 }
开发者ID:lahirwisada,项目名称:orangehrm,代码行数:11,代码来源:ReviewEvaluationAdminForm.php

示例2: printAssetPaths

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;
            }
        }
    }
}
开发者ID:abdocmd,项目名称:orangehrm-3.0.1,代码行数:17,代码来源:_ohrmList.php

示例3: Array

?>
';
    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');
开发者ID:lahirwisada,项目名称:orangehrm,代码行数:31,代码来源:viewImmigrationSuccess.php

示例4: javascript_include_tag

<?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();
开发者ID:lahirwisada,项目名称:orangehrm,代码行数:31,代码来源:viewCompanyStructureSuccess.php

示例5: use_javascripts_for_form

<?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 
开发者ID:lahirwisada,项目名称:orangehrm,代码行数:31,代码来源:viewLeaveBalanceReportSuccess.php

示例6: use_stylesheet

 * 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');
开发者ID:lahirwisada,项目名称:orangehrm,代码行数:31,代码来源:viewEducationSuccess.php

示例7: use_javascript

<?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 
开发者ID:lahirwisada,项目名称:orangehrm,代码行数:30,代码来源:membershipSuccess.php

示例8: javascript_include_tag

 * 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 
开发者ID:CamilleCrespeau,项目名称:orangehrm,代码行数:31,代码来源:viewTimesheetSuccess.php

示例9: use_stylesheets_for_form

<?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');
?>
开发者ID:lahirwisada,项目名称:orangehrm,代码行数:31,代码来源:searchEvaluatePerformancReviewSuccess.php

示例10: use_javascript

 * 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;
?>
开发者ID:abdocmd,项目名称:orangehrm-3.0.1,代码行数:31,代码来源:viewCustomersSuccess.php

示例11: use_stylesheet

 * 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');
开发者ID:andgatetech,项目名称:hrm,代码行数:31,代码来源:degreeSuccess.php

示例12: use_javascript

 * 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 
开发者ID:abdocmd,项目名称:spmillen,代码行数:31,代码来源:viewReportToDetailsSuccess.php

示例13: use_javascript

?>
"/>
                </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');
?>
";
    
//]]>	
开发者ID:abdocmd,项目名称:orangehrm-3.0.1,代码行数:31,代码来源:viewModulesSuccess.php

示例14: getStylesheets

 public function getStylesheets()
 {
     $styleSheets = parent::getStylesheets();
     $styleSheets[plugin_web_path('orangehrmCorePlugin', 'css/ohrmWidgetCheckboxGroup.css')] = 'all';
     return $styleSheets;
 }
开发者ID:lahirwisada,项目名称:orangehrm,代码行数:6,代码来源:ohrmWidgetCheckboxGroup.php

示例15: use_javascript

 * 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">
开发者ID:lahirwisada,项目名称:orangehrm,代码行数:31,代码来源:viewSystemUsersSuccess.php


注:本文中的plugin_web_path函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。