Index: /elgg/trunk/mod/forum/css =================================================================== --- /elgg/trunk/mod/forum/css (revision 176) +++ /elgg/trunk/mod/forum/css (revision 194) @@ -3,4 +3,5 @@ padding: 0; margin: 0; + margin-top:2em; } @@ -10,8 +11,10 @@ font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; background:url({{url}}mod/forum/images/toolbar_nav_grey.gif) repeat-x bottom; + /* border-right: solid 1px #eeeeee; border-bottom: 0; border-top: solid 1px #eeeeee; border-left: solid 1px #eeeeee; + */ letter-spacing: 2px; text-transform: uppercase; @@ -21,8 +24,10 @@ #forum_table th.nobg { + /* border-top: 0; border-left: 0; border-right: dotted 0px #eeeeee; border-bottom: dotted 1px #eeeeee; + */ background: none; } @@ -34,10 +39,32 @@ #forum_table td { + /* border-right: dotted 1px #eeeeee; border-bottom: dotted 1px #eeeeee; border-left: dotted 0px #eeeeee; border-top: dotted 0px #eeeeee; + */ padding: 6px 6px 6px 6px; } + +#forum_table tr.odd { + background-color:#FBF6EA; +} + +#forum_table tr.even { + /*background-color:#fcfcfc;*/ +} + +#forum_table tr.odd td { + border-left: 0px #F6ECD1; + border-right: 0px #F6ECD1; + border:1px dotted #DDDDDD +} +#forum_table tr.even td { + border-left: 0px #fff; + border-right: 0px #fff; + border:1px dotted #DDDDDD +} + #forum_table td.cent { @@ -52,8 +79,10 @@ #forum_table td.usercol { + /* border-left: dotted 1px #eeeeee; border-right: dotted 1px #eeeeee; border-bottom: dotted 1px #eeeeee; border-top: 0; + */ font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; } Index: /elgg/trunk/mod/forum/forum_view_thread.php =================================================================== --- /elgg/trunk/mod/forum/forum_view_thread.php (revision 176) +++ /elgg/trunk/mod/forum/forum_view_thread.php (revision 194) @@ -57,5 +57,5 @@ $num = count($PAGE->menu_sub) + 1; $PAGE->menu_sub[$num]['name'] = "forum:blogview"; - $PAGE->menu_sub[$num]['html'] = "wwwroot . $weblog . "/weblog/" . $post->ident . ".html#new_weblog_comment\" title=\"" . __gettext("Add a comment...") . "\">" . __gettext("Add new comment") . ""; + $PAGE->menu_sub[$num]['html'] = "wwwroot . $weblog . "/weblog/" . $post->ident . ".html#new_weblog_comment\" title=\"" . __gettext("Add a comment...") . "\">" . __gettext("Post Reply") . ""; } @@ -128,5 +128,7 @@ - $body .= "
wwwroot . user_info('username',$post->weblog) . "/weblog/" . $post->ident . ".html#new_weblog_comment\" title=\"" . __gettext("Add new comment...") . "\">" . __gettext("Add new comment...") . "

"; + $body .= "
"; + $body .= '
ident . '.html#new_weblog_comment" >'; + $body .= '
'; } Index: /elgg/trunk/mod/forum/forum.php =================================================================== --- /elgg/trunk/mod/forum/forum.php (revision 176) +++ /elgg/trunk/mod/forum/forum.php (revision 194) @@ -38,5 +38,5 @@ $num = $num + 1; $PAGE->menu_sub[$num]['name'] = "forum:add_discussion"; - $PAGE->menu_sub[$num]['html'] = "wwwroot}{$weblog}/weblog/edit\">" . __gettext("Add New Item") . ""; + $PAGE->menu_sub[$num]['html'] = "wwwroot}{$weblog}/weblog/edit\">" . __gettext("Add New Topic") . ""; } @@ -91,5 +91,5 @@ - + @@ -101,5 +101,11 @@ + $row_class = 'odd'; foreach($posts as $post) { + if ($row_class == 'odd') { + $row_class = 'even'; + } else { + $row_class = 'odd'; + } $time = strftime("%B %d, %Y",$post->posted); @@ -139,6 +145,5 @@ $body .= " - - + @@ -156,6 +161,6 @@ if (run("permissions:check", "weblog")) { - $body .= '' . __gettext("Add New Item") . '...

'; - + $body .= ''; + $body .= ''; }
" . __gettext("Discussion Topic") . "" . __gettext("Discussion Topic") . " " . __gettext("Started by") . " " . __gettext("Comments") . "
wwwroot . "mod/forum/" . $post->ident . ".html\" title=\"" . __gettext("View full discussion...") . "\">" . $post->title . " wwwroot . user_info("username",$post->owner) . "/" . "\" title=\"" . __gettext("View profile...") . "\">" . user_info("name",$post->owner) . "