Controller_Shindig_Admin::after PHP Method

after() public method

public after ( )
    public function after()
    {
        if ($this->auto_render) {
            $this->template->styles = array('shindig/media/css/screen.css' => 'screen', 'shindig/media/css/style.css' => 'screen');
            $this->template->scripts = array('shindig/media/tinymce/tiny_mce.js', 'http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js');
            if ($this->request->action == 'create' or $this->request->action == 'update') {
                array_push($this->template->scripts, 'shindig/media/js/post_edit.js');
            }
            if ($this->user) {
                $this->template->menu = array(Route::get('shindig/admin')->uri() => __('List Posts'), Route::get('shindig/admin')->uri(array('action' => 'create')) => __('New Post'));
                $this->template->menu_b = array(Route::get('shindig/admin')->uri(array('action' => 'logout')) => __('Logout'));
            }
        }
        parent::after();
    }