aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-29 17:24:11 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-29 17:24:11 +0000
commitb82487ea0a4600f873074b16dbccf7ba6c8a6354 (patch)
tree7232ee9028b4d853862bde0dfe10f9e0882d8867
parent9a3e5b876ebd966ca1036a6613bab759c7c3f178 (diff)
downloadelgg-b82487ea0a4600f873074b16dbccf7ba6c8a6354.tar.gz
elgg-b82487ea0a4600f873074b16dbccf7ba6c8a6354.tar.bz2
OpenDD default views on entities
git-svn-id: https://code.elgg.org/elgg/trunk@1584 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/odd/group/default.php17
-rw-r--r--views/odd/site/default.php17
2 files changed, 34 insertions, 0 deletions
diff --git a/views/odd/group/default.php b/views/odd/group/default.php
new file mode 100644
index 000000000..8cf04ef16
--- /dev/null
+++ b/views/odd/group/default.php
@@ -0,0 +1,17 @@
+<?php
+
+ /**
+ * Elgg default object view
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ $serialised = exportAsArray($vars['entity']->guid);
+ foreach ($serialised as $s)
+ echo $s;
+?> \ No newline at end of file
diff --git a/views/odd/site/default.php b/views/odd/site/default.php
new file mode 100644
index 000000000..8cf04ef16
--- /dev/null
+++ b/views/odd/site/default.php
@@ -0,0 +1,17 @@
+<?php
+
+ /**
+ * Elgg default object view
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ $serialised = exportAsArray($vars['entity']->guid);
+ foreach ($serialised as $s)
+ echo $s;
+?> \ No newline at end of file