diff options
Diffstat (limited to 'themes/new')
-rw-r--r-- | themes/new/footer.php | 6 | ||||
-rw-r--r-- | themes/new/header.php | 6 | ||||
-rw-r--r-- | themes/new/include/functions.php | 19 | ||||
-rw-r--r-- | themes/new/index.php | 23 | ||||
-rw-r--r-- | themes/new/navigation.php | 25 |
5 files changed, 57 insertions, 22 deletions
diff --git a/themes/new/footer.php b/themes/new/footer.php index 0aab911..9e4cb00 100644 --- a/themes/new/footer.php +++ b/themes/new/footer.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell * * 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 @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + */ $phpversion = preg_replace('/[a-z-]/', '', phpversion()); $mtime = explode(' ', microtime()); @@ -54,4 +54,4 @@ $debug_output = sprintf("Page generated in %.3f seconds | Memory: real(%.3fmb) p </body> </html> <?php ob_flush();?> -
\ No newline at end of file + diff --git a/themes/new/header.php b/themes/new/header.php index 353a083..f1e9f0c 100644 --- a/themes/new/header.php +++ b/themes/new/header.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell * * 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 @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + */ global $config; ob_start(); @@ -52,4 +52,4 @@ $starttime = $starttime[1] + $starttime[0]; </head> -<body>
\ No newline at end of file +<body> diff --git a/themes/new/include/functions.php b/themes/new/include/functions.php index ec2e6e2..1a1abbc 100644 --- a/themes/new/include/functions.php +++ b/themes/new/include/functions.php @@ -1,4 +1,21 @@ <?php +/** + * Bayonet Content Management System + * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell + * + * 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 3 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, see <http://www.gnu.org/licenses/>. + */ /* EVERY THEME SHOULD HAVE THIS FILE WITH THE FUNCTIONS OPENCONTENT() & CLOSECONTENT() */ @@ -31,4 +48,4 @@ { } -?>
\ No newline at end of file +?> diff --git a/themes/new/index.php b/themes/new/index.php index 17bbc46..750cc1f 100644 --- a/themes/new/index.php +++ b/themes/new/index.php @@ -1,11 +1,20 @@ <?php /** - * Bayonet Conent Management System - * Copyright (C) Joseph Hunkeler & Evan O'Connell - * - * Purpose of this software is to allow users to manage their website - * with ease and without needing to have any coding knowledge in order - * to maintain it. Visit [link] for any updates or feedback. + * Bayonet Content Management System + * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell + * + * 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 3 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, see <http://www.gnu.org/licenses/>. */ /* Begin try/catch block */ @@ -81,4 +90,4 @@ catch(Exception $e) "<style>td.short{width:100%;}</style><table style=\"width:0;\"><tr><th>Code</th>" . "<td class=\"short\">" . $e->getCode() . "</td>" . "</tr><tr><th>In File</th>" . "<td class=\"short\">" . $e->getFile() . "</td>" . "</tr></table>" . $e->getLine() . " - " . $e->getMessage() . "<br/>" ); } -?>
\ No newline at end of file +?> diff --git a/themes/new/navigation.php b/themes/new/navigation.php index 45bcdf9..6a99e5a 100644 --- a/themes/new/navigation.php +++ b/themes/new/navigation.php @@ -1,13 +1,22 @@ <?php /** - * Bayonet Conent Management System - * Copyright (C) Joseph Hunkeler & Evan O'Connell - * - * Purpose of this software is to allow users to manage their website - * with ease and without needing to have any coding knowledge in order - * to maintain it. Visit www.eodesign.com/cms for any updates or feedback. + * Bayonet Content Management System + * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell + * + * 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 3 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, see <http://www.gnu.org/licenses/>. */ - ?> +?> <ul id="menu"> <li class="current_page_item"><a href="index.php">HOME</a></li> <?php @@ -19,4 +28,4 @@ echo '<li class="page_item"><a href="' . str_replace('&', '&', $link['link']) . '">' . strtoupper($link['title']) . '</a></li>'; } ?> - </ul><!--end dropmenu-->
\ No newline at end of file + </ul><!--end dropmenu--> |