diff options
author | Chad Kieffer <chad@2tbsp.com> | 2008-12-05 06:22:51 +0000 |
---|---|---|
committer | Chad Kieffer <chad@2tbsp.com> | 2008-12-05 06:22:51 +0000 |
commit | 69f48d37c3a8aba618e74b1e6aab427e14d496c3 (patch) | |
tree | 2a63ec9734d46b86bb160907806c7f983c47d7b2 /modules/carousel/helpers | |
parent | bfd3a21dfdffcae86e695c8b50802e5c7ee3cf79 (diff) |
Removing carousel. Slideshow and planned album views should cover this functionality
Diffstat (limited to 'modules/carousel/helpers')
-rw-r--r-- | modules/carousel/helpers/carousel_block.php | 33 | ||||
-rw-r--r-- | modules/carousel/helpers/carousel_installer.php | 31 |
2 files changed, 0 insertions, 64 deletions
diff --git a/modules/carousel/helpers/carousel_block.php b/modules/carousel/helpers/carousel_block.php deleted file mode 100644 index 1732fa39..00000000 --- a/modules/carousel/helpers/carousel_block.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php defined("SYSPATH") or die("No direct script access."); -/** - * Gallery - a web based photo album viewer and editor - * Copyright (C) 2000-2008 Bharat Mediratta - * - * 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., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. - */ - -class carousel_block_Core { - public static function sidebar_blocks($theme) { - if ($theme->item()) { - $block = new Block(); - $block->id = "gCarousel"; - $block->title = "Album: <a href=\"#\">{$theme->item()->title_edit}</a>"; - $block->content = '<img src="' . - url::base() . "modules/carousel/images/carousel.png" . - '" width="214"/>'; - return $block; - } - } -}
\ No newline at end of file diff --git a/modules/carousel/helpers/carousel_installer.php b/modules/carousel/helpers/carousel_installer.php deleted file mode 100644 index b4522334..00000000 --- a/modules/carousel/helpers/carousel_installer.php +++ /dev/null @@ -1,31 +0,0 @@ -<?php defined("SYSPATH") or die("No direct script access."); -/** - * Gallery - a web based photo album viewer and editor - * Copyright (C) 2000-2008 Bharat Mediratta - * - * 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., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. - */ -class carousel_installer { - public static function install() { - $version = module::get_version("carousel"); - if ($version == 0) { - module::set_version("carousel", 1); - } - } - - public static function uninstall() { - module::delete("carousel"); - } -} |