/**
  * Display retrieved plugins
  *
  * @access	private
  */
 private function display_plugins()
 {
     Html::form('o', 'post', 'index.php?ns=plugins&ctl=library');
     Html::lib_actions();
     echo '<section id="labels">';
     if (!empty($this->_plugins)) {
         foreach ($this->_plugins as $plugin) {
             Html::lib_plg_label($plugin['user'], $plugin['repo'], $plugin['download'], $plugin['description'], $plugin['website']);
         }
     } else {
         echo 'No plugins found!';
     }
     echo '</section>';
     Html::form('c');
 }
 /**
  * Display plugins links
  *
  * @access	private
  */
 private function display_plugins()
 {
     echo '<section id="labels">';
     if (!empty($this->_plugins)) {
         foreach ($this->_plugins as $plg) {
             Html::plg_link_label($plg->_name, $plg->_data['namespace'], $plg->_data['entry_point']);
         }
     } else {
         echo 'No plugins installed right now!';
     }
     echo '</section>';
 }
 /**
  * Display page content
  *
  * @access	public
  */
 public function display_content()
 {
     $this->display_menu();
     if ($this->_user['settings']) {
         echo $this->_action_msg;
         Html::form('o', 'post', 'index.php?ns=plugins&ctl=add', true);
         Html::ap_form();
         Html::form('c');
     } else {
         echo ActionMessages::part_no_perm();
     }
 }