aboutsummaryrefslogtreecommitdiff
path: root/views/odd
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-30 17:13:13 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-30 17:13:13 +0000
commitb06376e171d82c821106f8f86a856fb2aea41f7a (patch)
tree2454c18480fdb0ad84313b17bae7f646b6ebf54e /views/odd
parent3921f1eaa710f5b76d2ca222b0b16bef215b0f3a (diff)
downloadelgg-b06376e171d82c821106f8f86a856fb2aea41f7a.tar.gz
elgg-b06376e171d82c821106f8f86a856fb2aea41f7a.tar.bz2
Closes #189: ODD -> OpenDD
git-svn-id: https://code.elgg.org/elgg/trunk@1611 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/odd')
-rw-r--r--views/odd/canvas/default.php21
-rw-r--r--views/odd/export/entity.php19
-rw-r--r--views/odd/export/metadata.php23
-rw-r--r--views/odd/export/relationship.php22
-rw-r--r--views/odd/group/default.php17
-rw-r--r--views/odd/messages/exceptions/exception.php31
-rw-r--r--views/odd/object/default.php17
-rw-r--r--views/odd/pageshells/pageshell.php22
-rw-r--r--views/odd/site/default.php17
-rw-r--r--views/odd/user/default.php17
10 files changed, 0 insertions, 206 deletions
diff --git a/views/odd/canvas/default.php b/views/odd/canvas/default.php
deleted file mode 100644
index f1fbe6c96..000000000
--- a/views/odd/canvas/default.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
- /**
- * Elgg default layout
- *
- * @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/
- */
-
- for ($i = 1; $i < 8; $i++) {
-
- if (isset($vars["area{$i}"]))
- echo $vars["area{$i}"];
-
- }
-
-?> \ No newline at end of file
diff --git a/views/odd/export/entity.php b/views/odd/export/entity.php
deleted file mode 100644
index a147a707a..000000000
--- a/views/odd/export/entity.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
- /**
- * Elgg Entity export.
- * Displays an entity as ODD
- *
- * @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/
- */
-
- $entity = $vars['entity'];
- $serialised = exportAsArray($vars['entity']->guid);
- foreach ($serialised as $s)
- echo $s;
-
-?> \ No newline at end of file
diff --git a/views/odd/export/metadata.php b/views/odd/export/metadata.php
deleted file mode 100644
index e6f74e2d2..000000000
--- a/views/odd/export/metadata.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
- /**
- * Elgg metadata export.
- * Displays a metadata item using the current 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/
- */
-
- $m = $vars['metadata'];
- $uuid = $vars['uuid'];
-
- //$odd = new ODDDocument();
- //$odd->addElement($m->export());
-
- //echo $odd;
-
- echo $m->export();
-?> \ No newline at end of file
diff --git a/views/odd/export/relationship.php b/views/odd/export/relationship.php
deleted file mode 100644
index 28b3026d5..000000000
--- a/views/odd/export/relationship.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
- /**
- * Elgg relationship export.
- * Displays a relationship using ODD.
- *
- * @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/
- */
-
- $r = $vars['relationship'];
-
- //$odd = new ODDDocument();
- //$odd->addElement($r->export());
-
- //echo $odd;
-
- echo $r->export();
-?> \ No newline at end of file
diff --git a/views/odd/group/default.php b/views/odd/group/default.php
deleted file mode 100644
index 8cf04ef16..000000000
--- a/views/odd/group/default.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?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/messages/exceptions/exception.php b/views/odd/messages/exceptions/exception.php
deleted file mode 100644
index 38afbee58..000000000
--- a/views/odd/messages/exceptions/exception.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-
- /**
- * Elgg exception
- * Displays a single exception
- *
- * @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/
- *
- * @uses $vars['object'] An exception
- */
-
- global $CONFIG;
-?>
-<!--
-<?php echo get_class($vars['object']); ?>: <?php echo autop($vars['object']->getMessage()); ?>
-
-
-<?php if ($CONFIG->debug) { ?>
-<?php
-
- echo print_r($vars['object'], true);
-
- ?>
-<?php } ?>
-
---> \ No newline at end of file
diff --git a/views/odd/object/default.php b/views/odd/object/default.php
deleted file mode 100644
index 8cf04ef16..000000000
--- a/views/odd/object/default.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?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/pageshells/pageshell.php b/views/odd/pageshells/pageshell.php
deleted file mode 100644
index 92c11eadc..000000000
--- a/views/odd/pageshells/pageshell.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
- /**
- * Elgg XML output pageshell for ODD
- *
- * @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/
- *
- */
-
- header("Content-Type: text/xml");
-
-
-?>
-<odd>
-<?php
-echo $vars['body'];
-?>
-</odd> \ No newline at end of file
diff --git a/views/odd/site/default.php b/views/odd/site/default.php
deleted file mode 100644
index 8cf04ef16..000000000
--- a/views/odd/site/default.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?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/user/default.php b/views/odd/user/default.php
deleted file mode 100644
index 8cf04ef16..000000000
--- a/views/odd/user/default.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?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