aboutsummaryrefslogtreecommitdiff
path: root/mod/opendd/views/default/output/uuid.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-30 09:53:19 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-30 09:53:19 +0000
commit85b94b0c3c9360bd8cf0aa8f9ba69a821d36f14b (patch)
tree55f89100b8b7bd576a0b92e8c0b895e09a95b7f5 /mod/opendd/views/default/output/uuid.php
parent57153e4292a1b9c2f4f840f3027d4c5c7b06b719 (diff)
downloadelgg-85b94b0c3c9360bd8cf0aa8f9ba69a821d36f14b.tar.gz
elgg-85b94b0c3c9360bd8cf0aa8f9ba69a821d36f14b.tar.bz2
Moved OpenDD out of the central repo.
git-svn-id: https://code.elgg.org/elgg/trunk@1590 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/opendd/views/default/output/uuid.php')
-rw-r--r--mod/opendd/views/default/output/uuid.php26
1 files changed, 0 insertions, 26 deletions
diff --git a/mod/opendd/views/default/output/uuid.php b/mod/opendd/views/default/output/uuid.php
deleted file mode 100644
index 07b45f150..000000000
--- a/mod/opendd/views/default/output/uuid.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
- /**
- * Elgg OpenDD aggregator.
- * Displays a uuid as a link, but links back to the opendd viewer to display.
- *
- * @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/
- */
-
- global $CONFIG;
-
- $val = trim($vars['value']);
- if (!empty($val)) {
- if ((substr_count($val, "http://") == 0) && (substr_count($val, "https://") == 0)) {
- $val = "http://" . $val;
- }
-
- $vallink = $CONFIG->url . "mod/opendd/viewuuid.php?uuid=" . urlencode($val);
-
- echo "<a href=\"{$vallink}\" target=\"_blank\">{$val}</a>";
- }
-
-?> \ No newline at end of file