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


PHP vendor_style函数代码示例

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


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

示例1: style

/**
 * Copyright (c) 2011, Robin Appelman <icewind1991@gmail.com>
 * This file is licensed under the Affero General Public License version 3 or later.
 * See the COPYING-README file.
 */
/**
 * @var array $_
 * @var \OCP\IL10N $l
 * @var OC_Defaults $theme
 */
style('settings', 'settings');
script('settings', ['settings', 'admin', 'log']);
script('core', ['multiselect', 'setupchecks']);
vendor_script('select2/select2');
vendor_style('select2/select2');
$levels = ['Debug', 'Info', 'Warning', 'Error', 'Fatal'];
$levelLabels = [$l->t('Everything (fatal issues, errors, warnings, info, debug)'), $l->t('Info, warnings, errors and fatal issues'), $l->t('Warnings, errors and fatal issues'), $l->t('Errors and fatal issues'), $l->t('Fatal issues only')];
$mail_smtpauthtype = ['' => $l->t('None'), 'LOGIN' => $l->t('Login'), 'PLAIN' => $l->t('Plain'), 'NTLM' => $l->t('NT LAN Manager')];
$mail_smtpsecure = ['' => $l->t('None'), 'ssl' => $l->t('SSL'), 'tls' => $l->t('TLS')];
$mail_smtpmode = ['php', 'smtp'];
if ($_['sendmail_is_available']) {
    $mail_smtpmode[] = 'sendmail';
}
if ($_['mail_smtpmode'] == 'qmail') {
    $mail_smtpmode[] = 'qmail';
}
?>

<div id="app-navigation">
	<ul>
开发者ID:henkRW,项目名称:core,代码行数:30,代码来源:admin.php

示例2: style

<?php

