Changeset 1825

Show
Ignore:
Timestamp:
01/26/2008 11:20:25 AM (12 months ago)
Author:
Shadowhand
Message:

Making html:: helper methods not include index.php by default. Most users do not need or want index.php to be included by default.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/helpers/html.php

    r1769 r1825  
    210210         * @return  string 
    211211         */ 
    212         public static function stylesheet($style, $media = FALSE, $index = TRUE) 
     212        public static function stylesheet($style, $media = FALSE, $index = FALSE) 
    213213        { 
    214214                return self::link($style, 'stylesheet', 'text/css', '.css', $media, $index); 
     
    226226         * @return  string 
    227227         */ 
    228         public static function link($href, $rel, $type, $suffix = FALSE, $media = FALSE, $index = TRUE) 
     228        public static function link($href, $rel, $type, $suffix = FALSE, $media = FALSE, $index = FALSE) 
    229229        { 
    230230                $compiled = ''; 
     
    259259         * @return  string 
    260260         */ 
    261         public static function script($script, $index = TRUE) 
     261        public static function script($script, $index = FALSE) 
    262262        { 
    263263                $compiled = ''; 
     
    287287         * @return  string 
    288288         */ 
    289         public static function image($attr = NULL, $index = TRUE) 
     289        public static function image($attr = NULL, $index = FALSE) 
    290290        { 
    291291                if ( ! is_array($attr))