diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-11 17:42:05 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-11 17:42:05 +0000 |
commit | 37a1cca520536ba52b14069b1efb4871d47e44de (patch) | |
tree | ff3c4d1bba5c51cd2eb46f2b8c7ba3ac1146deca /modules/exif/helpers/exif_theme.php | |
parent | d739d1ea46c1b8452469cef26f3cbd4ddbdc3c38 (diff) |
Well, exif dialog displays and will show the summary information.
However, The text needs to be scaled or the size of the box needs to
be managed such that there is nowrapping. The columns need to be
styled for odd and even. And I can't get tabbing to work. If you
click on details tab nothing happens and i don't know what I've done
wrong. Addition input is appreciated.
Diffstat (limited to 'modules/exif/helpers/exif_theme.php')
-rw-r--r-- | modules/exif/helpers/exif_theme.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/modules/exif/helpers/exif_theme.php b/modules/exif/helpers/exif_theme.php new file mode 100644 index 00000000..e7174b4d --- /dev/null +++ b/modules/exif/helpers/exif_theme.php @@ -0,0 +1,31 @@ +<?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 exif_theme_Core { + static function sidebar_bottom($theme) { + if ($theme->item()->is_photo()) { + $view = new View("exif_sidebar.html"); + + $csrf = access::csrf_token(); + $view->url = url::site("exif/show/{$theme->item()->id}?csrf=$csrf"); + return $view; + } + return null; + } +} |