summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/admin_wind/views/admin.html.php1
-rw-r--r--themes/admin_wind/views/paginator.html.php4
2 files changed, 3 insertions, 2 deletions
diff --git a/themes/admin_wind/views/admin.html.php b/themes/admin_wind/views/admin.html.php
index 65473e57..e19c6aeb 100644
--- a/themes/admin_wind/views/admin.html.php
+++ b/themes/admin_wind/views/admin.html.php
@@ -29,6 +29,7 @@
<?= $theme->script("gallery.ajax.js") ?>
<?= $theme->script("gallery.dialog.js") ?>
<?= $theme->script("superfish/js/superfish.js") ?>
+ <?= $theme->script("jquery.scrollTo.js") ?>
<?= $theme->admin_head() ?>
diff --git a/themes/admin_wind/views/paginator.html.php b/themes/admin_wind/views/paginator.html.php
index 3cb0223d..b46d9741 100644
--- a/themes/admin_wind/views/paginator.html.php
+++ b/themes/admin_wind/views/paginator.html.php
@@ -27,6 +27,7 @@
//
?>
+<? if ($total): ?>
<ul class="g-paginator ui-helper-clearfix">
<li class="g-first">
<? if ($page_type == "collection"): ?>
@@ -61,8 +62,6 @@
<? else: ?>
<?= t("%position of %total", array("position" => $position, "total" => $total)) ?>
<? endif ?>
- <? else: ?>
- <?= t("No photos") ?>
<? endif ?>
</li>
@@ -86,3 +85,4 @@
<? endif ?>
</li>
</ul>
+<? endif ?> \ No newline at end of file