Show
Ignore:
Timestamp:
09/01/2007 12:22:23 PM (15 months ago)
Author:
Shadowhand
Message:

Removing usage of DIRECTORY_SEPARATOR, it causes some odd issues. Instead, we are normalizing all paths to use forward slashes.

Location:
trunk/modules/user_guide/views/user_guide
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/user_guide/views/user_guide/css/layout.php

    r455 r458  
    1010*/ 
    1111body { background: #f7fbf1; color: #111; font-size: 82%; line-height: 140%; font-family: "Lucida Grande", Arial, Verdana, sans-serif; } 
     12/* Hacks for Firefox and Safari */ 
     13body { text-shadow: 0 0 0 #000; -moz-opacity: 0.999999; } 
    1214a { color: #449; text-decoration: none; } 
    1315h1 { border-bottom: solid 1px #999; font-size: 2.5em; text-align: center; color: #b43f11; } 
     
    2527#menu { position: fixed; top: 0; right: 1.5em; width: 10em; padding: 0.2em 0; } 
    2628#menu ul { margin: 0 0.2em; list-style: none; color: #b43f11; } 
    27 #menu li.first { font-size: 1.4em; padding-top: 0.2em; } 
     29#menu li.first { padding-top: 0.2em; } 
    2830#menu li.active li.lite { color: #b43f11; } 
    29 #menu li ul { padding: 0.1em 0; margin-right: 0; font-size: 0.7em; color: #444; } 
    30 #menu li ul a { color: #333; } 
     31#menu li ul { padding: 0.1em 0; margin-right: 0; color: #444; } 
     32#menu li ul a { padding-left: 0.4em; color: #333; } 
    3133#menu li ul a:hover { font-weight: bold; color: #2f4f14; } 
    32 #menu li span { cursor: pointer; } 
     34#menu li ul li:before { content: "«"; } 
     35#menu li span { text-shadow: 1px 1px 1px #333; font-size: 1.3em; cursor: pointer; } 
    3336#body { padding: 0.3em 1em; background: #fff; } 
    3437#body ol, #body ul { margin: 1em; margin-left: 2.5em; } 
  • trunk/modules/user_guide/views/user_guide/js/effects.php

    r455 r458  
    22$(document).ready(function(){ 
    33        // Menu opacity hover effect, much fancy pants! 
    4         $('#menu').css('opacity', 0.75).hover(function(){ 
    5                 $(this).fadeTo(100, 0.9); 
     4        $('#menu').css('opacity', 0.7).hover(function(){ 
     5                $(this).fadeTo(100, 1); 
    66        }, function(){ 
    77                $(this).fadeTo(300, 0.7) 
  • trunk/modules/user_guide/views/user_guide/menu.php

    r454 r458  
    6060 
    6161?> 
    62 <li class="first<?php echo $active ?>"><span><?= $category ?></span><ul> 
     62<li class="first<?php echo $active ?>"><span><?php echo $category ?></span><ul> 
    6363<?php 
    6464 
     
    6868 
    6969?> 
    70 <li class="<?php echo $active ?>">&laquo; <?php echo html::anchor(strtolower('user_guide/'.$category.'/'.$section), $section) ?></li> 
     70<li class="<?php echo $active ?>"><?php echo html::anchor(strtolower('user_guide/'.$category.'/'.$section), $section) ?></li> 
    7171<?php 
    7272 
  • trunk/modules/user_guide/views/user_guide/template.php

    r451 r458  
    66<title>Kohana User Guide</title> 
    77 
    8 <link type="text/css" rel="stylesheet" href="<?= url::base(TRUE) ?>user_guide/css/layout.css" /> 
     8<link type="text/css" rel="stylesheet" href="<?php echo url::base(TRUE) ?>user_guide/css/layout.css" /> 
    99 
    10 <script type="text/javascript" src="<?= url::base(TRUE) ?>user_guide/js/jquery.js"></script> 
    11 <script type="text/javascript" src="<?= url::base(TRUE) ?>user_guide/js/plugins.js"></script> 
    12 <script type="text/javascript" src="<?= url::base(TRUE) ?>user_guide/js/effects.js"></script> 
     10<script type="text/javascript" src="<?php echo url::base(TRUE) ?>user_guide/js/jquery.js"></script> 
     11<script type="text/javascript" src="<?php echo url::base(TRUE) ?>user_guide/js/plugins.js"></script> 
     12<script type="text/javascript" src="<?php echo url::base(TRUE) ?>user_guide/js/effects.js"></script> 
    1313 
    1414</head> 
     
    1717 
    1818<div id="menu"> 
    19 <?= $menu ?> 
     19<?php echo $menu ?> 
    2020</div> 
    2121 
    2222<!-- @start Body --> 
    2323<div id="body"> 
    24 <?= $content ?> 
     24<?php echo $content ?> 
    2525</div> 
    2626<!-- @end Body --> 
     
    2828<!-- @start Footer --> 
    2929<div id="footer"> 
    30 <p id="copyright">copyright (c) 2007 Kohana Team :: All rights reserved :: Rendered in {execution_time} seconds</p> 
     30<p id="copyright">copyright (c) <?php echo date('Y') ?> Kohana Team :: All rights reserved :: Rendered in {execution_time} seconds</p> 
    3131</div> 
    3232<!-- @end Footer -->