mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 04:56:06 +00:00
check for missing class 'finfo', add style table-sm
This commit is contained in:
parent
fd90623de4
commit
a7e214b5a9
|
@ -59,7 +59,7 @@ class SeedDMS_View_Info extends SeedDMS_Theme_Style {
|
|||
$this->columnStart(6);
|
||||
$this->contentHeading(getMLText("seeddms_info"));
|
||||
$seedextensions = $extmgr->getExtensionConfiguration();
|
||||
echo "<table class=\"table table-condensed\">\n";
|
||||
echo "<table class=\"table table-condensed table-sm\">\n";
|
||||
echo "<thead>\n<tr>\n";
|
||||
echo "<th>".getMLText("name");
|
||||
echo "</th>\n";
|
||||
|
@ -76,7 +76,7 @@ class SeedDMS_View_Info extends SeedDMS_Theme_Style {
|
|||
$this->columnStart(6);
|
||||
if($user->isAdmin()) {
|
||||
$this->contentHeading(getMLText("php_info"));
|
||||
echo "<table class=\"table table-condensed\">\n";
|
||||
echo "<table class=\"table table-condensed table-sm\">\n";
|
||||
echo "<thead>\n<tr>\n";
|
||||
echo "<th>".getMLText("name");
|
||||
echo "</th>\n";
|
||||
|
@ -87,7 +87,7 @@ class SeedDMS_View_Info extends SeedDMS_Theme_Style {
|
|||
|
||||
$this->contentHeading(getMLText("installed_php_extensions"));
|
||||
$phpextensions = get_loaded_extensions(false);
|
||||
echo "<table class=\"table table-condensed\">\n";
|
||||
echo "<table class=\"table table-condensed table-sm\">\n";
|
||||
echo "<thead>\n<tr>\n";
|
||||
echo "<th>".getMLText("name");
|
||||
echo "</th>\n";
|
||||
|
@ -97,7 +97,7 @@ class SeedDMS_View_Info extends SeedDMS_Theme_Style {
|
|||
echo "</tbody>\n</table>\n";
|
||||
|
||||
$this->contentHeading(getMLText("missing_php_extensions"));
|
||||
echo "<table class=\"table table-condensed\">\n";
|
||||
echo "<table class=\"table table-condensed table-sm\">\n";
|
||||
echo "<thead>\n<tr>\n";
|
||||
echo "<th>".getMLText("name");
|
||||
echo "</th>\n";
|
||||
|
@ -107,11 +107,11 @@ class SeedDMS_View_Info extends SeedDMS_Theme_Style {
|
|||
echo "<tr><td>".$extname."</td><td>"."</td></tr>\n";
|
||||
echo "</tbody>\n</table>\n";
|
||||
|
||||
$this->contentHeading(getMLText("missing_php_functions"));
|
||||
echo "<table class=\"table table-condensed\">\n";
|
||||
$this->contentHeading(getMLText("missing_php_functions_and_classes"));
|
||||
echo "<table class=\"table table-condensed table-sm\">\n";
|
||||
echo "<thead>\n<tr>\n";
|
||||
echo "<th>".getMLText("name");
|
||||
echo "<th>".getMLText("missing_func_note");
|
||||
echo "<th>".getMLText("missing_func_class_note");
|
||||
echo "</th>\n";
|
||||
echo "</tr>\n</thead>\n<tbody>\n";
|
||||
foreach(array('proc_open') as $funcname) {
|
||||
|
@ -119,12 +119,17 @@ class SeedDMS_View_Info extends SeedDMS_Theme_Style {
|
|||
echo "<tr><td>".$funcname."</td><td>".getMLText('func_'.$funcname."_missing")."</td></tr>";
|
||||
}
|
||||
}
|
||||
foreach(array('finfo') as $classname) {
|
||||
if(!class_exists($classname)) {
|
||||
echo "<tr><td>".$classname."</td><td>".getMLText('class_'.$classname."_missing")."</td></tr>";
|
||||
}
|
||||
}
|
||||
echo "</tbody>\n</table>\n";
|
||||
|
||||
if(function_exists('apache_get_modules')) {
|
||||
$this->contentHeading(getMLText("installed_apache_extensions"));
|
||||
$apacheextensions = apache_get_modules();
|
||||
echo "<table class=\"table table-condensed\">\n";
|
||||
echo "<table class=\"table table-condensed table-sm\">\n";
|
||||
echo "<thead>\n<tr>\n";
|
||||
echo "<th>".getMLText("name");
|
||||
echo "</th>\n";
|
||||
|
|
Loading…
Reference in New Issue
Block a user