aboutsummaryrefslogtreecommitdiff
path: root/mod/exporttest
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-09 15:17:56 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-09 15:17:56 +0000
commit82b51d88de942177474b1f77bdede7e51c15f32e (patch)
tree2f50d8dc994d5babc86bc9a6528352cd203383b4 /mod/exporttest
parent5273ac60e0f0490f3d3f7e2126e051ba386ff058 (diff)
downloadelgg-82b51d88de942177474b1f77bdede7e51c15f32e.tar.gz
elgg-82b51d88de942177474b1f77bdede7e51c15f32e.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Package header added git-svn-id: https://code.elgg.org/elgg/trunk@428 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/exporttest')
-rw-r--r--mod/exporttest/index.php10
-rw-r--r--mod/exporttest/start.php9
-rw-r--r--mod/exporttest/views/default/exporttest/main.php12
-rw-r--r--mod/exporttest/views/default/exporttest/outputxml.php10
4 files changed, 41 insertions, 0 deletions
diff --git a/mod/exporttest/index.php b/mod/exporttest/index.php
index 9ab1cf0d5..6857df16f 100644
--- a/mod/exporttest/index.php
+++ b/mod/exporttest/index.php
@@ -1,4 +1,14 @@
<?php
+ /**
+ * Elgg export test
+ *
+ * @package ElggDevTools
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey <marcus@marcus-povey.co.uk>
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.com/
+ */
+
require_once("../../engine/start.php");
global $CONFIG;
diff --git a/mod/exporttest/start.php b/mod/exporttest/start.php
index d25e5c06d..7563b0cd9 100644
--- a/mod/exporttest/start.php
+++ b/mod/exporttest/start.php
@@ -1,4 +1,13 @@
<?php
+ /**
+ * Elgg export test
+ *
+ * @package ElggDevTools
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey <marcus@marcus-povey.co.uk>
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.com/
+ */
function exporttest_init($event, $object_type, $object = null) {
diff --git a/mod/exporttest/views/default/exporttest/main.php b/mod/exporttest/views/default/exporttest/main.php
index d209b71a7..438d4f178 100644
--- a/mod/exporttest/views/default/exporttest/main.php
+++ b/mod/exporttest/views/default/exporttest/main.php
@@ -1,3 +1,15 @@
+<?php
+ /**
+ * Elgg export test
+ *
+ * @package ElggDevTools
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey <marcus@marcus-povey.co.uk>
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.com/
+ */
+?>
+
<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" />
diff --git a/mod/exporttest/views/default/exporttest/outputxml.php b/mod/exporttest/views/default/exporttest/outputxml.php
index 1442aa3f1..92c971ccd 100644
--- a/mod/exporttest/views/default/exporttest/outputxml.php
+++ b/mod/exporttest/views/default/exporttest/outputxml.php
@@ -1,4 +1,14 @@
<?php
+ /**
+ * Elgg export test
+ *
+ * @package ElggDevTools
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey <marcus@marcus-povey.co.uk>
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.com/
+ */
+
header("Content-type: text/xml");
echo $vars['xml'];