Project

General

Profile

« Previous | Next » 

Revision 1731

Added by Dietmar about 12 years ago

+ add Page extended to settings,
! to show experten mode in page settings
! shows some more settings like icon dir

View differences:

settings.php
187 187
	$sTemplate = ($aCurrentPage['template'] == '' ? DEFAULT_TEMPLATE : $aCurrentPage['template']);
188 188
	$sIconDir = str_replace('\\', '/', ((defined('PAGE_ICON_DIR') && PAGE_ICON_DIR != '') ? PAGE_ICON_DIR : MEDIA_DIRECTORY));
189 189
	$sIconDir = str_replace('/*', '/'.$sTemplate, $sIconDir);
190
	$bIconDirHide = (defined('PAGE_EXTENDED') && PAGE_EXTENDED == 'true') ? '' : 'hide';
190 191
//	$oTpl->set_var('ICON_DIR', WB_REL.$sIconDir);
191 192
	$sHelp = replaceVars($mLang->HELP_PAGE_IMAGE_DIR, array('icon_dir'=>WB_REL.$sIconDir ) );
192 193

  
194
	$oTpl->set_var('PAGE_EXTENDED_HIDE',  $bIconDirHide);
193 195
	$oTpl->set_var('p_page_icon_dir',  p($sHelp,$mLang->TEXT_PAGE_ICON_DIR));
194 196
	$oTpl->set_var('p_menu_icon0_dir', p($sHelp,$mLang->TEXT_MENU_ICON_0_DIR));
195 197
	$oTpl->set_var('p_menu_icon1_dir', p($sHelp,$mLang->TEXT_MENU_ICON_1_DIR));

Also available in: Unified diff