From 4973086aa9dd4d482e54c0e5b177c09251e6a7ec Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 13 Aug 2008 10:30:09 +0000 Subject: Removing some messages git-svn-id: https://code.elgg.org/elgg/trunk@1879 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/views/default/object/blog.php | 115 +++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 mod/blog/views/default/object/blog.php (limited to 'mod/blog/views/default/object/blog.php') diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php new file mode 100644 index 000000000..202be6340 --- /dev/null +++ b/mod/blog/views/default/object/blog.php @@ -0,0 +1,115 @@ + + * @copyright Curverider Ltd 2008 + * @link http://elgg.com/ + * + * @uses $vars['entity'] Optionally, the blog post to view + */ + + if (isset($vars['entity'])) { + + if (get_context() == "search") { + + //display the correct layout depending on gallery or list view + if (get_input('search_viewtype') == "gallery") { + + //display the gallery view + echo elgg_view("blog/gallery",$vars); + + } else { + + echo elgg_view("blog/listing",$vars); + + } + + + } else { + +?> + +
+

title; ?>

+ +
+ $vars['entity']->getOwnerEntity(), 'size' => 'tiny')); + ?> +
+

+ time_created) + ); + + ?> + getOwnerEntity()->name; ?>   + + +
+

+ +

+ $vars['entity']->tags)); + + ?> +

+
+ + + description); + + ?> +
+ +

+ canEdit()) { + + ?> +   + $vars['url'] . "action/blog/delete?blogpost=" . $vars['entity']->getGUID(), + 'text' => elgg_echo('delete'), + 'confirm' => elgg_echo('deleteconfirm'), + )); + + // Allow the menu to be extended + echo elgg_view("editmenu",array('entity' => $vars['entity'])); + + ?> + +

+
+ + \ No newline at end of file -- cgit v1.2.3