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/modules/user_guide/controllers/user_guide.php

    r485 r486  
    4141                $content  = rtrim('user_guide/'.$locale.'content/'.$category.'/'.$section, '/'); 
    4242 
    43                 $template          = $this->load->view('user_guide/'.$locale.'template'); 
    44                 $template->menu    = $this->load->view('user_guide/'.$locale.'menu', array('active_category' => $category, 'active_section' => $section)); 
    45                 $template->content = $this->load->view($content)->render(FALSE, array($this, '_tags')); 
    46  
    4743                // Display output 
    48                 $template->render(TRUE); 
     44                $this->load->view('user_guide/'.$locale.'template', array 
     45                ( 
     46                        'active_category' => $category, 
     47                        'active_section'  => $section, 
     48                        'content'         => $this->load->view($content)->render(FALSE, array($this, '_tags')) 
     49                ))->render(TRUE); 
    4950        } 
    5051