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


PHP css_url函数代码示例

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


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

示例1: ssfa_add_custom_css

function ssfa_add_custom_css()
{
    $ssfa_customcss = ssfa_customcss();
    if (!empty($ssfa_customcss)) {
        echo "\n<!-- File Away Custom CSS Begins -->\n<style type=\"text/css\">\n@import url('" . css_url() . "?" . filemtime(css_path()) . "');\n\n</style>\n<!-- File Away Custom CSS Concludes -->\n";
    }
}
开发者ID:USSLomaPrieta,项目名称:usslomaprieta.org,代码行数:7,代码来源:ssfa-custom-css.php

示例2: add_my_custom_css

function add_my_custom_css()
{
    $mycustomcss = mycustomcss();
    if (!empty($mycustomcss)) {
        // Write in source!
        echo "\n<!-- My Custom CSS Start -->\n<style type=\"text/css\">\n/* Plugin Author: Salvatore Noschese */\n@import url('" . css_url() . "?" . filemtime(css_path()) . "');\n/* Also known as: DarkWolf - http://www.darkwolf.it/ */\n</style>\n<!-- My Custom CSS End -->\n";
    }
}
开发者ID:LdyNailih,项目名称:RespaldoServidor,代码行数:8,代码来源:my-custom-css.php

示例3: css_push

 public function css_push($e)
 {
     if ($this->css_url != '') {
         array_push($this->cssfiles, $this->css_url . $e . '.css');
     } else {
         array_push($this->cssfiles, css_url($e));
     }
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:8,代码来源:File.Class.php

示例4: mycustomcss_head

function mycustomcss_head()
{
    $mycustomcss = mycustomcss();
    if (!empty($mycustomcss)) {
        // Write in source!
        echo "\n<!-- My Custom CSS -->\n<link rel='stylesheet' id='mccss_stylesheet' href='" . css_url() . "?" . @filemtime(css_path()) . "' type='text/css' media='all' />\n<!-- My Custom CSS -->\n";
    }
}
开发者ID:olechka1505,项目名称:hungrylemur,代码行数:8,代码来源:my-custom-css.php

示例5: ajouter_css

 public function ajouter_css($nom)
 {
     if (is_string($nom) and !empty($nom) and file_exists('./assets/css/' . $nom . '.css')) {
         $this->var['css'][] = css_url($nom);
         return true;
     }
     return false;
 }
开发者ID:erwan-neel,项目名称:easy_cooking,代码行数:8,代码来源:Layout.php

示例6: get_default_css

function get_default_css()
{
    $css = array();
    $css[] = css_url('bootstrap.min');
    $css[] = plugin_asset_url('font-awesome/css/font-awesome.css');
    $css[] = css_url('sb-admin');
    return $css;
}
开发者ID:bishopgodsey,项目名称:cathedral,代码行数:8,代码来源:default_helper.php

示例7: add_css

 public function add_css($file_name)
 {
     if (is_string($file_name) and !empty($file_name)) {
         if (file_exists('./assets/css/' . $file_name) or file_exists('./assets/css/' . $file_name . '.css')) {
             $this->params['css'][] = css_url($file_name);
             return true;
         }
         return false;
     }
     return false;
 }
开发者ID:bishopgodsey,项目名称:cathedral,代码行数:11,代码来源:layout.php

示例8: css

 /**
  * Generates a link tag
  *
  * @access  public
  * @param   string
  * @param   string
  * @return  string
  */
 function css($file = null, $media = false)
 {
     // Load functions_helper if not loaded
     if (!function_exists('css_url')) {
         _ci()->load->helper('functions');
     }
     if ($file) {
         $tag = '<link rel="stylesheet" type="text/css" href="' . css_url($file) . '"';
         if ($media) {
             $tag .= ' media="' . $media . '"';
         }
         $tag .= ' />';
         return $tag;
     }
     return false;
 }
开发者ID:bkader,项目名称:CodeIgniter-Extended,代码行数:24,代码来源:asset_helper.php

示例9: updatetheme_select

 public function updatetheme_select()
 {
     if ($this->input->post()) {
         $color = $this->input->post('color');
         $data['status'] = 1;
         $this->db->update('theme_select', array('status' => '0'));
         $this->db->where('color', $color);
         $this->db->update('theme_select', $data);
         $data['get_table'] = $this->db->get("theme_select");
         $data['color'] = $color;
         copy(css_url() . "/map_icons/map_pins_sprite_001.png", FCPATH . "images/map_icons/map_pins_sprite_001.png");
         copy(css_url() . "/logo/logo.png", FCPATH . "logo/logo.png");
         $this->recurse_copy(FCPATH . "css_" . $color . "/templates/blue/overwrite_images", FCPATH . "images/");
         $data['message'] = translate_admin("Updated Successfully");
         $data['message_element'] = "administrator/viewtheme_select";
         $this->load->view('administrator/admin_template', $data);
     } else {
         redirect(admin_url() . "/theme_select/viewtheme_select");
     }
 }
开发者ID:BersnardC,项目名称:DROPINN,代码行数:20,代码来源:theme_select.php

示例10: img_url

<html>
<head>
  <link rel="icon" href="<?php 
echo img_url('favicon.jpg');
?>
">
  <title><?php 
echo $PAGE_TITLE;
?>
</title>
  <link rel="stylesheet" type="text/css" href="<?php 
echo css_url('prints.css');
?>
">
</head>
<body>
  <?php 
echo $CONTENT;
?>
  <script type="text/javascript" src="<?php 
echo js_url('jquery-1.11.3.min.js');
?>
"></script>
  <script type="text/javascript">
    $(function(){
      setTimeout(function(){
        window.print();
      }, 1);
      // setTimeout(function(){
      //   window.close();
      // }, 2);
开发者ID:dedetrisnandar,项目名称:simonro,代码行数:31,代码来源:prints.php

示例11: tagcss

 function tagcss($nom, $media = 'screen')
 {
     return '<link rel="stylesheet" type="text/css" media="' . $media . '" href="' . css_url($nom) . '" />';
 }
开发者ID:keyanmca,项目名称:webtv,代码行数:4,代码来源:assets_helper.php

示例12: css_url

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>選單維護</title>

    <!-- Bootstrap Core CSS -->
    <link href="<?php 
echo css_url("bootstrap.min.css");
?>
" rel="stylesheet">
    <link href="<?php 
echo css_url("maintain_menu/bootstrap-combined.min.css");
?>
" rel="stylesheet">
    <!-- jQuery -->
    <script src="<?php 
echo js_url("jquery2.0.2.js");
?>
"></script>
    <script src="<?php 
echo js_url("bootstrap.min.js");
?>
"></script>
    <script src="<?php 
echo js_url("public_program/classes.js");
?>
"></script>
开发者ID:RickChaos,项目名称:manage-rick-chaos.huhu.tw,代码行数:30,代码来源:classes_add.php

示例13: css_url

<!-- Required css stylesheets -->
<link href="<?php 
echo css_url() . '/dashboard.css';
?>
" media="screen" rel="stylesheet" type="text/css" />
<!-- End of stylesheet inclusion -->
<?php 
$this->load->view(THEME_FOLDER . '/includes/dash_header');
$this->load->view(THEME_FOLDER . '/includes/profile_header');
?>
<div id="dashboard_container" class="view_Reviews_Common">
    <div class="Box" id="View_Reviews">
        <div class="Box_Head msgbg">
            <h2><?php 
echo translate("Reviews & Recommendations");
?>
</h2>
        </div>
        <div class="Box_Content">
            <p><?php 
echo translate("Reviews are allowed only at the end of a trip booked through");
?>
 <?php 
echo $this->dx_auth->get_site_title();
?>
. </p>
            <p><?php 
echo translate("Recommendations are earned by inviting your friends to vouch for you.");
?>
 <a  href="<?php 
echo base_url() . 'users/recommendation';
开发者ID:empotix,项目名称:travelo,代码行数:31,代码来源:view_reviews.php

示例14: css_url

    <title>OCCI Sacramental Register</title>

    <!-- Core CSS - Include with every page -->
    <link href="<?php 
echo css_url('bootstrap.min');
?>
" rel="stylesheet">
    <link href="<?php 
echo plugin_asset_url('font-awesome/css/font-awesome.css');
?>
" rel="stylesheet">

    <!-- SB Admin CSS - Include with every page -->
    <link href="<?php 
echo css_url('sb-admin');
?>
" rel="stylesheet">

</head>

<body>

    <div class="container">
        <div class="row">
            <div class="col-md-4 col-md-offset-4">
                <div class="login-panel panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">Please Sign In</h3>
                    </div>
                    <div class="panel-body">
开发者ID:bishopgodsey,项目名称:cathedral,代码行数:30,代码来源:login_view.php

示例15: css_url

<link href="<?php 
echo css_url() . '/reservation.css';
?>
" media="screen" rel="stylesheet" type="text/css" />
<div class="container_bg clearfix" id="Conversation_Blk" >
    <div class="Convers_left clsFloatLeft">
        <div class="Box">

            <div class="Box_Content">
                <div class="clsConever_Bred">
                    <ul class="clearfix">
                        <li><a href="<?php 
echo site_url('message/inbox');
?>
"><?php 
echo translate("Inbox");
?>
</a></li>
                        <li><h3><?php 
echo translate("Conversation with");
?>
 <?php 
echo ucfirst($conv_userData->username);
?>
.</h3></li>
                    </ul>
                    <div style="clear:both"></div>
                </div>
                <div class="clsConver_Porfile_Blk clearfix">
                    <div class="clsConver_Pro_Img clsFloatLeft">
                        <a href="javascript:void(0);"><img height="68" width="68" src="<?php 
开发者ID:empotix,项目名称:travelo,代码行数:31,代码来源:view_conversation.php


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