2
Hi,
it's because you have a link just before <form>, you had two solution :
1 , add a cell for your link, and a cell for you form.
2 , this one :
<tr>
<td class="subLinks">
<{if $xoops_isuser}>
<a href="<{$xoops_url}>/store">Store</a> |
<a href="<{$xoops_url}>/user.php">Profile</a> |
<a href="<{$xoops_url}>/edituser.php">Edit Profile</a> |
<a href="<{$xoops_url}>/notifications.php">Notifications</a> |
<{php}>
GLOBAL $xoopsUser;
$pm_handler =& xoops_gethandler('privmessage');
$uid = $xoopsUser->getVar('uid');
$criteria = new CriteriaCompo(new Criteria('read_msg', 0));
$criteria->add(new Criteria('to_userid', $uid));
$msgcount = $pm_handler->getCount($criteria);
$GLOBALS['xoopsTpl']->assign('msgcount', $msgcount);
<{/php}>
<{if $msgcount > 0}>
<a class="highlight" href="<{$xoops_url}>/viewpmsg.php">Inbox (<span style="color:#ffff00; font-weight: bold;"><{$msgcount}></span>)</a> |
<{else}>
<a href="<{$xoops_url}>/viewpmsg.php">Inbox</a> |
<{/if}>
<{if $xoops_isadmin}>
<a href="<{$xoops_url}>/admin.php">Administration</a> |
<{/if}>
<a href="<{$xoops_url}>/user.php?op=logout">Logout</a>
<{else}>
<form action="<{$xoops_url}>/user.php" method="post">
<a href="<{$xoops_url}>/store">Store</a> |
Username
<input type="text" name="uname" size="12" value="<{$block.unamevalue}>" maxlength="25">
Password
<input type="password" name="pass" size="12" maxlength="32">
<!-- <input type="checkbox" name="rememberme" value="On" class ="formButton" /><{$block.lang_rememberme}><br /> //-->
<input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>">
<input type="hidden" name="op" value="login">
<input id="UserFormBut" type="submit" value="ENTER">
<{$block.sslloginlink}><a href="<{$xoops_url}>/user.php#lost">Lost Password</a> |
<a href="<{$xoops_url}>/register.php">Become a Member</a>
</form>
<{/if}>
</td>
</tr>
Tell me if it works