Project

General

Profile

« Previous | Next » 

Revision 1847

Added by darkviper almost 12 years ago

PageTree: fixed icon requests
added 2 new icons into wb_theme and argos_theme

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12
===============================================================================
13 13

  
14
05 Jan-2013 Build 1847 Werner v.d.Decken(DarkViper)
15
# PageTree: fixed icon requests
16
+ added 2 icons in wb_theme and argos_theme
14 17
05 Jan-2013 Build 1846 Werner v.d.Decken(DarkViper)
15 18
+ added variable root page for tree generation in class a_pages_PageTree
16 19
# added missing CSS class jsadmin for drop/down activation
branches/2.8.x/wb/admin/pages/PageTree.php
117 117
		$this->_aReg['PAGE_TRASH']       = PAGE_TRASH;
118 118
		$this->_aReg['PAGE_LEVEL_LIMIT'] = PAGE_LEVEL_LIMIT;
119 119
		$this->_aReg['MANAGE_SECTIONS']  = MANAGE_SECTIONS;
120
		$this->_aReg['DOCUMENT_ROOT']    = $_SERVER['DOCUMENT_ROOT'];
120 121
		$this->_aReg['WB_URL']           = WB_URL;
121 122
		$this->_aReg['WB_REL']           = WB_REL;
122 123
		$this->_aReg['ACP_REL']          = ADMIN_REL;
......
290 291
			          . $aPage['page_id'].'" title="'.$this->_TEXT['MODIFY'].'">';
291 292
		}
292 293
		$sIcon = $this->_aReg['THEME_REL'].'/images/'.$aPage['visibility'].'_16.png';
293
		if(!is_readable($sIcon)) {
294
		if(!is_readable($this->_aReg['DOCUMENT_ROOT'].$sIcon)) {
294 295
			$sIcon = $this->_aReg['THEME_REL'].'/images/public_16.png';
295 296
		}
296 297
		$sOutput .= '<img src="'.$sIcon.'" alt="'.$this->_TEXT['VISIBILITY'].': '
297
		          . $sText.'" class="page_list_rights" />';
298
		          . $this->_TEXT[strtoupper($aPage['visibility'])].'" class="page_list_rights" />';
298 299
		if($this->_oApp->get_permission('pages_modify') && $aPage['iswriteable']) {
299 300
			$sOutput .= '<span class="modify_link">'.$aPage['menu_title'].'</span></a>';
300 301
		}else {
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.3');
54
if(!defined('REVISION')) define('REVISION', '1846');
54
if(!defined('REVISION')) define('REVISION', '1847');
55 55
if(!defined('SP')) define('SP', '');

Also available in: Unified diff