aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorericdane <ericdane@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-04-11 08:42:36 +0000
committerericdane <ericdane@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-04-11 08:42:36 +0000
commit39cf52851529c0d91d69307186c6bf5e9f362735 (patch)
tree0b8b19788b7dcfeb0c5e4308a43648c3497822dd
parent5a25753cfaff42b712f4e9add60519ea6f22146c (diff)
downloadsemanticscuttle-39cf52851529c0d91d69307186c6bf5e9f362735.tar.gz
semanticscuttle-39cf52851529c0d91d69307186c6bf5e9f362735.tar.bz2
minor : html line break insert
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@104 b3834d28-1941-0410-a4f8-b48e95affb8f
-rw-r--r--templates/bookmarks.tpl.php12
-rw-r--r--templates/sidebar.tpl.php1
2 files changed, 5 insertions, 8 deletions
diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php
index d48aa1b..556d92e 100644
--- a/templates/bookmarks.tpl.php
+++ b/templates/bookmarks.tpl.php
@@ -216,18 +216,14 @@ window.onload = playerLoad;
$totalpages = ceil($total / $perpage);
if (count($bookmarks) < $perpage || $perpage * $page == $total) {
$bnext = '<span class="disable">'. T_('Next') .'</span>';
- $blast = '<span class="disable">'. T_('Last') .'</span>';
+ $blast = '<span class="disable">'. T_('Last') ."</span>\n";
} else {
$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 {
-?>
-
- <p class="error"><?php echo T_('No bookmarks available'); ?></p>
-
-<?php
+ echo '<p class="error">'.T_('No bookmarks available').'</p>';
}
$this->includeTemplate('sidebar.tpl');
$this->includeTemplate($GLOBALS['bottom_include']);
diff --git a/templates/sidebar.tpl.php b/templates/sidebar.tpl.php
index a90b584..7ae1fa1 100644
--- a/templates/sidebar.tpl.php
+++ b/templates/sidebar.tpl.php
@@ -1,3 +1,4 @@
+
<div id="sidebar">
<?php