remove some table headers as they are obvious

This commit is contained in:
Uwe Steinmann 2026-02-05 07:44:38 +01:00
parent 9352af2958
commit fc6c855b69

View File

@ -56,9 +56,10 @@ class SeedDMS_View_Info extends SeedDMS_Theme_Style {
$this->columnStart(6);
$this->contentHeading(getMLText("seeddms_info"));
echo "<table class=\"table table-condensed table-sm\">\n";
echo "<thead>\n<tr>\n";
echo "<th>".getMLText("name")."</th><th></th>\n";
echo "</tr>\n</thead>\n<tbody>\n";
// echo "<thead>\n<tr>\n";
// echo "<th>".getMLText("name")."</th><th></th>\n";
// echo "</tr>\n</thead>\n";
echo "<tbody>\n";
$dbversion = $dms->getDBVersion();
echo "<tr><td>".getMLText('seeddms_version')."</td><td>".$version->version()."</td></tr>\n";
if($user->isAdmin()) {
@ -72,9 +73,10 @@ class SeedDMS_View_Info extends SeedDMS_Theme_Style {
$result = new WhichBrowser\Parser($_SERVER['HTTP_USER_AGENT']);
$this->contentHeading(getMLText("browser_info"));
echo "<table class=\"table table-condensed table-sm\">\n";
echo "<thead>\n<tr>\n";
echo "<th>".getMLText("name")."</th><th></th>\n";
echo "</tr>\n</thead>\n<tbody>\n";
// echo "<thead>\n<tr>\n";
// echo "<th>".getMLText("name")."</th><th></th>\n";
// echo "</tr>\n</thead>\n";
echo "<tbody>\n";
echo "<tr><td>".getMLText('browser_info_browser')."</td><td>".$result->browser->toString()."</td></tr>\n";
echo "<tr><td>".getMLText('browser_info_engine')."</td><td>".$result->engine->toString()."</td></tr>\n";
echo "<tr><td>".getMLText('browser_info_os')."</td><td>".$result->os->toString()."</td></tr>\n";
@ -112,9 +114,10 @@ class SeedDMS_View_Info extends SeedDMS_Theme_Style {
if($user->isAdmin()) {
$this->contentHeading(getMLText("php_info"));
echo "<table class=\"table table-condensed table-sm\">\n";
echo "<thead>\n<tr>\n";
echo "<th>".getMLText("name")."</th><th></th>\n";
echo "</tr>\n</thead>\n<tbody>\n";
// echo "<thead>\n<tr>\n";
// echo "<th>".getMLText("name")."</th><th></th>\n";
// echo "</tr>\n</thead>\n";
echo "<tbody>\n";
echo "<tr><td>PHP</td><td>".phpversion()."</td></tr>\n";
echo "<tr><td>Path to php.ini</td><td>".php_ini_loaded_file()."</td></tr>\n";
echo "<tr><td>Timezone</td><td>".date_default_timezone_get()." (Current date/time on server is ".getLongReadableDate(time()).")</td></tr>\n";