From cbe296b244de761082071c7946c55bb3c1dcbd06 Mon Sep 17 00:00:00 2001 From: Brian Holland Date: Mon, 12 Apr 2010 16:27:30 +0000 Subject: Add missing "media-reorder" function to Album Page --- modules/lightbox/functions/lb_head.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'modules') diff --git a/modules/lightbox/functions/lb_head.php b/modules/lightbox/functions/lb_head.php index c80981792f..3e6fd4be6b 100644 --- a/modules/lightbox/functions/lb_head.php +++ b/modules/lightbox/functions/lb_head.php @@ -194,8 +194,8 @@ require_once WT_ROOT.'includes/media_reorder_count.php'; } } /* - //Album Reorder Media ( If media exists and is greater than 1 item ) ----- - if (WT_USER_CAN_EDIT && $tot_med_ct>1) { + // Album Reorder Media ----- + if (WT_USER_CAN_EDIT) { if ($LB_AL_HEAD_LINKS == "both") { print ""; print "" ; @@ -224,9 +224,8 @@ require_once WT_ROOT.'includes/media_reorder_count.php'; } */ - //Popup Reorder Media ( If media exists and is greater than 1 item ) ----- - global $tot_med_ct; - if (WT_USER_CAN_EDIT && $tot_med_ct>1) { + // Popup Reorder Media ----- + if (WT_USER_CAN_EDIT ) { if ($LB_AL_HEAD_LINKS == "both") { print ""; print "" ; -- cgit v1.3