diff options
| author | fisharebest <fisharebest@gmail.com> | 2011-01-01 17:25:15 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2011-01-01 17:25:15 +0000 |
| commit | 594f309cc36a8917f29b0aaa92694a8909688118 (patch) | |
| tree | b707d77eff40a4053d931e75a0160adb2f94aabd /sidebar.php | |
| parent | 92abe76c49939f37c104f0fb1b380f189826edf8 (diff) | |
| download | webtrees-594f309cc36a8917f29b0aaa92694a8909688118.tar.gz webtrees-594f309cc36a8917f29b0aaa92694a8909688118.tar.bz2 webtrees-594f309cc36a8917f29b0aaa92694a8909688118.zip | |
Refactoring class names and use autoloading.
Diffstat (limited to 'sidebar.php')
| -rw-r--r-- | sidebar.php | 51 |
1 files changed, 23 insertions, 28 deletions
diff --git a/sidebar.php b/sidebar.php index 0bd5121209..408a990581 100644 --- a/sidebar.php +++ b/sidebar.php @@ -1,35 +1,30 @@ <?php -/** -* Animated Sidebar for the Individual Page -* -* webtrees: Web based Family History software - * Copyright (C) 2010 webtrees development team. - * - * Derived from PhpGedView -* Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* @package webtrees -* @subpackage Sidebar -* @version $Id$ -*/ +// Animated Sidebar for the Individual Page +// +// webtrees: Web based Family History software +// Copyright (C) 2011 webtrees development team. +// +// Derived from PhpGedView +// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// @version $Id$ if (!defined('WT_SCRIPT_NAME')) define('WT_SCRIPT_NAME', 'sidebar.php'); require_once('includes/session.php'); -require_once(WT_ROOT.'includes/classes/class_module.php'); $sidebarmods = WT_Module::getActiveSidebars(); if (!$sidebarmods) { |
