mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
use colums und rows from theme style
This commit is contained in:
parent
08e2c2d5ef
commit
70985572dc
|
@ -35,16 +35,24 @@ class SeedDMS_View_AdminTools extends SeedDMS_Theme_Style {
|
|||
return self::startRow().$content.self::endRow();
|
||||
} /* }}} */
|
||||
|
||||
static function startRow() { /* {{{ */
|
||||
return '<div class="row-fluid">';
|
||||
public function startRow() { /* {{{ */
|
||||
ob_start();
|
||||
$this->rowStart();
|
||||
return ob_get_clean();
|
||||
} /* }}} */
|
||||
|
||||
static function endRow() { /* {{{ */
|
||||
return '</div>';
|
||||
public function endRow() { /* {{{ */
|
||||
ob_start();
|
||||
$this->rowEnd();
|
||||
return ob_get_clean();
|
||||
} /* }}} */
|
||||
|
||||
static function rowButton($link, $icon, $label) { /* {{{ */
|
||||
return '<a href="'.$link.'" class="span2 btn btn-medium"><i class="fa fa-'.$icon.'"></i><br />'.getMLText($label).'</a>';
|
||||
public function rowButton($link, $icon, $label) { /* {{{ */
|
||||
ob_start();
|
||||
$this->columnStart(2);
|
||||
echo '<a href="'.$link.'" class="btn btn-medium btn-light btn-block btn-md"><i class="fa fa-'.$icon.'"></i><br />'.getMLText($label).'</a>';
|
||||
$this->columnEnd();
|
||||
return ob_get_clean();
|
||||
} /* }}} */
|
||||
|
||||
function show() { /* {{{ */
|
||||
|
@ -58,7 +66,7 @@ class SeedDMS_View_AdminTools extends SeedDMS_Theme_Style {
|
|||
$this->contentStart();
|
||||
$this->pageNavigation(getMLText("admin_tools"), "admin_tools");
|
||||
// $this->contentHeading(getMLText("admin_tools"));
|
||||
$this->contentContainerStart();
|
||||
// $this->contentContainerStart();
|
||||
?>
|
||||
<div id="admin-tools">
|
||||
<?php echo $this->callHook('beforeRows'); ?>
|
||||
|
@ -126,7 +134,7 @@ class SeedDMS_View_AdminTools extends SeedDMS_Theme_Style {
|
|||
<?php echo $this->callHook('afterRows'); ?>
|
||||
</div>
|
||||
<?php
|
||||
$this->contentContainerEnd();
|
||||
// $this->contentContainerEnd();
|
||||
$this->contentEnd();
|
||||
$this->htmlEndPage();
|
||||
} /* }}} */
|
||||
|
|
Loading…
Reference in New Issue
Block a user