From f37e894f9c722f4c7f17d1f3e655e8584da1e4b9 Mon Sep 17 00:00:00 2001 From: icewing Date: Fri, 28 Mar 2008 18:23:39 +0000 Subject: Marcus Povey * Export test git-svn-id: https://code.elgg.org/elgg/trunk@288 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/exporttest/index.php | 21 +++++++++++++++++++++ mod/exporttest/start.php | 15 +++++++++++++++ mod/exporttest/views/default/exporttest/main.php | 4 ++++ .../views/default/exporttest/outputxml.php | 5 +++++ 4 files changed, 45 insertions(+) create mode 100644 mod/exporttest/index.php create mode 100644 mod/exporttest/start.php create mode 100644 mod/exporttest/views/default/exporttest/main.php create mode 100644 mod/exporttest/views/default/exporttest/outputxml.php diff --git a/mod/exporttest/index.php b/mod/exporttest/index.php new file mode 100644 index 000000000..0a4aea8cd --- /dev/null +++ b/mod/exporttest/index.php @@ -0,0 +1,21 @@ + export($guid))); + } + else + { + $body = elgg_view("exporttest/main", array("owner_id" => $owner_id)); + page_draw("Export a GUID",$body); + } +?> \ No newline at end of file diff --git a/mod/exporttest/start.php b/mod/exporttest/start.php new file mode 100644 index 000000000..d25e5c06d --- /dev/null +++ b/mod/exporttest/start.php @@ -0,0 +1,15 @@ +wwwroot . "mod/exporttest/",array( + menu_item("The GUID Exporter",$CONFIG->wwwroot."mod/exporttest/"), + )); + } + + + // Make sure test_init is called on initialisation + register_event_handler('init','system','exporttest_init'); +?> \ No newline at end of file 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 @@ +
+ + GUID : +
\ 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 @@ + \ No newline at end of file -- cgit v1.2.3