Changeset 2478 for trunk/news_admin/inc/class.uinews.inc.php
- Timestamp:
- 04/12/10 10:30:47 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/news_admin/inc/class.uinews.inc.php
r405 r2478 98 98 $this->template->set_block('main','row_empty'); 99 99 100 $GLOBALS['phpgw']->common->phpgw_header();101 echo parse_navbar();100 //$GLOBALS['phpgw']->common->phpgw_header(); 101 //echo parse_navbar(); 102 102 $this->template->set_block('main','category'); 103 103 $var['lang_read'] = lang('Read'); … … 325 325 $news_id = $_POST['news_id'] ? $_POST['news_id'] : $_GET['news_id']; 326 326 327 $GLOBALS['phpgw']->common->phpgw_header();328 echo parse_navbar();327 //$GLOBALS['phpgw']->common->phpgw_header(); 328 //echo parse_navbar(); 329 329 $this->template->set_file(array( 330 330 'form' => 'admin_delete.tpl' … … 407 407 408 408 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'] ); 412 412 $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(); 415 415 416 416 $this->template->set_file(array( … … 441 441 442 442 $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/' ); 444 444 $oFCKeditor->ToolbarSet = 'ExpressoLivre'; 445 445 $oFCKeditor->Value = $this->news_data['content']; … … 482 482 $this->template->set_block('main','row_empty'); 483 483 484 $GLOBALS['phpgw']->common->phpgw_header();485 echo parse_navbar();484 //$GLOBALS['phpgw']->common->phpgw_header(); 485 //echo parse_navbar(); 486 486 487 487 $category_list = $this->selectlist('write', (int)$this->news_data['category']);
Note: See TracChangeset
for help on using the changeset viewer.