minor : html line break insert

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@104 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
ericdane 2008-04-11 08:42:36 +00:00
parent 5a25753cfa
commit 39cf528515
2 changed files with 5 additions and 8 deletions

View file

@ -216,18 +216,14 @@ window.onload = playerLoad;
$totalpages = ceil($total / $perpage); $totalpages = ceil($total / $perpage);
if (count($bookmarks) < $perpage || $perpage * $page == $total) { if (count($bookmarks) < $perpage || $perpage * $page == $total) {
$bnext = '<span class="disable">'. T_('Next') .'</span>'; $bnext = '<span class="disable">'. T_('Next') .'</span>';
$blast = '<span class="disable">'. T_('Last') .'</span>'; $blast = '<span class="disable">'. T_('Last') ."</span>\n";
} else { } else {
$bnext = '<a href="'. sprintf($nav_url, $user, $currenttag, '?page=') . $next . $sortAmp .'">'. T_('Next') .'</a>'; $bnext = '<a href="'. sprintf($nav_url, $user, $currenttag, '?page=') . $next . $sortAmp .'">'. T_('Next') .'</a>';
$blast = '<a href="'. sprintf($nav_url, $user, $currenttag, '?page=') . $totalpages . $sortAmp .'">'. T_('Last') .'</a>'; $blast = '<a href="'. sprintf($nav_url, $user, $currenttag, '?page=') . $totalpages . $sortAmp .'">'. T_('Last') ."</a>\n";
} }
echo '<p class="paging">'. $bfirst .'<span> / </span>'. $bprev .'<span> / </span>'. $bnext .'<span> / </span>'. $blast .'<span> / </span>'. sprintf(T_('Page %d of %d'), $page, $totalpages) .'</p>'; echo '<p class="paging">'. $bfirst .'<span> / </span>'. $bprev .'<span> / </span>'. $bnext .'<span> / </span>'. $blast .'<span> / </span>'. sprintf(T_('Page %d of %d'), $page, $totalpages) ."</p>\n";
} else { } else {
?> echo '<p class="error">'.T_('No bookmarks available').'</p>';
<p class="error"><?php echo T_('No bookmarks available'); ?></p>
<?php
} }
$this->includeTemplate('sidebar.tpl'); $this->includeTemplate('sidebar.tpl');
$this->includeTemplate($GLOBALS['bottom_include']); $this->includeTemplate($GLOBALS['bottom_include']);

View file

@ -1,3 +1,4 @@
<div id="sidebar"> <div id="sidebar">
<?php <?php