diff options
Diffstat (limited to 'modules/thumbnav/helpers/thumbnav_event.php')
| -rw-r--r-- | modules/thumbnav/helpers/thumbnav_event.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/thumbnav/helpers/thumbnav_event.php b/modules/thumbnav/helpers/thumbnav_event.php new file mode 100644 index 0000000..c0e8243 --- /dev/null +++ b/modules/thumbnav/helpers/thumbnav_event.php @@ -0,0 +1,20 @@ +<?php defined("SYSPATH") or die("No direct script access."); +class thumbnav_event_Core { + + static function activate() { + thumbnav::check_config(); + } + + static function deactivate() { + site_status::clear("thumbnav_config"); + } + + static function admin_menu($menu, $theme) { + $menu + ->get("settings_menu") + ->append(Menu::factory("link") + ->id("thumbnav") + ->label(t("Thumb Navigator")) + ->url(url::site("admin/thumbnav"))); + } +} |
