use new methods for rows and columns

This commit is contained in:
Uwe Steinmann 2020-10-07 18:33:22 +02:00
parent b5f252cd54
commit 919fdd6590

View File

@ -54,10 +54,9 @@ class SeedDMS_View_Info extends SeedDMS_Bootstrap_Style {
} else { } else {
$this->warningMsg(getMLText('no_version_check')); $this->warningMsg(getMLText('no_version_check'));
} }
?>
<div class="row-fluid"> $this->rowStart();
<div class="span6"> $this->columnStart(6);
<?php
$this->contentHeading(getMLText("seeddms_info")); $this->contentHeading(getMLText("seeddms_info"));
$seedextensions = $extmgr->getExtensionConfiguration(); $seedextensions = $extmgr->getExtensionConfiguration();
echo "<table class=\"table table-condensed\">\n"; echo "<table class=\"table table-condensed\">\n";
@ -73,10 +72,8 @@ class SeedDMS_View_Info extends SeedDMS_Bootstrap_Style {
echo "<tr><td>".$extname."<br />".$extconf['title']."</td><td>".$extconf['version']."</td></tr>\n"; echo "<tr><td>".$extname."<br />".$extconf['title']."</td><td>".$extconf['version']."</td></tr>\n";
} }
echo "</tbody>\n</table>\n"; echo "</tbody>\n</table>\n";
?> $this->columnEnd();
</div> $this->columnStart(6);
<div class="span6">
<?php
if($user->isAdmin()) { if($user->isAdmin()) {
$this->contentHeading(getMLText("php_info")); $this->contentHeading(getMLText("php_info"));
echo "<table class=\"table table-condensed\">\n"; echo "<table class=\"table table-condensed\">\n";
@ -110,10 +107,8 @@ class SeedDMS_View_Info extends SeedDMS_Bootstrap_Style {
echo "<tr><td>".$extname."</td><td>"."</td></tr>\n"; echo "<tr><td>".$extname."</td><td>"."</td></tr>\n";
echo "</tbody>\n</table>\n"; echo "</tbody>\n</table>\n";
} }
?> $this->columnEnd();
</div> $this->rowEnd();
</div>
<?php
$this->contentEnd(); $this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */