diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-07-11 07:04:34 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-07-11 07:04:34 +0000 |
commit | eaf5f2e02929a48887812402efa28c2703ef5935 (patch) | |
tree | 3582e071520b7dacd12e9f26a7cae02b7b6f9a43 /modules/forum.module | |
parent | 3a135f7c2dd15460b0b58665cc99360afbdbd5b2 (diff) | |
download | brdo-eaf5f2e02929a48887812402efa28c2703ef5935.tar.gz brdo-eaf5f2e02929a48887812402efa28c2703ef5935.tar.bz2 |
#49299 by wtanaka, properly break words
Diffstat (limited to 'modules/forum.module')
-rw-r--r-- | modules/forum.module | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/forum.module b/modules/forum.module index 785aab416..9c4cbf573 100644 --- a/modules/forum.module +++ b/modules/forum.module @@ -1081,6 +1081,10 @@ function theme_forum_topic_navigation($node) { if ($prev) { $output .= l(t('‹ ') . $prev->title, 'node/'. $prev->nid, array('class' => 'topic-previous', 'title' => t('Go to previous forum topic'))); } + if ($prev && $next) { + // Word break (a is an inline element) + $output .= ' '; + } if ($next) { $output .= l($next->title . t(' ›'), 'node/'. $next->nid, array('class' => 'topic-next', 'title' => t('Go to next forum topic'))); } |