This commit is contained in:
Naomi 2013-10-11 16:31:34 -04:00
parent 470f0b2a7f
commit f2a794168d
1 changed files with 15 additions and 15 deletions

View File

@ -83,23 +83,23 @@ class Application_Service_CalendarService
// the user is admin or hosting the show, // the user is admin or hosting the show,
// the show is not recorded // the show is not recorded
if ($now < $end && ($isAdminOrPM || $isHostOfShow) && if ($now < $end && ($isAdminOrPM || $isHostOfShow) &&
!$this->ccShowInstance->isRecorded() ) { !$this->ccShowInstance->isRecorded() ) {
$menu["schedule"] = array( $menu["schedule"] = array(
"name"=> _("Add / Remove Content"), "name"=> _("Add / Remove Content"),
"icon" => "add-remove-content", "icon" => "add-remove-content",
"url" => $baseUrl."showbuilder/builder-dialog/"); "url" => $baseUrl."showbuilder/builder-dialog/");
} }
if ($now < $start && ($isAdminOrPM || $isHostOfShow) && if ($now < $start && ($isAdminOrPM || $isHostOfShow) &&
!$this->ccShowInstance->isRecorded() ) { !$this->ccShowInstance->isRecorded() ) {
$menu["clear"] = array( $menu["clear"] = array(
"name"=> _("Remove All Content"), "name"=> _("Remove All Content"),
"icon" => "remove-all-content", "icon" => "remove-all-content",
"url" => $baseUrl."schedule/clear-show"); "url" => $baseUrl."schedule/clear-show");
} }
//"Show Content" should be a menu item at all times except when //"Show Content" should be a menu item at all times except when