12
<{if $xoops_isuser}>
<td id="top1">
Hallo <{$xoops_uname}>!
<a class="userbar" href="<{$xoops_url}>/modules/news">Hjema>
<a class="userbar" href="<{$xoops_url}>/modules/myalbum/index.php">Båtregistera>
<a class="userbar" href="<{$xoops_url}>/newbb/viewforum.php?forum=1">Foruma>
<a class="userbar" href="<{$xoops_url}>/modules/xfguestbook/index.php">Søk jobba>
<a class="userbar" href="<{$xoops_url}>/user.php?op=logout">Logg uta>
<{if $xoops_isadmin}>
<a class="userbar" href="<{$xoops_url}>/admin.php" target="blank">Admina>
<{/if}>
td>
<td id="top2" align="right">
<form style="margin-top: 0px;margin-bottom: 3px;padding-right:30px;" action="<{$xoops_url}>/search.php" method="post">
<input type="text" name="query" size="12" /><input type="hidden" name="action" value="results" />
<input type="submit" class="button" value="Søk" />
form>
td>
<{else}>
<td id="top1">
<a class="login" href="<{$xoops_url}>/user.php"><u>Logg innu>a>
eller
<a class="login" href="<{$xoops_url}>/register.php"><u>Bli medlemu>a>
td>
<td id="top2" align="right">
<form style="margin-top: 0px;margin-bottom: 3px;padding-right:30px;" action="<{$xoops_url}>/search.php" method="post">
<input type="text" name="query" size="12" /><input type="hidden" name="action" value="results" />
<input type="submit" class="button" value="Cerca" />
form>
td>
<{/if}>
Change the above to:
<{if $xoops_isuser}>
<td id="top1">
Hallo <{$xoops_uname}>!
<a class="userbar" href="<{$xoops_url}>/modules/news">Hjema>
<a class="userbar" href="<{$xoops_url}>/modules/myalbum/index.php">Båtregistera>
<a class="userbar" href="<{$xoops_url}>/newbb/viewforum.php?forum=1">Foruma>
<a class="userbar" href="<{$xoops_url}>/modules/xfguestbook/index.php">Søk jobba>
<a class="userbar" href="<{$xoops_url}>/user.php?op=logout">Logg uta>
<{if $xoops_isadmin}>
<a class="userbar" href="<{$xoops_url}>/admin.php" target="blank">Admina>
<{/if}>
td>
<td id="top2" align="right">
<form style="margin-top: 0px;margin-bottom: 3px;padding-right:30px;" action="<{$xoops_url}>/search.php" method="post">
<input type="text" name="query" size="12" /><input type="hidden" name="action" value="results" />
<input type="submit" class="button" value="Søk" />
form>
td>
<{else}>
<td id="top1">
<a class="login" href="<{$xoops_url}>/user.php"><u>Logg innu>a>
eller
<a class="login" href="<{$xoops_url}>/register.php"><u>Bli medlemu>a>
<a class="userbar" href="<{$xoops_url}>/modules/news">Hjema>
<a class="userbar" href="<{$xoops_url}>/modules/myalbum/index.php">Båtregistera>
<a class="userbar" href="<{$xoops_url}>/newbb/viewforum.php?forum=1">Foruma>
<a class="userbar" href="<{$xoops_url}>/modules/xfguestbook/index.php">Søk jobba>
td>
<td id="top2" align="right">
<form style="margin-top: 0px;margin-bottom: 3px;padding-right:30px;" action="<{$xoops_url}>/search.php" method="post">
<input type="text" name="query" size="12" /><input type="hidden" name="action" value="results" />
<input type="submit" class="button" value="Cerca" />
form>
td>
<{/if}>