nicer header line display
- all items levelled in one line - flags better centered in msie and in firefox - removed three white pixel lines (line 0-2) in firefox - all flags shown with a bit shadow, instead of only spain [and sweden] - nicer display of "logged in as <user>" - all labels in the same font instead of two fonts - smoother gradient background, espacially in winter Still not optimally vertical centered in chrome also fixed print css for some earlier changes to screen css
This commit is contained in:
@@ -99,31 +99,24 @@
|
||||
|
||||
<body>
|
||||
<div id="overall">
|
||||
<div id="langstripe">
|
||||
<div id="langstripe">
|
||||
|
||||
<!-- Navigation Level 1 -->
|
||||
<div class="nav1-container">
|
||||
<div class="nav1" style="text-align: right; margin-right: 20px;">
|
||||
{loginbox}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="navflag">
|
||||
<ul>
|
||||
<li><strong>{t}Language:{/t}</strong></li>
|
||||
<table class="nav1" cellspacing=0>
|
||||
<tr>
|
||||
<td width="100%">
|
||||
{loginbox}
|
||||
</td>
|
||||
<td><strong>{t}Language:{/t} </strong></td>
|
||||
<td>
|
||||
<?php
|
||||
$nbsp = "";
|
||||
foreach ($opt['template']['locales'] AS $k => $lang)
|
||||
{
|
||||
if ($lang['show'] == true)
|
||||
echo '<li>' . $nbsp . '<a style="text-decoration: none;" href="index.php?locale=' . $k . '"><img src="' . $lang['flag'] . '" alt="' . $lang['name'] . '" width="24px" height="24px" /></a></li>';
|
||||
// insert space between flags to match search.php layout with other pages (see RT ticket #4505);
|
||||
// reason of different flag spacing is unknown
|
||||
$nbsp = " ";
|
||||
}
|
||||
echo '<a style="text-decoration: none;" href="index.php?locale=' . $k . '"><img src="' . $lang['flag'] . '" alt="' . $lang['name'] . '" width="24px" height="18px" /></a> ';
|
||||
?>
|
||||
<li> <strong>{t}Country:{/t}</strong></li>
|
||||
<li>
|
||||
</td>
|
||||
<td> <strong>{t}Country:{/t} </strong></td>
|
||||
<td>
|
||||
<select id="usercountry" onclick="javascript:usercountry_change()">
|
||||
<?php
|
||||
global $tpl_usercountries;
|
||||
@@ -148,11 +141,11 @@
|
||||
echo '<option value="' . htmlspecialchars($tpl_usercountries[$i]['country'], ENT_COMPAT, 'UTF-8') . '"' . (($sUserCountry==$tpl_usercountries[$i]['country']) ? ' selected="selected"' : '') . '>' . htmlspecialchars($tpl_usercountries[$i]['name'], ENT_COMPAT, 'UTF-8') . '</option>';
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="page-container-1" style="position: relative;">
|
||||
<div id="bg1"> </div>
|
||||
<div id="bg2"> </div>
|
||||
|
||||
Reference in New Issue
Block a user