aboutsummaryrefslogtreecommitdiffstats
path: root/admin.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/admin.php b/admin.php
index 213f33b75..4ccadccb5 100644
--- a/admin.php
+++ b/admin.php
@@ -240,6 +240,19 @@ if ($nb_photos_in_caddie > 0)
);
}
+// any orphan photo?
+$nb_orphans = count(get_orphans());
+
+if ($nb_orphans > 0)
+{
+ $template->assign(
+ array(
+ 'NB_ORPHANS' => $nb_orphans,
+ 'U_ORPHANS' => $link_start.'batch_manager&filter=prefilter-no_album',
+ )
+ );
+}
+
// +-----------------------------------------------------------------------+
// | Plugin menu |
// +-----------------------------------------------------------------------+