diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-23 22:13:28 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-23 22:13:28 -0700 |
commit | 231ad4f32950f42c76c16ab453246bedea8abf2c (patch) | |
tree | 1ed67e6461709459a7465b974a355a8c0b59a4d7 /modules/digibug/helpers | |
parent | 79522bd4f31f8e4d70e754e42d5d33c4031519c9 (diff) |
This implements the Digibug printing. When a a print request is made the digibug shopping cart is opened in a new
window. When the cart is emptied, the window is closed. Users can close the window by pressing the continue shopping
button
Diffstat (limited to 'modules/digibug/helpers')
-rw-r--r-- | modules/digibug/helpers/digibug_installer.php | 2 | ||||
-rw-r--r-- | modules/digibug/helpers/digibug_theme.php | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/modules/digibug/helpers/digibug_installer.php b/modules/digibug/helpers/digibug_installer.php index 73645eb7..0476e2cc 100644 --- a/modules/digibug/helpers/digibug_installer.php +++ b/modules/digibug/helpers/digibug_installer.php @@ -24,7 +24,7 @@ class digibug_installer { Database::instance() ->query("CREATE TABLE {proxies} ( `id` int(9) NOT NULL auto_increment, - `uuid` char(32) NOT NULL, + `uuid` char(36) NOT NULL, `item_id` int(9), PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8;"); diff --git a/modules/digibug/helpers/digibug_theme.php b/modules/digibug/helpers/digibug_theme.php index 0fe2ce2e..e52fcc7f 100644 --- a/modules/digibug/helpers/digibug_theme.php +++ b/modules/digibug/helpers/digibug_theme.php @@ -34,7 +34,6 @@ class digibug_theme_Core { if ($theme->page_type() == "album" && $child->type == "photo") { $v = new View("digibug_album.html"); $v->id = $child->id; - $v->return = "album/{$child->parent()->id}"; $v->title = t("Print photo with Digibug"); return $v->render(); } |