Cleaned up the crappy indenting and commenting.

This commit is contained in:
mike.morgan%oregonstate.edu 2005-12-28 23:20:40 +00:00
Родитель fc2a4ee7de
Коммит 0098441920
1 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -6,16 +6,16 @@
* @subpackage inc
*/
if (!isset($pageType))
if (empty($pageType)) {
$pageType = "default";
}
// Set our wrapper if it has not been set.
//$wrapper = (!isset($wrapper)) ? 'inc/wrappers/default.tpl' : $wrapper;
// Display our page header.
$tpl->display('inc/wrappers/' . $pageType . '-header.tpl');
// Display output.
// Display page content..
$tpl->display($content);
// Display our page footer.
$tpl->display('inc/wrappers/' . $pageType . '-footer.tpl');
// Disconnect from our database.
//$db->disconnect();
?>