Ignore:
Timestamp:
04/12/10 10:30:47 (14 years ago)
Author:
rodsouza
Message:

Ticket #1009 - Permitindo que o ExpressoNews? não realize reload de página.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/news_admin/inc/class.uinews.inc.php

    r405 r2478  
    9898                        $this->template->set_block('main','row_empty'); 
    9999 
    100                         $GLOBALS['phpgw']->common->phpgw_header(); 
    101                         echo parse_navbar(); 
     100                        //$GLOBALS['phpgw']->common->phpgw_header(); 
     101                        //echo parse_navbar(); 
    102102                        $this->template->set_block('main','category'); 
    103103                        $var['lang_read'] = lang('Read'); 
     
    325325                        $news_id = $_POST['news_id'] ? $_POST['news_id'] : $_GET['news_id']; 
    326326 
    327                         $GLOBALS['phpgw']->common->phpgw_header(); 
    328                         echo parse_navbar(); 
     327                        //$GLOBALS['phpgw']->common->phpgw_header(); 
     328                        //echo parse_navbar(); 
    329329                        $this->template->set_file(array( 
    330330                                'form' => 'admin_delete.tpl' 
     
    407407 
    408408                function modify($type = 'edit') 
    409                 {                         
    410                         include_once("fckeditor.php");                                                 
    411                         $this->news_data['is_html'] = ($type == 'add' ? '1' : $this->news_data['is_html'] );  
     409                { 
     410                        include_once("fckeditor.php"); 
     411                        $this->news_data['is_html'] = ($type == 'add' ? '1' : $this->news_data['is_html'] ); 
    412412                        $options = $this->bo->get_options($this->news_data); 
    413                         $GLOBALS['phpgw']->common->phpgw_header(); 
    414                         echo parse_navbar(); 
     413                        //$GLOBALS['phpgw']->common->phpgw_header(); 
     414                        //echo parse_navbar(); 
    415415 
    416416                        $this->template->set_file(array( 
     
    441441                         
    442442                        $oFCKeditor = new FCKeditor('news[content]') ;                         
    443                         $oFCKeditor->BasePath = 'news_admin/templates/' . ($GLOBALS['phpgw_info']['server']['template_set'] ? $GLOBALS['phpgw_info']['server']['template_set'] : 'default') . '/fckeditor/'; 
     443                        $oFCKeditor->BasePath = $GLOBALS[ 'phpgw' ] -> link( '/news_admin/templates/' . ($GLOBALS['phpgw_info']['server']['template_set'] ? $GLOBALS['phpgw_info']['server']['template_set'] : 'default') . '/fckeditor/' ); 
    444444                        $oFCKeditor->ToolbarSet = 'ExpressoLivre'; 
    445445                        $oFCKeditor->Value = $this->news_data['content'];                                         
     
    482482                        $this->template->set_block('main','row_empty'); 
    483483 
    484                         $GLOBALS['phpgw']->common->phpgw_header(); 
    485                         echo parse_navbar(); 
     484                        //$GLOBALS['phpgw']->common->phpgw_header(); 
     485                        //echo parse_navbar(); 
    486486                         
    487487                        $category_list = $this->selectlist('write', (int)$this->news_data['category']); 
Note: See TracChangeset for help on using the changeset viewer.