Changeset 1500 for trunk/gregarius/cls

Show
Ignore:
Timestamp:
06/16/06 11:32:10 (2 years ago)
Author:
mdodoo
Message:

Fixes #417 through the magic of DIV.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/cls/wrappers/header.php

    r1441 r1500  
    137137function rss_header_logininfo() { 
    138138 
    139     $ret = "<span id=\"loginfo\">\n"; 
     139    $ret = "<div id=\"loginfo\">\n"; 
    140140     
    141141    if (rss_user_level() > RSS_USER_LEVEL_NOLEVEL) { 
     
    145145        $ret .= LBL_NOT_LOGGED_IN 
    146146                ."&nbsp;|&nbsp;<a href=\"#\" onclick=\"miniloginform(); return false;\">".LBL_LOG_IN."</a>"; 
    147         $ret .= "<span style=\"display:none\" id=\"loginformcontainer\">" 
     147        $ret .= "<div style=\"display:none\" id=\"loginformcontainer\">" 
    148148                         . '<form ' . 'onsubmit="return loginHandler();" ' . 'method="post" action="'.getPath().'">' 
    149                          . '<input style=" width:50px;" name="username" id="username" type="text" />' 
    150                          . '<input style=" width:50px;" name="password" id="password"  type="password" />' 
    151                          . '<input type="submit" value="'.LBL_LOG_IN.'" />' 
     149                         . '<div style="display:inline"><input style=" width:50px;" name="username" id="username" type="text" /></div>' 
     150                         . '<div style="display:inline"><input style=" width:50px;" name="password" id="password"  type="password" /></div>' 
     151                         . '<div style="display:inline"><input type="submit" value="'.LBL_LOG_IN.'" /></div>' 
    152152                         . '</form>' 
    153                  ."</span>\n"; 
     153                 ."</div>\n"; 
    154154    } 
    155     $ret .= "</span>\n"; 
     155    $ret .= "</div>\n"; 
    156156    return $ret; 
    157157}