summaryrefslogtreecommitdiff
path: root/modules/digibug/views/digibug_form.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-06-23 22:13:28 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-06-23 22:13:28 -0700
commit231ad4f32950f42c76c16ab453246bedea8abf2c (patch)
tree1ed67e6461709459a7465b974a355a8c0b59a4d7 /modules/digibug/views/digibug_form.html.php
parent79522bd4f31f8e4d70e754e42d5d33c4031519c9 (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/views/digibug_form.html.php')
-rw-r--r--modules/digibug/views/digibug_form.html.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/digibug/views/digibug_form.html.php b/modules/digibug/views/digibug_form.html.php
new file mode 100644
index 00000000..c2cd889e
--- /dev/null
+++ b/modules/digibug/views/digibug_form.html.php
@@ -0,0 +1,16 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<html>
+<head>
+ <?= html::script("lib/jquery.js") ?>
+ <script type="text/javascript">
+ $("body form").ready(function() {
+ $("body form").submit();
+ });
+ </script>
+</head>
+<body>
+ <?= form::open("http://www.digibug.com/dapi/order.php") ?>
+ <?= form::hidden($order_parms) ?>
+ <?= form::close() ?>
+</body>
+</html> \ No newline at end of file