示例#1
0
文件: jquery.php 项目: swk/bluebox
 /**
  * Set the jquery skin to use
  *
  * @param string skin_name
  * @return bool success
  * @author K Anderson
  */
 public static function setSkin($skinName = '')
 {
     if (!empty($skinName) && is_dir(getcwd() . '/assets/css/jquery/' . $skinName . '/')) {
         jquery::$skinName = $skinName;
         return true;
     } else {
         return false;
     }
 }
示例#2
0
文件: layout.php 项目: swk/bluebox
<?php

jquery::$skinName = 'dot-luv';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

        <?php 
echo $meta;
?>

        <title><?php 
echo $title;
?>
</title>
        
        <link rel="stylesheet" type="text/css" href="<?php 
echo url::base();
?>
skins/darkness/assets/css/reset.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="<?php 
echo url::base();
?>
skins/darkness/assets/css/layout.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="<?php 
echo url::base();
?>
skins/darkness/assets/css/navigation.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="<?php