class exif_event_Core { static function item_created($item) { if (!$item->is_album()) { exif::extract($item); } } static function item_deleted($item) { db::build() ->delete("exif_records") ->where("item_id", "=", $item->id) ->execute(); } static function photo_menu($menu, $theme) { $item = $theme->item(); $menu->append( Menu::factory("link") ->id("exifdata-link") ->label(t("Photo Details")) ->url(url::site("exif/show/$item->id")) ->css_id("g-exifdata-link") ->css_class("g-dialog-link")); } } ?> class greydragon_event_Core { static function site_menu($menu, $theme) { $submenu = $menu->get("add_menu"); if (!empty($submenu)) { $item = $submenu->get("add_photos_item"); if (!empty($item)) { $item->css_class("ui-icon-plus"); } $item = $submenu->get("add_album_item"); if (!empty($item)) { $item->css_class("ui-icon-note"); } } $submenu = $menu->get("options_menu"); if (!empty($submenu)) { $item = $submenu->get("edit_item"); if (!empty($item)) { $item->css_class("ui-icon-pencil"); } $item = $submenu->get("edit_permissions"); if (!empty($item)) { $item->css_class("ui-icon-key"); } } } static function read_session_cmdparam($cmd, $cookie, $default) { try { $_cmd = $_GET[$cmd]; } catch (Exception $e) { }; if (isset($_cmd)): $_var = strtolower($_cmd); $_from_cmd = TRUE; if ($_var == "default"): $_var = $default; endif; else: $_from_cmd = FALSE; if ($cookie): try { $_var = $_COOKIE[$cookie]; } catch (Exception $e) { }; endif; endif; if (!isset($_var)): $_var = $default; endif; return $_var; } static function add_path($path) { $config = Kohana_Config::instance(); $kohana_modules = $config->get("core.modules"); array_unshift($kohana_modules, THEMEPATH . $path); $config->set("core.modules", $kohana_modules); Kohana::include_paths(true); } static function add_path_ex($setting, $cmd, $cookie, $path, $default) { $value = module::get_var("th_greydragon", $setting, $default); $value = self::read_session_cmdparam($cmd, $cookie, $value); self::add_path("greydragon/css/" . $path . "/" . $value); } static function gallery_ready() { self::add_path_ex("frame_pack", "framepack", "gd_framepack", "framepacks", "greydragon"); self::add_path_ex("color_pack", "colorpack", "gd_colorpack", "colorpacks", "greydragon"); self::add_path("custom"); } } ?>
| Camera Maker | Canon | Camera Model | Canon EOS 40D |
| Aperture | f/8 | Exposure Value | 0 EV |
| Exposure Program | Aperture Priority | Exposure Time | 1/200 sec |
| Flash | No Flash | Focal Length | 17 mm |
| ISO | 100 | Metering Mode | Center Weighted Average |
| Date/Time | 2011:04:10 12:24:21 | Resolution Unit | Inch |
| X Resolution | 240 dots per ResolutionUnit | Y Resolution | 240 dots per ResolutionUnit |
| Compression | Jpeg Compression | Exposure Mode | 0 |
| Subject Distance | 4294967295 |