Revision 1847
Added by darkviper almost 13 years ago
| 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 {
|
Also available in: Unified diff
PageTree: fixed icon requests
added 2 new icons into wb_theme and argos_theme