]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
pushing categories to the next line when viewing an entity
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 27 Feb 2011 01:23:51 +0000 (01:23 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 27 Feb 2011 01:23:51 +0000 (01:23 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8506 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/blog/views/default/object/blog.php
mod/categories/views/default/output/categories.php
views/default/css/elements/icons.php
views/default/page/components/list/body.php

index a70176dc736f296728c93455ce2322953d8d5423..a24d8758e23450432d6e13e673f187da4add6615 100644 (file)
@@ -55,7 +55,8 @@ $metadata = elgg_view('navigation/menu/metadata', array(
        'links' => $extra_links,
 ));
 
-$subtitle = "$author_text $date $categories $comments_link";
+$subtitle = "<p>$author_text $date $comments_link</p>";
+$subtitle .= $categories;
 
 // do not show the metadata and controls in widget view
 if (elgg_in_context('widgets')) {
index 724c460372ec4bebaadac55ff66f1864412b35e5..38df8371637d2ef877844b614ad4a66cec28186b 100644 (file)
@@ -24,4 +24,4 @@ if (isset($vars['entity']) && $vars['entity'] instanceof ElggEntity) {
 
 }
 
-echo $linkstr;
+echo '<p class="elgg-output-categories">' . elgg_echo('categories') . ": $linkstr</p>";
index 8ac0cb9698313d4b5491abb2fd2c6345efe69402..68a38ed9a900a1b719ab6ec8101edd75540e4f4a 100644 (file)
@@ -57,6 +57,9 @@
 .elgg-icon-arrow-s:hover {
        background-position: -146px -76px;
 }
+.elgg-icon-tag {
+       background-position: 2px -197px;
+}
 .elgg-icon-following {
        background-position: -35px -100px;
        width: 22px;
index f3042578d81dd10d4417f2e38e291f758d54a015..578e9b9cfd1d931c82f5a3801613bee60d3ed851 100644 (file)
@@ -46,7 +46,7 @@ if ($metadata) {
        echo $metadata;
 }
 echo "<h3>$title_link</h3>";
-echo "<p class=\"elgg-subtext\">$subtitle</p>";
+echo "<div class=\"elgg-subtext\">$subtitle</div>";
 echo $tags;
 if ($content) {
        echo "<div class=\"elgg-list-content\">$content</div>";