mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-07 15:44:58 +00:00
60 lines
1.8 KiB
PHP
60 lines
1.8 KiB
PHP
<?php
|
|
/**
|
|
* Implementation of ExtensionMgr view
|
|
*
|
|
* @category DMS
|
|
* @package SeedDMS
|
|
* @license GPL 2
|
|
* @version @version@
|
|
* @author Uwe Steinmann <uwe@steinmann.cx>
|
|
* @copyright Copyright (C) 2013 Uwe Steinmann
|
|
* @version Release: @package_version@
|
|
*/
|
|
|
|
/**
|
|
* Include parent class
|
|
*/
|
|
require_once("class.Bootstrap.php");
|
|
|
|
/**
|
|
* Class which outputs the html page for ExtensionMgr view
|
|
*
|
|
* @category DMS
|
|
* @package SeedDMS
|
|
* @author Uwe Steinmann <uwe@steinmann.cx>
|
|
* @copyright Copyright (C) 2013 Uwe Steinmann
|
|
* @version Release: @package_version@
|
|
*/
|
|
class SeedDMS_View_ExtensionMgr extends SeedDMS_Bootstrap_Style {
|
|
|
|
function show() { /* {{{ */
|
|
$dms = $this->params['dms'];
|
|
$user = $this->params['user'];
|
|
$logfileenable = $this->params['logfileenable'];
|
|
$enablefullsearch = $this->params['enablefullsearch'];
|
|
|
|
$this->htmlStartPage(getMLText("admin_tools"));
|
|
$this->globalNavigation();
|
|
$this->contentStart();
|
|
$this->pageNavigation(getMLText("admin_tools"), "admin_tools");
|
|
$this->contentContainerStart();
|
|
echo "<table class=\"table-condensed\">\n";
|
|
print "<thead>\n<tr>\n";
|
|
print "<th>".getMLText('name')."</th>\n";
|
|
print "<th>".getMLText('version')."</th>\n";
|
|
print "<th>".getMLText('author')."</th>\n";
|
|
print "</tr></thead>\n";
|
|
foreach($GLOBALS['EXT_CONF'] as $extname=>$extconf) {
|
|
echo "<tr>";
|
|
echo "<td>".$extconf['title']."<br /><small>".$extconf['description']."</small></td>";
|
|
echo "<td>".$extconf['version']."</td>";
|
|
echo "<td><a href=\"mailto:".$extconf['author']['email']."\">".$extconf['author']['name']."</a><br /><small>".$extconf['author']['company']."</small></td>";
|
|
echo "</tr>\n";
|
|
}
|
|
echo "</table>\n";
|
|
$this->contentContainerEnd();
|
|
$this->htmlEndPage();
|
|
} /* }}} */
|
|
}
|
|
?>
|