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


PHP Skin::css方法代码示例

本文整理汇总了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;
?>
 &bull; 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}');
?>
开发者ID:stwns,项目名称:lasku,代码行数:31,代码来源:list.php

示例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;
?>
 &bull; <?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>
开发者ID:stwns,项目名称:lasku,代码行数:30,代码来源:edit.php

示例3:

<?php

include Kohana::find_file('views', 'templates/base/meta');
?>
<link type="text/css" rel="stylesheet" href="<?php 
echo Skin::css('default');
?>
" />
开发者ID:stwns,项目名称:lasku,代码行数:8,代码来源:meta.php

示例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;
?>
 &bull; 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>
开发者ID:stwns,项目名称:lasku,代码行数:31,代码来源:profile.php

示例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;
?>
 &bull; 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);
?>
	
开发者ID:stwns,项目名称:lasku,代码行数:30,代码来源:login.php

示例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;
?>
 &bull; 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">
开发者ID:stwns,项目名称:lasku,代码行数:31,代码来源:index.php


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