diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-22 21:51:22 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-22 21:51:22 -0700 |
| commit | 58d5624e401f1c369cbbf913008775bc5a165570 (patch) | |
| tree | d2b67c7db5314c21636ae9663f451b018221a3bb /modules/digibug/helpers/digibug_quick.php | |
| parent | a8a366e3398ef15dcc67f70c25f7a34d99757e12 (diff) | |
This commit moves a little further along the path:
1) moves the print button from the quick pane to thumb_bottom
2) Creates an entry into the proxy table
Diffstat (limited to 'modules/digibug/helpers/digibug_quick.php')
| -rw-r--r-- | modules/digibug/helpers/digibug_quick.php | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/modules/digibug/helpers/digibug_quick.php b/modules/digibug/helpers/digibug_quick.php deleted file mode 100644 index dce0c519..00000000 --- a/modules/digibug/helpers/digibug_quick.php +++ /dev/null @@ -1,34 +0,0 @@ -<?php defined("SYSPATH") or die("No direct script access."); -/** - * Gallery - a web based photo album viewer and editor - * Copyright (C) 2000-2009 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 digibug_quick_Core { - static function buttons($item, $page_type) { - $elements["center"] = array(); - if (access::can("view", $item) && $item->type == "photo") { - $csrf = access::csrf_token(); - $elements["center"][] = (object)array( - "title" => t("Print photo with Digibug"), - "class" => "gButtonLink", - "icon" => "ui-icon-print", - "href" => url::site("digibug/print/$item->id?csrf=$csrf")); - } - - return $elements; - } -} |
