added a count of total bookmarks on each page
[scuttle] / templates / top.inc.php
index 68786224f881dcc5fcd2dabfc548ab1093187b9a..390fbf392ab165be9ad82d1a191da65e15da0afa 100644 (file)
@@ -41,7 +41,11 @@ if (isset($_GET['popup'])) {
 
 <?php
 if (isset($subtitle)) {
-    echo '<h2>'. $subtitle ."</h2>\n";
+    echo '<h2>'. $subtitle;
+    if (isset($total)) {
+        echo " (" . $total . ")";
+    }
+    echo "</h2>\n";
 }
 if (isset($error)) {
     echo '<p class="error">'. $error ."</p>\n";

Benjamin Mako Hill || Want to submit a patch?