/**
  * Display video edition form
  *
  * @access	private
  */
 private function display_edit_video()
 {
     $aliens = $this->get_aliens();
     Html::mm_edit_video('o', $this->_medias[0]->_name, $this->_medias[0]->_permalink, $this->_medias[0]->_description);
     $categories = explode(',', $this->_medias[0]->_category);
     foreach ($this->_categories as $key => $value) {
         Html::category($key, $value, $categories);
     }
     Html::mm_edit_video('m');
     if (!empty($aliens)) {
         foreach ($aliens as $alien) {
             Html::mm_opt_actions($alien->_id, $alien->_name, $this->_medias[0]->_attachment);
         }
     }
     Html::mm_edit_video('c', $this->_medias[0]->_permalink, $this->_medias[0]->_id, VGet::type());
 }
 /**
  * Display photo album creation form
  *
  * @access	private
  */
 private function display_album()
 {
     if ($this->_user['album_photo']) {
         Html::nm_album('o');
         foreach ($this->_categories as $key => $value) {
             Html::category($key, $value);
         }
         Html::nm_album('c');
     }
 }
 /**
  * Display album edition page
  *
  * @access	private
  */
 private function display_edit_album()
 {
     $cats = explode(',', $this->_albums[0]->_category);
     Html::form('o', 'post', 'index.php?ns=media&ctl=albums&action=edit&id=' . $this->_albums[0]->_id);
     $this->display_album_actions();
     Html::ma_edit('o', $this->_albums[0]->_id, $this->_albums[0]->_permalink, $this->_albums[0]->_author_name, $this->_albums[0]->_date, $this->_albums[0]->_allow_comment, $this->_albums[0]->_name, $this->_albums[0]->_description);
     foreach ($this->_categories as $key => $value) {
         Html::category($key, $value, $cats);
     }
     Html::ma_edit('m', $this->_albums[0]->_id);
     if (!empty($this->_pictures)) {
         echo '<div id="labels">';
         foreach ($this->_pictures as $picture) {
             $dirname = dirname($picture->_permalink) . '/';
             $filename = basename($picture->_permalink);
             Html::ma_picture_label($picture->_id, $picture->_permalink, $dirname, $filename, $picture->_name, $picture->_author_name, $picture->_date, $this->_albums[0]->_id);
         }
         echo '</div>';
     } else {
         echo 'No photos in this album yet';
     }
     Html::ma_edit('c');
     Html::form('c');
 }