aboutsummaryrefslogtreecommitdiff
path: root/mod/exporttest/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/exporttest/views')
-rw-r--r--mod/exporttest/views/default/exporttest/main.php4
-rw-r--r--mod/exporttest/views/default/exporttest/outputxml.php5
2 files changed, 9 insertions, 0 deletions
diff --git a/mod/exporttest/views/default/exporttest/main.php b/mod/exporttest/views/default/exporttest/main.php
new file mode 100644
index 000000000..0d24df3fe
--- /dev/null
+++ b/mod/exporttest/views/default/exporttest/main.php
@@ -0,0 +1,4 @@
+<form>
+ <input type="hidden" name="owner_id" value="<?php echo $vars['owner_id']; ?>" />
+ GUID : <input type="text" value="" name="guid" /> <input type="submit" name="export" value="export" />
+</form> \ No newline at end of file
diff --git a/mod/exporttest/views/default/exporttest/outputxml.php b/mod/exporttest/views/default/exporttest/outputxml.php
new file mode 100644
index 000000000..1442aa3f1
--- /dev/null
+++ b/mod/exporttest/views/default/exporttest/outputxml.php
@@ -0,0 +1,5 @@
+<?php
+ header("Content-type: text/xml");
+
+ echo $vars['xml'];
+?> \ No newline at end of file