From 1fa4ec71f53cdea7848caa931c664954121ede5b Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 18 Aug 2012 15:53:52 +0000 Subject: [PATCH] better icon layout --- lam/lib/html.inc | 4 ++-- lam/templates/main_header.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lam/lib/html.inc b/lam/lib/html.inc index 3b6b7254..5b447af8 100644 --- a/lam/lib/html.inc +++ b/lam/lib/html.inc @@ -728,7 +728,7 @@ class htmlButton extends htmlElement { $name = ' name="' . $this->name . '"'; // image button if ($this->isImageButton) { - $class = ' class="smallImageButton"'; + $class = ' class="smallImageButton align-middle"'; $style = ' style="background-image: url(../../graphics/' . $this->value . '); background-color: transparent;"'; } // text button @@ -2308,7 +2308,7 @@ class htmlLink extends htmlElement { function generateHTML($module, $input, $values, $restricted, &$tabindex, $scope) { $image = ''; if ($this->image != null) { - $image = '' . $this->text . ' '; + $image = '' . $this->text . ' '; } $title = ''; if ($this->title != null) { diff --git a/lam/templates/main_header.php b/lam/templates/main_header.php index 4a084857..87be2d0c 100644 --- a/lam/templates/main_header.php +++ b/lam/templates/main_header.php @@ -122,19 +122,19 @@ foreach ($toSort as $key => $value) {