Project

General

Profile

« Previous | Next » 

Revision 192

Added by ryan over 18 years ago

Semi-disabled use of "separate" page trash feature

View differences:

index.php
365 365
// Work-out if page trash feature is disabled, in-line, or separate
366 366
if(PAGE_TRASH == 'disabled') {
367 367
	$template->set_var('PAGE_TRASH_DISABLED', ' checked');
368
	$template->set_var('DISPLAY_PAGE_TRASH_SEPARATE', ' display: none;');
368 369
} elseif(PAGE_TRASH == 'inline') {
369 370
	$template->set_var('PAGE_TRASH_INLINE', ' checked');
371
	$template->set_var('DISPLAY_PAGE_TRASH_SEPARATE', ' display: none;');
370 372
} elseif(PAGE_TRASH == 'separate') {
371 373
	$template->set_var('PAGE_TRASH_SEPARATE', ' checked');
374
	$template->set_var('DISPLAY_PAGE_TRASH_SEPARATE', ' display: inline;');
372 375
}
373 376

  
374 377
// Work-out if media home folde feature is enabled

Also available in: Unified diff