better icon layout
This commit is contained in:
parent
842b4467a9
commit
1fa4ec71f5
|
@ -728,7 +728,7 @@ class htmlButton extends htmlElement {
|
||||||
$name = ' name="' . $this->name . '"';
|
$name = ' name="' . $this->name . '"';
|
||||||
// image button
|
// image button
|
||||||
if ($this->isImageButton) {
|
if ($this->isImageButton) {
|
||||||
$class = ' class="smallImageButton"';
|
$class = ' class="smallImageButton align-middle"';
|
||||||
$style = ' style="background-image: url(../../graphics/' . $this->value . '); background-color: transparent;"';
|
$style = ' style="background-image: url(../../graphics/' . $this->value . '); background-color: transparent;"';
|
||||||
}
|
}
|
||||||
// text button
|
// text button
|
||||||
|
@ -2308,7 +2308,7 @@ class htmlLink extends htmlElement {
|
||||||
function generateHTML($module, $input, $values, $restricted, &$tabindex, $scope) {
|
function generateHTML($module, $input, $values, $restricted, &$tabindex, $scope) {
|
||||||
$image = '';
|
$image = '';
|
||||||
if ($this->image != null) {
|
if ($this->image != null) {
|
||||||
$image = '<img src="' . $this->image . '" alt="' . $this->text . '"> ';
|
$image = '<img class="align-middle" src="' . $this->image . '" alt="' . $this->text . '"> ';
|
||||||
}
|
}
|
||||||
$title = '';
|
$title = '';
|
||||||
if ($this->title != null) {
|
if ($this->title != null) {
|
||||||
|
|
|
@ -122,19 +122,19 @@ foreach ($toSort as $key => $value) {
|
||||||
</td>
|
</td>
|
||||||
<td align="right" height=30>
|
<td align="right" height=30>
|
||||||
<ul id="dropmenu" class="dropmenu">
|
<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
|
<?php
|
||||||
if (is_dir(dirname(__FILE__) . '/../docs/manual')) {
|
if (is_dir(dirname(__FILE__) . '/../docs/manual')) {
|
||||||
?>
|
?>
|
||||||
<li>
|
<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>
|
</li>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
if (sizeof($tools) > 0) {
|
if (sizeof($tools) > 0) {
|
||||||
?>
|
?>
|
||||||
<li>
|
<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>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
for ($i = 0; $i < sizeof($tools); $i++) {
|
for ($i = 0; $i < sizeof($tools); $i++) {
|
||||||
|
@ -165,7 +165,7 @@ foreach ($toSort as $key => $value) {
|
||||||
if ($_SESSION['config']->get_Suffix('tree') != "") {
|
if ($_SESSION['config']->get_Suffix('tree') != "") {
|
||||||
?>
|
?>
|
||||||
<li>
|
<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>
|
</li>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue