]> projects.mako.cc - scuttle/blobdiff - templates/bookmarks.tpl.php
- Override privacy status on bookmark file import, if specified (i.e. Delicious)
[scuttle] / templates / bookmarks.tpl.php
index ab35787766c1a9c1b7ba7e89ff6b0c2e4a67ab8d..c79655ea229d87fb2c6e2ed31423275583beaf19 100644 (file)
@@ -10,16 +10,12 @@ if (count($bookmarks) > 0) {
 ?>
 
 <p id="sort">
-    <?php echo T_("Sort by:"); ?>
-    <a href="?sort=date_desc"><?php echo T_("Date"); ?></a><span> / </span>
-    <a href="?sort=title_asc"><?php echo T_("Title"); ?></a><span> / </span>
-    <?php
-    if (!isset($hash)) {
-    ?>
+  <?php echo T_("Sort by:"); ?>
+  <a href="?sort=date_desc"><?php echo T_("Date"); ?></a><span> / </span>
+  <a href="?sort=title_asc"><?php echo T_("Title"); ?></a><span> / </span>
+  <?php if (!isset($hash)): ?>
     <a href="?sort=url_asc"><?php echo T_("URL"); ?></a>
-    <?php
-    }
-    ?>
+  <?php endif; ?>
 </p>
 <ol<?php echo ($start > 0 ? ' start="'. ++$start .'"' : ''); ?> id="bookmarks">
 

Benjamin Mako Hill || Want to submit a patch?