diff options
author | Andrew Dolgov <[email protected]> | 2011-11-07 16:19:43 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-11-07 16:19:43 +0400 |
commit | 915b61ef3b905c10f636756336b37ca9ef054196 (patch) | |
tree | 7232d3b10a659bc23a62cc81d7f11a2548644212 /functions.php | |
parent | 28364067638ca31ca03cf63e4ec0dc581731171d (diff) |
use css table layout in cdmHeader (fixes #383)
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/functions.php b/functions.php index 4c4f76876..3e591ea41 100644 --- a/functions.php +++ b/functions.php @@ -5379,18 +5379,7 @@ $reply['content'] .= "<div class=\"cdmHeader\">"; - $reply['content'] .= "<div style='float : right'>"; - $reply['content'] .= "<span class='updated'>$updated_fmt</span>"; - $reply['content'] .= "$score_pic"; - - if (!get_pref($link, "VFEED_GROUP_BY_FEED") && $line["feed_title"]) { - $reply['content'] .= "<span style=\"cursor : pointer\" - title=\"".htmlspecialchars($line["feed_title"])."\" - onclick=\"viewfeed($feed_id)\">$feed_icon_img</span>"; - } - $reply['content'] .= "<div class=\"updPic\">$update_pic</div>"; - - $reply['content'] .= "</div>"; + $reply['content'] .= "<div>"; $reply['content'] .= "<input type=\"checkbox\" onclick=\"toggleSelectRowById(this, 'RROW-$id')\" id=\"RCHK-$id\"/>"; @@ -5398,6 +5387,8 @@ $reply['content'] .= "$marked_pic"; $reply['content'] .= "$published_pic"; + $reply['content'] .= "</div>"; + $reply['content'] .= "<span id=\"RTITLE-$id\" onclick=\"return cdmClicked(event, $id);\" class=\"titleWrap$hlc_suffix\"> @@ -5430,6 +5421,18 @@ $reply['content'] .= "</span>"; + $reply['content'] .= "<div>"; + $reply['content'] .= "<span class='updated'>$updated_fmt</span>"; + $reply['content'] .= "$score_pic"; + + if (!get_pref($link, "VFEED_GROUP_BY_FEED") && $line["feed_title"]) { + $reply['content'] .= "<span style=\"cursor : pointer\" + title=\"".htmlspecialchars($line["feed_title"])."\" + onclick=\"viewfeed($feed_id)\">$feed_icon_img</span>"; + } + $reply['content'] .= "<div class=\"updPic\">$update_pic</div>"; + $reply['content'] .= "</div>"; + $reply['content'] .= "</div>"; $reply['content'] .= "<div class=\"cdmContent\" $content_hidden |