Changeset 2478


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.

Location:
trunk
Files:
4 edited

Legend:

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

    r49 r2478  
    5050                        } 
    5151 
    52                         $GLOBALS['phpgw']->common->phpgw_header(); 
    53                         echo parse_navbar(); 
     52                        //$GLOBALS['phpgw']->common->phpgw_header(); 
     53                        //echo parse_navbar(); 
    5454 
    5555                        if ($_POST['btnSave']) 
  • 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']); 
  • trunk/news_admin/index.php

    r49 r2478  
    1717        $GLOBALS['phpgw_info']['flags'] = array( 
    1818                'currentapp' => 'news_admin', 
    19                 'noheader' => True, 
    20                 'nonavbar' => True, 
     19                //'noheader' => True, 
     20                //'nonavbar' => True, 
    2121        ); 
    2222        include('../header.inc.php'); 
  • trunk/phpgwapi/js/tools/xlink.js

    r2473 r2478  
    1414                a = ( a || ( action.indexOf( window.location + '#' ) === 0 ) ); 
    1515                */ 
    16                 var a = ( action.indexOf( 'admin/' ) > 0 || action.indexOf( '=admin.' ) > 0 ); 
     16                var a = ( action.indexOf( 'admin/' ) > 0 || action.indexOf( 'admin.' ) > 0 ); 
    1717                a = ( a || action.indexOf( 'home' ) > 0 ); 
    1818                a = ( a || action.indexOf( 'contactcenter' ) > 0 ); 
Note: See TracChangeset for help on using the changeset viewer.