better icon layout
This commit is contained in:
parent
842b4467a9
commit
1fa4ec71f5
|
@ -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 = '<img src="' . $this->image . '" alt="' . $this->text . '"> ';
|
||||
$image = '<img class="align-middle" src="' . $this->image . '" alt="' . $this->text . '"> ';
|
||||
}
|
||||
$title = '';
|
||||
if ($this->title != null) {
|
||||
|
|
|
@ -122,19 +122,19 @@ foreach ($toSort as $key => $value) {
|
|||
</td>
|
||||
<td align="right" height=30>
|
||||
<ul id="dropmenu" class="dropmenu">
|
||||
<li><a href="<?php echo $headerPrefix; ?>logout.php" target="_top"><img height="16" width="16" alt="logout" src="<?php echo $headerPrefix; ?>../graphics/exit.png"> <?php echo _("Logout") ?></a></li>
|
||||
<li><a href="<?php echo $headerPrefix; ?>logout.php" target="_top"><img class="align-middle" height="16" width="16" alt="logout" src="<?php echo $headerPrefix; ?>../graphics/exit.png"> <?php echo _("Logout") ?></a></li>
|
||||
<?php
|
||||
if (is_dir(dirname(__FILE__) . '/../docs/manual')) {
|
||||
?>
|
||||
<li>
|
||||
<a target="_blank" href="<?php echo $headerPrefix; ?>../docs/manual/index.html"><img width="16" height="16" alt="help" src="<?php echo $headerPrefix; ?>../graphics/help.png"> <?php echo _("Help") ?> </a>
|
||||
<a target="_blank" href="<?php echo $headerPrefix; ?>../docs/manual/index.html"><img class="align-middle" width="16" height="16" alt="help" src="<?php echo $headerPrefix; ?>../graphics/help.png"> <?php echo _("Help") ?> </a>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
if (sizeof($tools) > 0) {
|
||||
?>
|
||||
<li>
|
||||
<a href="<?php echo $headerPrefix; ?>tools.php"><img height="16" width="16" alt="tools" src="<?php echo $headerPrefix; ?>../graphics/tools.png"> <?php echo _("Tools") ?></a>
|
||||
<a href="<?php echo $headerPrefix; ?>tools.php"><img class="align-middle" height="16" width="16" alt="tools" src="<?php echo $headerPrefix; ?>../graphics/tools.png"> <?php echo _("Tools") ?></a>
|
||||
<ul>
|
||||
<?php
|
||||
for ($i = 0; $i < sizeof($tools); $i++) {
|
||||
|
@ -165,7 +165,7 @@ foreach ($toSort as $key => $value) {
|
|||
if ($_SESSION['config']->get_Suffix('tree') != "") {
|
||||
?>
|
||||
<li>
|
||||
<a href="<?php echo $headerPrefix; ?>tree/treeViewContainer.php"><img height="16" width="16" alt="tree" src="<?php echo $headerPrefix; ?>../graphics/process.png"> <?php echo _("Tree view") ?></a>
|
||||
<a href="<?php echo $headerPrefix; ?>tree/treeViewContainer.php"><img class="align-middle" height="16" width="16" alt="tree" src="<?php echo $headerPrefix; ?>../graphics/process.png"> <?php echo _("Tree view") ?></a>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue