summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3ce5baa)
The patch adds a count of the total number of bookmarks that would be
displayed if there were not a per-page limit for the current page. It is
added in parentheses to the subheader on each page or not shown at all
if the variable is not defined for the page.
<?php
if (isset($subtitle)) {
<?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";
}
if (isset($error)) {
echo '<p class="error">'. $error ."</p>\n";