diff options
-rw-r--r-- | mod/exporttest/index.php | 10 | ||||
-rw-r--r-- | mod/exporttest/start.php | 9 | ||||
-rw-r--r-- | mod/exporttest/views/default/exporttest/main.php | 12 | ||||
-rw-r--r-- | mod/exporttest/views/default/exporttest/outputxml.php | 10 |
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']; |