| 1 |
<?php
|
| 2 |
|
| 3 |
// $Header: /cvsroot/tikiwiki/tiki/tiki-layout_options.php,v 1.4.2.2 2005/01/01 00:11:25 damosoft Exp $
|
| 4 |
|
| 5 |
// Copyright (c) 2002-2005, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
|
| 6 |
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
|
| 7 |
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
|
| 8 |
|
| 9 |
//this script may only be included - so its better to die if called directly.
|
| 10 |
if (strpos($_SERVER["SCRIPT_NAME"],basename(__FILE__)) !== false) {
|
| 11 |
header("location: index.php");
|
| 12 |
exit;
|
| 13 |
}
|
| 14 |
|
| 15 |
$section_top_bar = $section . '_top_bar';
|
| 16 |
|
| 17 |
$section_bot_bar = $section . '_bot_bar';
|
| 18 |
$section_left_column = $section . '_left_column';
|
| 19 |
$section_right_column = $section . '_right_column';
|
| 20 |
$smarty->assign('feature_top_bar', $$section_top_bar);
|
| 21 |
$smarty->assign('feature_bot_bar', $$section_bot_bar);
|
| 22 |
$smarty->assign('feature_left_column', $$section_left_column);
|
| 23 |
$smarty->assign('feature_right_column', $$section_right_column);
|
| 24 |
|
| 25 |
?>
|