From 4766f36a4d74924f21ff329c4318ce4e069ffa04 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 3 Mar 2010 17:53:05 +0000 Subject: Pulled in the interface changes. git-svn-id: http://code.elgg.org/elgg/trunk@5257 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/thewire/views/default/object/thewire.php | 102 +++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 mod/thewire/views/default/object/thewire.php (limited to 'mod/thewire/views/default/object') diff --git a/mod/thewire/views/default/object/thewire.php b/mod/thewire/views/default/object/thewire.php new file mode 100644 index 000000000..3e8e53124 --- /dev/null +++ b/mod/thewire/views/default/object/thewire.php @@ -0,0 +1,102 @@ + + * @copyright Curverider Ltd 2008-2010 + * @link http://elgg.com/ + * + * @question - do we want users to be able to edit thewire? + * + * @uses $vars['entity'] Optionally, the note to view + */ + + if (isset($vars['entity'])) { + + $user_name = $vars['entity']->getOwnerEntity()->name; + + //if the note is a reply, we need some more info + + $note_url = ''; + $note_owner = elgg_echo("thewire:notedeleted"); + +?> +
+
+ + +
+ +
+ $vars['entity']->getOwnerEntity(), 'size' => 'small')); + ?> +
+ +
+ + + parent == 0){ + ?> + reply + +
+ canEdit()) { + + + echo "
" . elgg_view("output/confirmlink",array( + 'href' => $vars['url'] . "action/thewire/delete?thewirepost=" . $vars['entity']->getGUID(), + 'text' => elgg_echo('delete'), + 'confirm' => elgg_echo('deleteconfirm'), + )) . "
"; + + } //end of can edit if statement + ?> +
+ + + {$user_name}: "; + + + $desc = $vars['entity']->description; + + $desc = preg_replace('/\@([A-Za-z0-9\_\.\-]*)/i','@$1',$desc); + echo parse_urls($desc); + ?> + + +
+
+
+ + time_created) + ); + + echo " via " . elgg_echo($vars['entity']->method) . "."; + + ?> +
+ + +
+
+ \ No newline at end of file -- cgit v1.2.3