本文整理汇总了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";
}
}
示例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";
}
}
示例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));
}
}
示例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";
}
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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");
}
}
示例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);
示例11: tagcss
function tagcss($nom, $media = 'screen')
{
return '<link rel="stylesheet" type="text/css" media="' . $media . '" href="' . css_url($nom) . '" />';
}
示例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>
示例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';
示例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">
示例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