From f61076fec0c1cfdee089f89c10cb46b7d195f9c7 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 27 Feb 2011 01:23:51 +0000 Subject: pushing categories to the next line when viewing an entity git-svn-id: http://code.elgg.org/elgg/trunk@8506 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/views/default/object/blog.php | 3 ++- mod/categories/views/default/output/categories.php | 2 +- views/default/css/elements/icons.php | 3 +++ views/default/page/components/list/body.php | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php index a70176dc7..a24d8758e 100644 --- a/mod/blog/views/default/object/blog.php +++ b/mod/blog/views/default/object/blog.php @@ -55,7 +55,8 @@ $metadata = elgg_view('navigation/menu/metadata', array( 'links' => $extra_links, )); -$subtitle = "$author_text $date $categories $comments_link"; +$subtitle = "

$author_text $date $comments_link

"; +$subtitle .= $categories; // do not show the metadata and controls in widget view if (elgg_in_context('widgets')) { diff --git a/mod/categories/views/default/output/categories.php b/mod/categories/views/default/output/categories.php index 724c46037..38df83716 100644 --- a/mod/categories/views/default/output/categories.php +++ b/mod/categories/views/default/output/categories.php @@ -24,4 +24,4 @@ if (isset($vars['entity']) && $vars['entity'] instanceof ElggEntity) { } -echo $linkstr; +echo '

' . elgg_echo('categories') . ": $linkstr

"; diff --git a/views/default/css/elements/icons.php b/views/default/css/elements/icons.php index 8ac0cb969..68a38ed9a 100644 --- a/views/default/css/elements/icons.php +++ b/views/default/css/elements/icons.php @@ -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; diff --git a/views/default/page/components/list/body.php b/views/default/page/components/list/body.php index f3042578d..578e9b9cf 100644 --- a/views/default/page/components/list/body.php +++ b/views/default/page/components/list/body.php @@ -46,7 +46,7 @@ if ($metadata) { echo $metadata; } echo "

$title_link

"; -echo "

$subtitle

"; +echo "
$subtitle
"; echo $tags; if ($content) { echo "
$content
"; -- cgit v1.2.3