Show
Ignore:
Timestamp:
03/31/06 11:04:11 (6 years ago)
Author:
john
Message:

Fixed application.phtml

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/trax/vendor/trax/action_controller.php

    r192 r194  
    276276    public $views_file_extention = TRAX_VIEWS_EXTENTION; 
    277277 
     278    /** 
     279     *  Render controllers layout 
     280     * 
     281     *  Can be overridden in the child controller to false 
     282     *  @var boolean 
     283     */ 
     284    public $render_layout = true; 
     285     
    278286    /** 
    279287     *  Whether to keep flash message after displaying it 
     
    521529     */ 
    522530    function process_route() { 
    523  
    524         $render_layout = true; 
     531     
    525532        # First try to load the routes and setup the paths to everything 
    526533        if(!$this->loaded) { 
     
    680687                        if(!$this->controller_object->render_file($layout_file, false, $locals)) { 
    681688                            # No layout template so just echo out whatever is in $content_for_layout 
     689                            echo "HERE"; 
    682690                            echo $content_for_layout;         
    683691                        }