Show
Ignore:
Timestamp:
09/03/2007 08:49:02 PM (15 months ago)
Author:
Shadowhand
Message:

A few small changes:

  • Added html::script() and html::stylesheet()
  • Updated Kohana::lang() to use foo.bar syntax, like Event and Config
  • Fixed the View class' output callback handling
  • Removed AJAX spinner
  • Updated User Guide effects to use an easing for animations, and call prettyPrint() only when there are elements to be highlighted
  • Updated User Guide layout to remove AJAX-related styles
  • Updated User Guide template to be i18n compatible, the same template can be used for every language
  • Removed User Guide menu template, in favor of building the menu in the template
  • Added i18n directory for the User Guide, for localized strings (title, copyright, menu)
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/View.php

    r475 r486  
    106106 
    107107                        // Pass the output through the user defined renderer 
    108                         if ($renderer == TRUE AND is_callable($renderer, FALSE, $renderer)) 
     108                        if ($renderer == TRUE AND is_callable($renderer, TRUE)) 
    109109                        { 
    110                                 $output = $renderer($output); 
     110                                $output = call_user_func($renderer, $output); 
    111111                        } 
    112112