summaryrefslogtreecommitdiff
path: root/display_structure_inc.php
blob: ea9bebc81cff318cf54894e769bac9a12e2ca849 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/**
 * display_structure_inc
 *
 * @author   spider <spider@steelsun.com>
 * @version  $Revision: 1.4 $
 * @package  liberty
 * @subpackage functions
 */

/**
 * required setup
 */
	global $gContent;
	include_once( LIBERTY_PKG_PATH.'lookup_content_inc.php' );
	if( is_object( $gContent ) && $gContent->isValid() ) {
		$gBitSystem->setBrowserTitle( $gStructure->getRootTitle().' : '.$gContent->getTitle() );
		include $gContent->getRenderFile();
	} else {
		$gBitSystem->fatalError( tra( 'Page cannot be found' ));
	}
?>