public function generatePluginListing()
    {
        $html = $this->generateHeader('Plugins');

        $html .= '<section><h1>Plugins</h1>';
        $html .= '<table class="propTable">';
        foreach ($this->server->getPlugins() as $plugin) {
            $info = $plugin->getPluginInfo();
            $html .= '<tr><th>'.$info['name'].'</th>';
            $html .= '<td>'.$info['description'].'</td>';
            $html .= '<td>';
            if (isset($info['link']) && $info['link']) {
                $html .= '<a href="'.$this->escapeHTML($info['link']).'"><span class="oi" data-glyph="book"></span></a>';
            }
            $html .= '</td></tr>';
        }
        $html .= '</table>';
        $html .= '</section>';

        /* Start of generating actions */

        $html .= $this->generateFooter();

        return $html;
    }
public function generatePluginListing()
    {
        $html = $this->generateHeader('Plugins');

        $html .= '<section><h1>Plugins</h1>';
        $html .= '<table class="propTable">';
        foreach ($this->server->getPlugins() as $plugin) {
            $info = $plugin->getPluginInfo();
            $html .= '<tr><th>'.$info['name'].'</th>';
            $html .= '<td>'.$info['description'].'</td>';
            $html .= '<td>';
            if (isset($info['link']) && $info['link']) {
                $html .= '<a href="'.$this->escapeHTML($info['link']).'"><span class="oi" data-glyph="book"></span></a>';
            }
            $html .= '</td></tr>';
        }
        $html .= '</table>';
        $html .= '</section>';

        /* Start of generating actions */

        $html .= $this->generateFooter();

        return $html;
    }
public function generatePluginListing ( ) { $ html = $ this -> generateHeader ( 'Plugins' ) ; $ html .= '<section><h1>Plugins</h1>' ; $ html .= '<table class="propTable">' ; foreach ( $ this -> server -> getPlugins ( ) as $ plugin ) { $ info = $ plugin -> getPluginInfo ( ) ; $ html .= '<tr><th>' . $ info [ 'name' ] . '</th>' ; $ html .= '<td>' . $ info [ 'description' ] . '</td>' ; $ html .= '<td>' ; if ( isset ( $ info [ 'link' ] ) && $ info [ 'link' ] ) { $ html .= '<a href="' . $ this -> escapeHTML ( $ info [ 'link' ] ) . '"><span class="oi" data-glyph="book"></span></a>' ; } $ html .= '</td></tr>' ; } $ html .= '</table>' ; $ html .= '</section>' ; /* Start of generating actions */ $ html .= $ this -> generateFooter ( ) ; return $ html ; }
Generates the 'plugins' page.

@return string
Generates the plugins page .