diff --git a/app/conference_centers/conference_center_edit.php b/app/conference_centers/conference_center_edit.php index 46fcdaf38a..7f45da8676 100644 --- a/app/conference_centers/conference_center_edit.php +++ b/app/conference_centers/conference_center_edit.php @@ -415,10 +415,10 @@ case 'mp3' : $mime_type = 'audio/mpeg'; break; case 'ogg' : $mime_type = 'audio/ogg'; break; } + echo ""; + echo button::create(['type'=>'button','title'=>$text['label-play'].' / '.$text['label-pause'],'icon'=>$_SESSION['theme']['button_icon_play'],'id'=>'recording_button_'.$instance_id,'style'=>'display: '.(!empty($mime_type) ? 'inline' : 'none'),'onclick'=>"recording_play('".$instance_id."')"]); + unset($playable, $mime_type); } - echo ""; - echo button::create(['type'=>'button','title'=>$text['label-play'].' / '.$text['label-pause'],'icon'=>$_SESSION['theme']['button_icon_play'],'id'=>'recording_button_'.$instance_id,'style'=>'display: '.(!empty($mime_type) ? 'inline' : 'none'),'onclick'=>"recording_play('".$instance_id."')"]); - unset($playable, $mime_type); echo "
\n"; echo $text['description-'.$instance_label]."\n"; echo "\n";