1
Can someone look at my theme.html and tell me what is wrong. The problem is with the "login username/pwd" boxes. They are supposed to be on the same row as the "store" link. Once you login, the usermenu does line up correctly. Below is the code, and you can see it at
http://www.4x4n.com: <tr>
<td class="subLinks">
<a href="<{$xoops_url}>/store">Storea> |
<{if $xoops_isuser}>
<a href="<{$xoops_url}>/user.php">Profilea> |
<a href="<{$xoops_url}>/edituser.php">Edit Profilea> |
<a href="<{$xoops_url}>/notifications.php">Notificationsa> |
<{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">Inboxa> |
<{/if}>
<{if $xoops_isadmin}>
<a href="<{$xoops_url}>/admin.php">Administrationa> |
<{/if}>
<a href="<{$xoops_url}>/user.php?op=logout">Logouta>
<{else}>
<form action="<{$xoops_url}>/user.php" method="post">
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="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 Passworda> |
<a href="<{$xoops_url}>/register.php">Become a Membera>
form>
<{/if}>
td>
tr>