tweak hello/prefs/logout linkbar (refs #163)

This commit is contained in:
Andrew Dolgov 2007-11-17 10:59:19 +01:00
parent c03cf250e8
commit efae7595c4
4 changed files with 34 additions and 7 deletions

View File

@ -87,9 +87,9 @@ window.onload = init;
<div id="prefHeader">
<?php if (!SINGLE_USER_MODE) { ?>
<div style="float : right">
<?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b>
(<a href="logout.php"><?php echo __('Logout') ?></a>)
<div class="topLinks">
<?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b> |
<a href="logout.php"><?php echo __('Logout') ?></a>
</div>
<?php } ?>
<img src="<?php echo $theme_image_path ?>images/ttrss_logo.png" alt="Tiny Tiny RSS"/>

View File

@ -458,3 +458,11 @@ ul.headlineDropdownMenu ul li:hover {
.insensitive a:hover {
color : black;
}
div.topLinks a {
color : black;
}
div.topLinks a:hover {
color : gray;
}

View File

@ -1697,3 +1697,17 @@ div.autocomplete ul li {
#feedOpToolbar {
float : right;
}
div.topLinks {
float : right;
margin-right : 5px;
color : gray;
}
div.topLinks a {
color : #4684ff;
}
div.topLinks a:hover {
color : black;
}

View File

@ -103,11 +103,16 @@ window.onload = init;
<div id="infoBoxShadow"><div id="infoBox">&nbsp;</div></div>
<div id="header">
<div style="float : right">
<div class="topLinks">
<?php if (!SINGLE_USER_MODE) { ?>
<?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b>
(<a href="logout.php"><?php echo __('Logout') ?></a>)
<?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b> |
<?php } ?>
<a href="prefs.php"><?php echo __('Preferences') ?></a>
<?php if (!SINGLE_USER_MODE) { ?>
| <a href="logout.php"><?php echo __('Logout') ?></a>
<?php } ?>
<img id="newVersionIcon" style="display:none;" onclick="javascript:explainError(2)"
src="images/new_version.png" title="New version is available!"
alt="new_version_icon">
@ -129,7 +134,7 @@ window.onload = init;
<select id="quickMenuChooser" onchange="quickMenuChange()">
<option value="qmcDefault" selected><?php echo __('Actions...') ?></option>
<option value="qmcSearch"><?php echo __('Search') ?></option>
<option value="qmcPrefs"><?php echo __('Preferences') ?></option>
<!-- <option value="qmcPrefs"><?php echo __('Preferences') ?></option> -->
<option disabled>--------</option>
<option style="color : #5050aa" disabled><?php echo __('Feed actions:') ?></option>
<option value="qmcAddFeed"><?php echo __('&nbsp;&nbsp;Subscribe to feed') ?></option>