From 536fe2bbfb1c2fbb5fbdc46fce3caeb6193c6432 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Mon, 21 Jan 2008 12:05:36 +0000 Subject: #210479 by catch, dvessel: add newlines to list items, so inline display and RTL issues are resolved --- includes/menu.inc | 4 ++-- includes/theme.inc | 2 +- modules/blog/blog.pages.inc | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/menu.inc b/includes/menu.inc index 1fd93ccdd..d4e727a28 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -1067,7 +1067,7 @@ function theme_menu_item($link, $has_children, $menu = '', $in_active_trail = FA if ($in_active_trail) { $class .= ' active-trail'; } - return '
  • '. $link . $menu .'
  • '."\n"; + return '
  • '. $link . $menu ."
  • \n"; } /** @@ -1076,7 +1076,7 @@ function theme_menu_item($link, $has_children, $menu = '', $in_active_trail = FA * @ingroup themeable */ function theme_menu_local_task($link, $active = FALSE) { - return '
  • '. $link .'
  • '; + return '
  • '. $link ."
  • \n"; } /** diff --git a/includes/theme.inc b/includes/theme.inc index 26f1eaa27..51957186b 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1429,7 +1429,7 @@ function theme_item_list($items = array(), $title = NULL, $type = 'ul', $attribu if ($i == $num_items - 1) { $attributes['class'] = empty($attributes['class']) ? 'last' : ($attributes['class'] .' last'); } - $output .= ''. $data .''; + $output .= ''. $data ."\n"; } $output .= ""; } diff --git a/modules/blog/blog.pages.inc b/modules/blog/blog.pages.inc index ecbfb6b8c..a0b54967d 100644 --- a/modules/blog/blog.pages.inc +++ b/modules/blog/blog.pages.inc @@ -20,7 +20,7 @@ function blog_page_user($account) { $items[] = l(t('Post new blog entry.'), "node/add/blog"); } else if ($account->uid == $user->uid) { - $items[] = t('You are not allowed to post a new blog entry.') .''; + $items[] = t('You are not allowed to post a new blog entry.'); } $output = theme('item_list', $items); -- cgit v1.2.3