From fe4e67d6190d0a0a8dc9db6ea22293fe206835d7 Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 19 Feb 2009 15:38:02 +0000 Subject: the wire has been moved to core as it now powers profile status and status on member search git-svn-id: https://code.elgg.org/elgg/trunk@2817 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/thewire/views/default/object/thewire.php | 104 +++++++++++++++++++++++++++ 1 file changed, 104 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..525c96a6e --- /dev/null +++ b/mod/thewire/views/default/object/thewire.php @@ -0,0 +1,104 @@ + + * @copyright Curverider Ltd 2008-2009 + * @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()->username; + + //if the note is a reply, we need some more info + + $note_url = ''; + $note_owner = elgg_echo("thewire:notedeleted"); + +?> +
+
+ +
+ $vars['entity']->getOwnerEntity(), 'size' => 'small')); + ?> +
+ + +

+ + + + reply + 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 " . $vars['entity']->method . "."; + + ?> +
+ + +
+
+ \ No newline at end of file -- cgit v1.2.3