style('settings', 'settings');
vendor_style('core', ['select2/select2']);
vendor_script('core', ['handlebars/handlebars', 'select2/select2']);
script('settings', ['settings', 'apps']);
/** @var array $_ */
?>
<script id="categories-template" type="text/x-handlebars-template">
{{#each this}}
	<li id="app-category-{{id}}" data-category-id="{{id}}" tabindex="0">
		<a>{{displayName}}</a>
	</li>
{{/each}}

<?php 
if (OC_Config::getValue('appstoreenabled', true) === true) {
    ?>
	<li>
		<a class="app-external" target="_blank" href="https://apps.owncloud.com/?xsortmode=high"><?php 
    p($l->t('More apps'));
    ?>
 …</a>
	</li>
	<li>
		<a class="app-external" target="_blank" href="https://owncloud.org/dev"><?php 
    p($l->t('Developer documentation'));
    ?>
 …</a>
	</li>
<?php 
开发者ID:adolfo2103,项目名称:hcloudfilem,代码行数:31,代码来源:apps.php

示例3: vendor_script

	'multi-select',
	'jquery.ocaddnew',
	'contacts',
	'jquery.Jcrop.min',
));

vendor_script('contacts', array(
	'ui-multiselect/src/jquery.multiselect',
	'blueimp-md5/js/md5.min',
	'jcrop/js/jquery.Jcrop.min',
	'blueimp-file-upload/js/jquery.fileupload',
	'combobox'
));

vendor_style('contacts', array(
	'ui-multiselect/jquery.multiselect',
));

?>
<div id="app">
	<div id="app-navigation" class="loading">
		<ul id="grouplist" class="hidden-on-load">
			<li class="special">
				<a role="button" class="add-contact">
				  <?php p($l->t('New contact')); ?>
				</a>
			</li>
			<li class="special">
				<input class="add-group hidden" type="text" tabindex="0" autofocus placeholder="<?php p($l->t('Group name')); ?>" title="<?php p($l->t('New group')); ?>" />
			</li>
		</ul>
开发者ID:pombredanne,项目名称:ArcherSys,代码行数:31,代码来源:contacts.php

示例4: vendor_script

<?php

vendor_script('user_ldap', 'ui-multiselect/src/jquery.multiselect');
vendor_style('user_ldap', 'ui-multiselect/jquery.multiselect');
script('user_ldap', ['wizard/controller', 'wizard/configModel', 'wizard/view', 'wizard/wizardObject', 'wizard/wizardTabGeneric', 'wizard/wizardTabElementary', 'wizard/wizardTabAbstractFilter', 'wizard/wizardTabUserFilter', 'wizard/wizardTabLoginFilter', 'wizard/wizardTabGroupFilter', 'wizard/wizardTabAdvanced', 'wizard/wizardTabExpert', 'wizard/wizardDetectorQueue', 'wizard/wizardDetectorGeneric', 'wizard/wizardDetectorPort', 'wizard/wizardDetectorBaseDN', 'wizard/wizardDetectorFeatureAbstract', 'wizard/wizardDetectorUserObjectClasses', 'wizard/wizardDetectorGroupObjectClasses', 'wizard/wizardDetectorGroupsForUsers', 'wizard/wizardDetectorGroupsForGroups', 'wizard/wizardDetectorSimpleRequestAbstract', 'wizard/wizardDetectorFilterUser', 'wizard/wizardDetectorFilterLogin', 'wizard/wizardDetectorFilterGroup', 'wizard/wizardDetectorUserCount', 'wizard/wizardDetectorGroupCount', 'wizard/wizardDetectorEmailAttribute', 'wizard/wizardDetectorUserDisplayNameAttribute', 'wizard/wizardDetectorUserGroupAssociation', 'wizard/wizardDetectorAvailableAttributes', 'wizard/wizardDetectorTestAbstract', 'wizard/wizardDetectorTestLoginName', 'wizard/wizardDetectorTestBaseDN', 'wizard/wizardDetectorTestConfiguration', 'wizard/wizardDetectorClearUserMappings', 'wizard/wizardDetectorClearGroupMappings', 'wizard/wizardFilterOnType', 'wizard/wizardFilterOnTypeFactory', 'wizard/wizard']);
style('user_ldap', 'settings');
?>

<form id="ldap" class="section" action="#" method="post">
	<h2><?php 
p($l->t('LDAP'));
?>
</h2>

	<div id="ldapSettings">
	<ul>
		<?php 
foreach ($_['toc'] as $id => $title) {
    ?>
			<li id="<?php 
    p($id);
    ?>
"><a href="<?php 
    p($id);
    ?>
"><?php 
    p($title);
    ?>
</a></li>
		<?php 
}
开发者ID:farukuzun,项目名称:core-1,代码行数:31,代码来源:settings.php

示例5: vendor_script

<?php

include __DIR__ . '/../lib/compat.php';
// Vendor client-side code
vendor_script('chat', 'all.min');
vendor_style('chat', array('emojione/assets/sprites/emojione.sprites', 'emojione/assets/css/emojione.min'));
if (defined('DEBUG') && DEBUG) {
    vendor_script('chat', 'angular-mocks/angular-mocks');
}
// Chat app client-side code
script('chat', 'app.min');
style('chat', 'main.min');
?>

<div
	ng-app="chat"
	ng-click="view.hide('invite', $event, ['invite-no-hide', 'invite-button']);view.hide('files', $event, ['files-no-hide', 'file-element', 'files-button']);view.hide('emojiContainer', $event, ['emoji-no-hide']);"
	ng-controller="ConvController"
	id="app"
	>
	<!-- Variables which are needed to boot up the Chat app in JS-->
	<div style="display:none;" id="initvar">
		<?php 
echo $_['initvar'];
?>
	</div>
	<div
		id="app-navigation"
		ng-cloak
		>
		<?php 
开发者ID:arun-TK,项目名称:chat,代码行数:31,代码来源:main.php

示例6: vendor_style

* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the license, or any later version.
*
* This library 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 AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this library.
* If not, see <http://www.gnu.org/licenses/>.
*
*/
vendor_style('imprint', 'chosen.jquery.min');
vendor_script('imprint', 'chosen.jquery.min');
?>

<?php 
/**
 * @file templates/tmpl_settings.php
 * Dialog to change app settings, to be included in the clouds settings page.
 * @access public
 * @author Christian Reiner
 */
?>


<!-- settings of app 'imprint' -->
<div class="section" id="imprint">
开发者ID:DOM-Digital-Online-Media,项目名称:apps,代码行数:31,代码来源:tmpl_settings.php


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