本文整理匯總了PHP中Skin::css方法的典型用法代碼示例。如果您正苦於以下問題:PHP Skin::css方法的具體用法?PHP Skin::css怎麽用?PHP Skin::css使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Skin
的用法示例。
在下文中一共展示了Skin::css方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1:
$menu = 'client';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><?php
echo APP_NAME;
?>
• Client List</title>
<?php
include Kohana::find_file('views', 'templates/default/meta');
?>
<link type="text/css" rel="stylesheet" href="<?php
echo Skin::css('client/list');
?>
" />
<script type="text/javascript">
Page = {};
Page.add_url = "<?php
echo URL::site('client/add');
?>
";
Page.edit_url = "<?php
echo URL::site('client/edit/{ID}');
?>
";
Page.delete_url = "<?php
echo URL::site('client/delete/{ID}');
?>
示例2:
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><?php
echo APP_NAME;
?>
• <?php
echo $title;
?>
</title>
<?php
include Kohana::find_file('views', 'templates/default/meta');
?>
<link type="text/css" rel="stylesheet" href="<?php
echo Skin::css('client/edit');
?>
" />
<script type="text/javascript">
$(function() {
$('#CancelBtn').click(function() {
location.href = "<?php
echo $referrer;
?>
";
return false;
});
});
</script>
</head>
示例3:
<?php
include Kohana::find_file('views', 'templates/base/meta');
?>
<link type="text/css" rel="stylesheet" href="<?php
echo Skin::css('default');
?>
" />
示例4:
$menu = 'admin';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><?php
echo APP_NAME;
?>
• Company Profile</title>
<?php
include Kohana::find_file('views', 'templates/default/meta');
?>
<link type="text/css" rel="stylesheet" href="<?php
echo Skin::css('company/profile');
?>
" />
<script type="text/javascript">
$(function() {
$('#EditBtn').click(function() {
location.href = "<?php
echo URL::site("company/edit/{$id}");
?>
";
});
});
</script>
</head>
<body>
示例5:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><?php
echo APP_NAME;
?>
• Login</title>
<?php
include Kohana::find_file('views', 'templates/plain/meta');
?>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link type="text/css" rel="stylesheet" href="<?php
echo Skin::css('session/login');
?>
" />
</head>
<body>
<?php
include Kohana::find_file('views', 'templates/plain/header');
?>
<?php
echo Form::open();
?>
<?php
echo Form::hidden('referrer', $referrer);
?>
示例6:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><?php
echo APP_NAME;
?>
• Dashboard</title>
<?php
include Kohana::find_file('views', 'templates/default/meta');
?>
<link type="text/css" rel="stylesheet" href="<?php
echo Skin::css('dashboard/index');
?>
" />
</head>
<body>
<?php
include Kohana::find_file('views', 'templates/default/header');
?>
<div id="TopBar">
<div class="left-panel">
<h1>Dashboard</h1>
</div>
</div><!--#TopBar-->
<div id="MidPanel" class="has-top">
<div class="section">