/**
  * Display applicable actions buttons
  *
  * @access	private
  * @param	string [$position] $position can only contain 'top' or 'butt'
  */
 private function display_actions($position)
 {
     if (!empty($this->_medias)) {
         if ($position == 'top') {
             foreach ($this->_dates as $item) {
                 $key = $item['date'];
                 $dates[$key] = date('F Y', strtotime($key));
             }
             Html::mm_delete();
             Html::mm_actions('o', $this->_view_type);
             foreach ($dates as $key => $date) {
                 Html::mm_opt_actions($key, $date);
             }
             if ($this->_view_type == 'video') {
                 Html::mm_video_cat();
                 foreach ($this->_categories as $key => $value) {
                     Html::mm_opt_actions($key, ucwords($value));
                 }
             }
             Html::mm_actions('c');
         } elseif ($position == 'butt') {
             Html::mm_delete();
         }
     }
 }