• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP plugin_web_path函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: javascript_include_tag

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


示例17: use_javascript

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


示例18: 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/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');
?>
">
            
开发者ID:lahirwisada,项目名称:orangehrm,代码行数:30,代码来源:viewTerminationReasonsSuccess.php


示例19: use_javascript

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


示例20: javascript_include_tag

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



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP plugins_api函数代码示例发布时间:2022-05-15
下一篇:
PHP plugin_types函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap