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


PHP queue_css_url函数代码示例

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


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

示例1: viewerHead

 /**
  * Queue header scripts
  *
  * Queues script libraries and stylesheets to include in header
  *
  * @return null
  */
 public function viewerHead($params)
 {
     $libUrl = absolute_url('plugins/MultimediaDisplay/libraries/mediaelement/build/');
     $libUrl = str_replace('admin/', '', $libUrl);
     queue_js_url($libUrl . 'mediaelement-and-player.min.js');
     queue_css_url($libUrl . 'mediaelementplayer.css');
 }
开发者ID:bijanisa,项目名称:MultimediaDisplay,代码行数:14,代码来源:MediaElementViewer.php

示例2: hookAdminHead

 public function hookAdminHead()
 {
     $request = Zend_Controller_Front::getInstance()->getRequest();
     if ($request->getModuleName() == 'default' && $request->getControllerName() == 'plugins' && $request->getActionName() == 'config' && $request->getParam('name') == 'SocialBookmarking') {
         queue_css_url('http://cache.addthiscdn.com/icons/v1/sprites/services.css');
     }
 }
开发者ID:regan008,项目名称:WearingGayHistory-Plugins,代码行数:7,代码来源:SocialBookmarkingPlugin.php

示例3: hookExhibitBuilderPageHead

 public function hookExhibitBuilderPageHead($args)
 {
     if (array_key_exists('mosaic', $args['layouts'])) {
         queue_js_url(url('/plugins/Mosaic/highslide/highslide-full.js'));
         queue_css_url(url('/plugins/Mosaic/highslide/highslide.css'));
         queue_js_string("\$ = jQuery");
         $graphicsDir = url('/plugins/Mosaic/highslide/graphics/');
         queue_js_string("\n                    jQuery(document).ready(function() {\n                        hs.graphicsDir ='{$graphicsDir}';\n                    })\n            ");
     }
 }
开发者ID:ExpoBUS,项目名称:Mosaic,代码行数:10,代码来源:MosaicPlugin.php

示例4: auto_discovery_link_tags

">
    <?php 
}
?>

    <?php 
echo auto_discovery_link_tags();
?>
    <?php 
fire_plugin_hook('public_head', array('view' => $this));
?>

    <?php 
queue_css_url('https://lib.bgsu.edu/assets/css/font-awesome.css');
queue_css_url('https://lib.bgsu.edu/assets/css/photoswipe.css');
queue_css_url('https://lib.bgsu.edu/assets/css/photoswipe/default-skin.css');
queue_js_url('https://lib.bgsu.edu/assets/js/photoswipe.js');
queue_js_url('https://lib.bgsu.edu/assets/js/photoswipe-ui-default.js');
queue_js_url('https://lib.bgsu.edu/assets/js/typogr.js');
$style = (include __DIR__ . '/../style/' . get_theme_option('style') . '.php');
echo head_css();
echo head_js();
?>
</head>
<?php 
echo body_tag(array('id' => @$bodyid, 'class' => @$bodyclass));
?>
    <a href="#content" id="skipnav" class="sr-only sr-only-focusable"><?php 
echo __('Skip to main content');
?>
</a>
开发者ID:BGSU-LITS,项目名称:omeka-theme-bgsu,代码行数:31,代码来源:header.php

示例5: queue_css_url

<?php

//<!-- LiquidSlider scripts with items/show -->
queue_css_url(WEB_ROOT . '/themes/seasons-ahp/liquidslider/css/liquid-slider.css');
queue_js_url(WEB_ROOT . '/themes/seasons-ahp/javascripts/jquery/1.9.1/jquery.min.js');
queue_js_url(WEB_ROOT . '/themes/seasons-ahp/liquidslider/js/jquery.easing.1.3.js');
queue_js_url(WEB_ROOT . '/themes/seasons-ahp/liquidslider/js/jquery.touchSwipe.min.js');
queue_js_url(WEB_ROOT . '/themes/seasons-ahp/liquidslider/js/jquery.liquid-slider.min.js');
$js = "\n\t\t\$(function(){\n      /* Here is the slider using default settings */\n      \$('#slider-id').liquidSlider();\n      /* If you want to adjust the settings, you set an option\n         as follows:\n          \$('#slider-id').liquidSlider({\n            autoSlide:false,\n            autoHeight:false\n          });\n\n         Find more options at http://liquidslider.kevinbatdorf.com/\n      */\n      /* If you need to access the internal property or methods, use this:\n      var sliderObject = \$.data( \$('#slider-id')[0], 'liquidSlider');\n      console.log(sliderObject);\n      */\n    });\n";
queue_js_string($js);
echo head(array('title' => metadata('item', array('Dublin Core', 'Title')), 'bodyclass' => 'items show'));
?>

<h1><?php 
echo metadata('item', array('Dublin Core', 'Title'));
?>
</h1>
<!-- Liquid Slider Begins Here-->
    <?php 
if (get_theme_option('Item FileGallery') == 0 && metadata('item', 'has files')) {
    $attrs = array('wrapper' => array('id' => 'slider-id', 'class' => 'liquid-slider'));
    echo custom_item_image_gallery($attrs);
}
?>
<!-- Liquid Slider Ends Here -->

<div id="primary">

    <?php 
echo all_element_texts('item');
?>
开发者ID:pcouchet,项目名称:seasons-ahp,代码行数:31,代码来源:show.old.php

示例6: auto_discovery_link_tags

    <?php 
echo auto_discovery_link_tags();
?>

    <!-- Plugin Stuff -->
    <?php 
fire_plugin_hook('public_head', array('view' => $this));
?>

    <!-- Stylesheets -->
    <!-- Le styles -->
    <?php 
queue_css_url('http://fonts.googleapis.com/css?family=Oxygen');
queue_css_url('http://fonts.googleapis.com/css?family=Inconsolata');
queue_css_url('http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css');
queue_css_file(array('bootstrap_journal', 'font-awesome', 'style', 'ol', 'custom', 'small_nav'));
echo head_css();
?>

    <!-- JavaScripts -->
    <?php 
// jQuery is enabled by default in Omeka and in most themes.
// queue_js_url('https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js');
// queue_js_url('https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js');
queue_js_file(array('bootstrap.min', 'jquery.bxSlider.min'));
echo head_js();
?>
</head>

<?php 
开发者ID:HCDigitalScholarship,项目名称:ticha-scribe,代码行数:30,代码来源:header.php

示例7: http_build_query

// Builds query string appended to requests for Bootstrap CSS.
$theme_query = http_build_query(array('brand-primary' => '#F1596C', 'headings-font-family' => "'Varela Round',sans-serif"), '', '&');
// Defines style settings for the theme.
$theme_style = array('logo' => array('header' => '<img width="290" height="42" class="logo-header"' . ' src="' . img('logo/em.png') . '"' . ' alt="' . __('Enacted Metadata - ' . 'Special Collections Brought to Life') . '">', 'navbar' => false, 'footer' => '<img width="190" height="50" class="logo-footer"' . ' src="https://lib.bgsu.edu/assets/img/ul-black.svg"' . ' alt="' . __('BGSU University Libraries') . '">'), 'home' => array('header' => false, 'navbar' => false, 'footer' => false), 'search' => false, 'navbar' => true, 'footer' => true, 'item' => array('browse' => array('sort' => array('Dublin Core,Title' => __('Title'), 'added' => __('Date Added')), 'picture' => true, 'elements' => false, 'description' => true, 'tags' => __('Tags:')), 'show' => array('pictures' => __('Files'), 'elements' => true, 'files' => false, 'collection' => false, 'tags' => __('Tags'), 'citation' => __('Citation'))));
// Make changes to theme if displayed as part of a collection or exhibit.
if (!empty($exhibit)) {
    // Change home to exhibit homepage.
    $theme_style['home']['header'] = record_url($exhibit);
    // Change navigation to top pages of the exhibit.
    $theme_style['navbar'] = __DIR__ . '/../nav/exhibit-pages.php';
} elseif (!empty($collection)) {
    // Change home to collection homepage.
    $theme_style['home']['header'] = record_url($collection);
    // Change navbar to link to ways of viewing collection.
    $theme_style['navbar'] = __DIR__ . '/../nav/items.php';
    // Change page search to search across collection.
    $theme_style['search'] = array('collection' => $collection->id);
}
// Load Bootstrap and Bootstrap theme files with appropriate variables.
queue_css_url('https://lib.bgsu.edu/assets/theme/bootstrap.css?' . $theme_query);
queue_css_url('https://lib.bgsu.edu/assets/theme/bootstrap-theme.css?' . $theme_query);
// Load main CSS file for the theme.
queue_css_file('theme');
// Load CSS file for this style.
queue_css_url('https://fonts.googleapis.com/css?family=Varela+Round');
queue_css_file('style/em');
// Load Javascript files for Bootstrap and the theme.
queue_js_url('https://lib.bgsu.edu/assets/js/bootstrap.js');
queue_js_file('theme');
// Return style information.
return $theme_style;
开发者ID:BGSU-LITS,项目名称:omeka-theme-bgsu,代码行数:31,代码来源:em.php

示例8: viewerHead

 /**
  * Queue header scripts
  *
  * Queues script libraries and stylesheets to include in header
  *
  * @return null
  */
 public function viewerHead($params)
 {
     $libDir = dirname(dirname(dirname(__FILE__))) . '/libraries/ohmsviewer/';
     $config = parse_ini_file($libDir . "config/config.ini", true);
     if (empty($params['cacheFileName'])) {
         throw new Exception('Item cannot be displayed. No cache file specified for Ohms Viewer.');
         return;
     }
     $cachefile = is_array($params['cacheFileName']) ? $params['cacheFileName'][0] : $params['cacheFileName'];
     require_once $libDir . 'lib/CacheFile.class.php';
     $liburl = absolute_url('/plugins/MultimediaDisplay/libraries/ohmsviewer/');
     $liburl = str_replace('admin/', '', $liburl);
     $cssurl = $liburl . 'css/';
     $jsurl = $liburl . 'js/';
     //queue_css_url($cssurl.$config['css']);
     queue_css_url($cssurl . 'viewer.css');
     queue_css_url($cssurl . 'jquery-ui.toggleSwitch.css');
     queue_css_url($cssurl . 'jquery-ui-1.8.16.custom.css');
     queue_css_url($cssurl . 'font-awesome.css');
     queue_css_url($cssurl . 'jquery.fancybox.css');
     queue_css_url($cssurl . 'jquery.fancybox-buttons.css');
     queue_css_url($cssurl . 'jquery.fancybox-thumbs.css');
     queue_css_url($cssurl . 'jplayer.blue.monday.css');
     queue_js_url('//ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js');
     queue_js_url($jsurl . 'jquery-ui.toggleSwitch.js');
     queue_js_url($jsurl . 'viewer_legacy.js');
     queue_js_url($jsurl . 'jquery.jplayer.min.js');
     queue_js_url($jsurl . 'jquery.easing.1.3.js');
     queue_js_url($jsurl . 'jquery.scrollTo-min.js');
     queue_js_url($jsurl . 'fancybox_2_1_5/source/jquery.fancybox.pack.js');
     queue_js_url($jsurl . 'fancybox_2_1_5/source/helpers/jquery.fancybox-buttons.js');
     queue_js_url($jsurl . 'fancybox_2_1_5/source/helpers/jquery.fancybox-media.js');
     queue_js_url($jsurl . 'fancybox_2_1_5/source/helpers/jquery.fancybox-thumbs.js');
 }
开发者ID:bijanisa,项目名称:MultimediaDisplay,代码行数:41,代码来源:OhmsViewer.php

示例9: http_build_query

// Builds query string appended to requests for Bootstrap CSS.
$theme_query = http_build_query(array('brand-primary' => '#ff7300', 'headings-font-family' => "Georgia,'Times New Roman',serif"), '', '&');
// Defines style settings for the theme.
$theme_style = array('logo' => array('header' => '<img width="300" height="124" class="logo-header"' . ' src="' . img('logo/ccam.png') . '"' . ' alt="' . __('Cochrane Cunningham Archive & Museum') . '">', 'navbar' => false, 'footer' => '<img width="190" height="50" class="logo-footer"' . ' src="https://lib.bgsu.edu/assets/img/ul-white.svg"' . ' alt="' . __('BGSU University Libraries') . '">'), 'home' => array('header' => false, 'navbar' => false, 'footer' => false), 'search' => false, 'navbar' => true, 'footer' => true, 'item' => array('browse' => array('sort' => array('Dublin Core,Title' => __('Title'), 'added' => __('Date Added')), 'picture' => true, 'elements' => false, 'description' => true, 'tags' => __('Tags:')), 'show' => array('pictures' => __('Files'), 'elements' => true, 'files' => false, 'collection' => false, 'tags' => __('Tags'), 'citation' => __('Citation'))));
// Make changes to theme if displayed as part of a collection or exhibit.
if (!empty($exhibit)) {
    // Change home to exhibit homepage.
    $theme_style['home']['header'] = record_url($exhibit);
    // Change navigation to top pages of the exhibit.
    $theme_style['navbar'] = __DIR__ . '/../nav/exhibit-pages.php';
} elseif (!empty($collection)) {
    // Change home to collection homepage.
    $theme_style['home']['header'] = record_url($collection);
    // Change navbar to link to ways of viewing collection.
    $theme_style['navbar'] = __DIR__ . '/../nav/items.php';
    // Change page search to search across collection.
    $theme_style['search'] = array('collection' => $collection->id);
}
// Load Bootstrap and Bootstrap theme files with appropriate variables.
queue_css_url('https://lib.bgsu.edu/assets/theme/bootstrap.css?' . $theme_query);
queue_css_url('https://lib.bgsu.edu/assets/theme/bootstrap-theme.css?' . $theme_query);
// Load main CSS file for the theme.
queue_css_file('theme');
// Load CSS file for this style.
queue_css_file('style/ccam');
// Load Javascript files for Bootstrap and the theme.
queue_js_url('https://lib.bgsu.edu/assets/js/bootstrap.js');
queue_js_file('theme');
// Return style information.
return $theme_style;
开发者ID:BGSU-LITS,项目名称:omeka-theme-bgsu,代码行数:30,代码来源:ccam.php

示例10: auto_discovery_link_tags

</title>

    <?php 
echo auto_discovery_link_tags();
?>

    <!-- Plugin Stuff -->
    <?php 
fire_plugin_hook('public_head', array('view' => $this));
?>

    <!-- Stylesheets -->
    <!-- Le styles -->
    <?php 
queue_css_url('http://fonts.googleapis.com/css?family=Oxygen');
queue_css_url('http://fonts.googleapis.com/css?family=Inconsolata');
queue_css_file(array('bootstrap', 'font-awesome', 'style', 'ol'));
echo head_css();
?>

    <!-- JavaScripts -->
    <?php 
// jQuery is enabled by default in Omeka and in most themes.
// queue_js_url('https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js');
// queue_js_url('https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js');
queue_js_file(array('jquery.bxSlider.min'));
echo head_js();
?>
    <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
    <link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
    <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
开发者ID:pulibrary,项目名称:Scribe,代码行数:31,代码来源:header.php

示例11: auto_discovery_link_tags

    <?php 
echo auto_discovery_link_tags();
?>

    <!-- Plugin Stuff -->

    <?php 
fire_plugin_hook('public_head', array('view' => $this));
?>


    <!-- Stylesheets -->
    <?php 
queue_css_file(array('iconfonts', 'style'));
queue_css_url('//fonts.googleapis.com/css?family=PT+Serif:400,700,400italic,700italic');
echo head_css();
echo theme_header_background();
?>

    <?php 
($backgroundColor = get_theme_option('background_color')) || ($backgroundColor = "#FFFFFF");
($textColor = get_theme_option('text_color')) || ($textColor = "#444444");
($linkColor = get_theme_option('link_color')) || ($linkColor = "#888888");
($buttonColor = get_theme_option('button_color')) || ($buttonColor = "#000000");
($buttonTextColor = get_theme_option('button_text_color')) || ($buttonTextColor = "#FFFFFF");
($titleColor = get_theme_option('header_title_color')) || ($titleColor = "#000000");
?>
    <style>
        body {
            background-color: <?php 
开发者ID:patrickmj,项目名称:default-mod,代码行数:30,代码来源:header.php

示例12: auto_discovery_link_tags

    <?php 
echo auto_discovery_link_tags();
?>

    <!-- Plugin Stuff -->

    <?php 
fire_plugin_hook('public_head', array('view' => $this));
?>


    <!-- Stylesheets -->
    <?php 
queue_css_file('style');
queue_css_url('http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700|Gafata&subset=latin,latin-ext');
echo head_css();
echo theme_header_background();
?>
    <style>
        #site-title a:link, #site-title a:visited,
        #site-title a:active, #site-title a:hover {
            color: #<?php 
echo ($titleColor = get_theme_option('header_title_color')) ? $titleColor : "000000";
?>
;
            <?php 
if (get_theme_option('header_background')) {
    ?>
            text-shadow: 0px 0px 20px #000;
            <?php 
开发者ID:kirschbombe,项目名称:cesaire_omeka_theme,代码行数:30,代码来源:header.php

示例13: auto_discovery_link_tags

    <?php 
echo auto_discovery_link_tags();
?>

<!-- Plugin Stuff -->

    <?php 
fire_plugin_hook('public_head', array('view' => $this));
?>


<!-- Stylesheets -->
    <?php 
queue_css_file('normalize');
queue_css_file('style');
queue_css_url('http://fonts.googleapis.com/css?family=Crimson+Text|Allerta');
echo head_css();
echo theme_header_background();
?>
	
<!-- JavaScripts -->
	<?php 
queue_js_file('modernizr');
?>
	<?php 
queue_js_file('selectivizr-min');
?>
	<?php 
queue_js_file('respond.min');
?>
	<?php 
开发者ID:ricofreak,项目名称:omekaArchiveProject,代码行数:31,代码来源:header.php

示例14: implode

echo implode(' &middot; ', $titleParts);
?>
</title>

    <?php 
echo auto_discovery_link_tags();
?>

    <!-- Plugin Stuff -->
    <?php 
fire_plugin_hook('public_head', array('view' => $this));
?>

    <!-- Stylesheets -->
    <?php 
queue_css_url('//fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic|Droid+Serif:400,700|Oxygen:400');
//queue_css_file('normalize');
queue_css_file('bootstrap/css/bootstrap', 'screen');
queue_css_file('style', 'screen');
queue_css_file('print', 'print');
echo head_css();
?>

    <!-- JavaScripts -->
    <?php 
queue_js_file('vendor/modernizr');
?>
    <?php 
queue_js_file('vendor/selectivizr');
?>
    <?php 
开发者ID:rameysar,项目名称:OmekaGrinnellTheme-RomanCiv,代码行数:31,代码来源:header.php

示例15: hookPublicHead

 public function hookPublicHead($args)
 {
     queue_js_url("//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js");
     queue_css_url('//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.css');
     queue_css_file('geolocation-marker');
     queue_js_file('map');
 }
开发者ID:BL-Labs,项目名称:Geolocation,代码行数:7,代码来源:GeolocationPlugin.php


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