just minor tweaks to position the "Logged in as" string in the new place.
git-svn-id: svn://10.0.0.236/trunk@192049 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
24f914adb6
commit
adb6f5735a
@ -67,6 +67,14 @@ body {
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
#header div#auth {
|
||||
display:inline;
|
||||
position:absolute;
|
||||
top:11px;
|
||||
right:0px;
|
||||
margin-right: 200px;
|
||||
}
|
||||
|
||||
#key-menu {
|
||||
background: #B2C1C8 url("../../images/header-bottom.gif") 0 100% no-repeat;
|
||||
padding: 0 0 10px 0;
|
||||
|
||||
@ -9,13 +9,8 @@ function addUsernameToHeader()
|
||||
|
||||
if (username && username.length > 0) {
|
||||
|
||||
var authdiv = document.createElement('div');
|
||||
document.writeln('<div id="auth">Logged in as: ' + htmlEntities(username) + '</div>');
|
||||
|
||||
authdiv.setAttribute('id','auth');
|
||||
|
||||
authdiv.innerHTML = 'Logged in as: ' + htmlEntities(username);
|
||||
|
||||
document.getElementById('header').appendChild(authdiv);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -40,6 +40,12 @@
|
||||
<h1><a href="{$config.webpath}/?app=firefox" title="Return to home page" accesskey="1"><img src="{$config.webpath}/images/title-firefox.gif" width="276" height="54" alt="Firefox Add-ons Beta"></a></h1>
|
||||
{/if}
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
addUsernameToHeader();
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
<form id="search" method="get" action="{$config.webpath}/search.php" title="Search Mozilla Update">
|
||||
<div>
|
||||
<label for="q" title="Search Mozilla Update">search:</label>
|
||||
@ -64,13 +70,6 @@
|
||||
</div>
|
||||
<!-- end header -->
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
addUsernameToHeader();
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
|
||||
<hr class="hide">
|
||||
|
||||
{if $systemMessage}
|
||||
|
||||
@ -39,6 +39,12 @@
|
||||
<h1><a href="{$config.webpath}/firefox/" title="Return to home page" accesskey="1"><img src="{$config.webpath}/images/title-firefox.gif" width="276" height="54" alt="Firefox Add-ons Beta"></a></h1>
|
||||
{/if}
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
addUsernameToHeader();
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
<form id="search" method="get" action="{$config.webpath}/search.php" title="Search Mozilla Update">
|
||||
<div>
|
||||
<label for="q" title="Search Mozilla Update">search:</label>
|
||||
@ -63,13 +69,6 @@
|
||||
</div>
|
||||
<!-- end header -->
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
addUsernameToHeader();
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
|
||||
<hr class="hide">
|
||||
|
||||
{if $systemMessage}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user