aboutsummaryrefslogtreecommitdiff
path: root/mod/opendd/views/default/object
diff options
context:
space:
mode:
Diffstat (limited to 'mod/opendd/views/default/object')
-rw-r--r--mod/opendd/views/default/object/oddentity.php25
-rw-r--r--mod/opendd/views/default/object/oddfeed.php21
-rw-r--r--mod/opendd/views/default/object/oddmetadata.php30
-rw-r--r--mod/opendd/views/default/object/oddrelationship.php25
4 files changed, 101 insertions, 0 deletions
diff --git a/mod/opendd/views/default/object/oddentity.php b/mod/opendd/views/default/object/oddentity.php
new file mode 100644
index 000000000..43cba4a2f
--- /dev/null
+++ b/mod/opendd/views/default/object/oddentity.php
@@ -0,0 +1,25 @@
+<?php
+ /**
+ * Elgg OpenDD aggregator
+ *
+ * @package ElggOpenDD
+ * @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.com/
+ */
+
+ $entity = $vars['entity'];
+?>
+<div class="opendd_entity">
+ <div>
+ <p><?php echo elgg_echo('opendd:published'); ?>: <?php echo $entity->get('opendd:published'); ?></p>
+ </div>
+ <div>
+ <p><?php echo elgg_echo('opendd:entity:uuid'); ?>: <a href="<?php echo $entity->get('opendd:uuid'); ?>"><?php echo $entity->get('opendd:uuid'); ?></a></p>
+ </div>
+ <div>
+ <p><?php echo elgg_echo('opendd:entity:class'); ?>: <?php echo $entity->get('opendd:class'); ?></p>
+ <p><?php echo elgg_echo('opendd:entity:subclass'); ?>: <?php echo $entity->get('opendd:subclass'); ?></p>
+ </div>
+</div> \ No newline at end of file
diff --git a/mod/opendd/views/default/object/oddfeed.php b/mod/opendd/views/default/object/oddfeed.php
new file mode 100644
index 000000000..265a78257
--- /dev/null
+++ b/mod/opendd/views/default/object/oddfeed.php
@@ -0,0 +1,21 @@
+<?php
+ /**
+ * Elgg OpenDD aggregator
+ *
+ * @package ElggOpenDD
+ * @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.com/
+ */
+
+ if ($vars['full']) {
+ echo elgg_view("opendd/profile",$vars);
+ } else {
+ if (get_input('search_viewtype') == "gallery") {
+ echo elgg_view('opendd/gallery',$vars);
+ } else {
+ echo elgg_view("opendd/listing",$vars);
+ }
+ }
+?> \ No newline at end of file
diff --git a/mod/opendd/views/default/object/oddmetadata.php b/mod/opendd/views/default/object/oddmetadata.php
new file mode 100644
index 000000000..cc63a09ec
--- /dev/null
+++ b/mod/opendd/views/default/object/oddmetadata.php
@@ -0,0 +1,30 @@
+<?php
+ /**
+ * Elgg OpenDD aggregator
+ *
+ * @package ElggOpenDD
+ * @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.com/
+ */
+
+ $entity = $vars['entity'];
+?>
+<div class="opendd_metadata">
+ <div>
+ <p><?php echo elgg_echo('opendd:published'); ?>: <?php echo $entity->get('opendd:published'); ?></p>
+ </div>
+ <div>
+ <p><?php echo elgg_echo('opendd:metadata:uuid'); ?>: <a href="<?php echo $entity->get('opendd:uuid'); ?>"><?php echo $entity->get('opendd:uuid'); ?></a></p>
+ </div>
+ <div>
+ <p><?php echo elgg_echo('opendd:metadata:entityuuid'); ?>: <a href="<?php echo $entity->get('opendd:entity_uuid'); ?>"><?php echo $entity->get('opendd:entity_uuid'); ?></a></p>
+ </div>
+ <div>
+ <p><?php echo elgg_echo('opendd:metadata:owneruuid'); ?>: <a href="<?php echo $entity->get('opendd:owner_uuid'); ?>"><?php echo $entity->get('opendd:owner_uuid'); ?></a></p>
+ </div>
+ <div>
+ <p><?php echo $entity->get('opendd:name'); ?> : <?php echo $entity->get('opendd:body'); ?></p>
+ </div>
+</div> \ No newline at end of file
diff --git a/mod/opendd/views/default/object/oddrelationship.php b/mod/opendd/views/default/object/oddrelationship.php
new file mode 100644
index 000000000..beb7847d4
--- /dev/null
+++ b/mod/opendd/views/default/object/oddrelationship.php
@@ -0,0 +1,25 @@
+<?php
+ /**
+ * Elgg OpenDD aggregator
+ *
+ * @package ElggOpenDD
+ * @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.com/
+ */
+
+ $entity = $vars['entity'];
+?>
+<div class="opendd_relationship">
+ <div>
+ <p><?php echo elgg_echo('opendd:published'); ?>: <?php echo $entity->get('opendd:published'); ?></p>
+ </div>
+ <div>
+ <p>
+ <a href="<?php echo $entity->get('opendd:uuid1'); ?>"><?php echo $entity->get('opendd:uuid1'); ?></a>
+ <b><?php echo $entity->get('opendd:type'); ?></b>
+ <a href="<?php echo $entity->get('opendd:uuid2'); ?>"><?php echo $entity->get('opendd:uuid2'); ?></a>
+ </p>
+ </div>
+</div> \ No newline at end of file