From 6aaa89ba29640f72280d3e59e3dab42651a2d885 Mon Sep 17 00:00:00 2001 From: icewing Date: Wed, 2 Apr 2008 22:53:55 +0000 Subject: Marcus Povey * End of day git-svn-id: https://code.elgg.org/elgg/trunk@377 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/guidbrowser/index.php | 20 +++++++++++++++++ mod/guidbrowser/languages/en.php | 14 ++++++++++++ mod/guidbrowser/start.php | 25 ++++++++++++++++++++++ .../views/default/guidbrowser/entity.php | 3 +++ .../views/default/guidbrowser/entity_full.php | 3 +++ .../views/default/guidbrowser/navbar.php | 3 +++ .../views/default/guidbrowser/newentity.php | 3 +++ 7 files changed, 71 insertions(+) create mode 100644 mod/guidbrowser/index.php create mode 100644 mod/guidbrowser/languages/en.php create mode 100644 mod/guidbrowser/start.php create mode 100644 mod/guidbrowser/views/default/guidbrowser/entity.php create mode 100644 mod/guidbrowser/views/default/guidbrowser/entity_full.php create mode 100644 mod/guidbrowser/views/default/guidbrowser/navbar.php create mode 100644 mod/guidbrowser/views/default/guidbrowser/newentity.php (limited to 'mod') diff --git a/mod/guidbrowser/index.php b/mod/guidbrowser/index.php new file mode 100644 index 000000000..71b852bb6 --- /dev/null +++ b/mod/guidbrowser/index.php @@ -0,0 +1,20 @@ + + * @copyright Curverider Ltd 2008 + * @link http://elgg.com/ + */ + + // Load Elgg engine + require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); + + // Get the current page's owner + $page_owner = page_owner_entity(); + + // Display page + page_draw(elgg_echo("guidbrowser"), $body); +?> \ No newline at end of file diff --git a/mod/guidbrowser/languages/en.php b/mod/guidbrowser/languages/en.php new file mode 100644 index 000000000..a3d771b7c --- /dev/null +++ b/mod/guidbrowser/languages/en.php @@ -0,0 +1,14 @@ + "GUID Browser" + + + ); + + add_translation("en", $english); +?> \ No newline at end of file diff --git a/mod/guidbrowser/start.php b/mod/guidbrowser/start.php new file mode 100644 index 000000000..e5a08f02e --- /dev/null +++ b/mod/guidbrowser/start.php @@ -0,0 +1,25 @@ +pluginspath . "guidbrowser/languages/"); + add_menu("GUID Browser",$CONFIG->wwwroot . "mod/tasklist/",array( + menu_item("The GUID browser",$CONFIG->wwwroot."mod/guidbrowser/"), + )); + } + + function guidbrowser_displayentity($entity) + { + // display summary + // display full on clickdown + } + + function guidbrowser_display($offset = 0, $limit = 10, $type = "", $subtype = "") + { + + } + + + // Make sure test_init is called on initialisation + register_event_handler('init','system','guidbrowser_init'); +?> \ No newline at end of file diff --git a/mod/guidbrowser/views/default/guidbrowser/entity.php b/mod/guidbrowser/views/default/guidbrowser/entity.php new file mode 100644 index 000000000..15c5adc7f --- /dev/null +++ b/mod/guidbrowser/views/default/guidbrowser/entity.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/mod/guidbrowser/views/default/guidbrowser/entity_full.php b/mod/guidbrowser/views/default/guidbrowser/entity_full.php new file mode 100644 index 000000000..15c5adc7f --- /dev/null +++ b/mod/guidbrowser/views/default/guidbrowser/entity_full.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/mod/guidbrowser/views/default/guidbrowser/navbar.php b/mod/guidbrowser/views/default/guidbrowser/navbar.php new file mode 100644 index 000000000..15c5adc7f --- /dev/null +++ b/mod/guidbrowser/views/default/guidbrowser/navbar.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/mod/guidbrowser/views/default/guidbrowser/newentity.php b/mod/guidbrowser/views/default/guidbrowser/newentity.php new file mode 100644 index 000000000..15c5adc7f --- /dev/null +++ b/mod/guidbrowser/views/default/guidbrowser/newentity.php @@ -0,0 +1,3 @@ + \ No newline at end of file -- cgit v1.2.3