/**
  * 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');
 }