Show
Ignore:
Timestamp:
09/01/2007 05:04:16 PM (15 months ago)
Author:
Shadowhand
Message:

Small changes:

  • Added config/mimes.php
  • Updated View class to use mimes to determine the header to send
  • Fixed User Guide special tags callback
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/user_guide/controllers/user_guide.php

    r464 r466  
    6262                                url::redirect($ajax_return); 
    6363                         
    64                         $this->data['menu'] = $this->load->view('user_guide/menu', array('active_category' => $category, 'active_section' => $section)); 
    65                         $this->data['content'] = $this->load->view($content)->render(FALSE, 'Markdown'); 
     64                        $template = $this->load->view('user_guide/template'); 
     65                        $template->menu   = $this->load->view('user_guide/menu', array('active_category' => $category, 'active_section' => $section)); 
     66                        $template->content = $this->load->view($content)->render(FALSE, 'Markdown'); 
    6667 
    6768                        // Display output 
    68                         $this->load->view('user_guide/template', $this->data)->render(TRUE); 
     69                        $template->render(TRUE); 
    6970                } 
    7071        }