diff --git a/etc/template.css b/etc/template.css index 55a86b2..8282e0d 100644 --- a/etc/template.css +++ b/etc/template.css @@ -12,7 +12,7 @@ A.tbar:visited { color: ${color.top.link}; } .lbar { font-family: ${font}, sans-serif; background: ${color.left.background}; - color: ${color.left.foreground}; font-size: 12pt; + color: ${color.left.foreground}; font-size: 11pt; } A.lbar { color: ${color.left.link}; } @@ -41,7 +41,7 @@ color: ${color.sidebox.top.foreground}; font-size: 14pt; } .sidebox { font-family: ${font}, sans-serif; background: ${color.sidebox.background}; - color: ${color.sidebox.foreground}; font-size: 12pt; + color: ${color.sidebox.foreground}; font-size: 11pt; } A.sidebox { color: ${color.sidebox.link}; } diff --git a/src/com/silverwrist/venice/servlets/format/SideBoxConferences.java b/src/com/silverwrist/venice/servlets/format/SideBoxConferences.java index 32901cf..a7df366 100644 --- a/src/com/silverwrist/venice/servlets/format/SideBoxConferences.java +++ b/src/com/silverwrist/venice/servlets/format/SideBoxConferences.java @@ -71,7 +71,10 @@ public class SideBoxConferences implements ContentRender, ColorSelectors public void renderHere(Writer out, RenderData rdat) throws IOException { - String hilite = rdat.getStdColor(SIDEBOX_CONTENT_LINK); + String norm_font = rdat.getStdFontTag(SIDEBOX_CONTENT_FOREGROUND,2); + String hilite = rdat.getStdFontTag(SIDEBOX_CONTENT_LINK,2); + String purple_ball = rdat.getFullImagePath("purple-ball.gif"); + String new_image = rdat.getFullImagePath("tag_new.gif"); if (hotlist.size()>0) { // display the list of conferences out.write("
\n | \n | \n" - + rdat.getStdFontTag(SIDEBOX_CONTENT_FOREGROUND,2) + "" - + StringUtil.encodeHTML(conf.getName()) + " (" + + norm_font + "" + + hilite + StringUtil.encodeHTML(conf.getName()) + " (" + StringUtil.encodeHTML(conf.getEnclosingSIG().getName()) + ")\n"); if (conf.anyUnread()) out.write(" \n"); + + new_image + "\" ALT=\"New!\" BORDER=0 WIDTH=40 HEIGHT=20>\n"); out.write(" | \n
\n | \n | \n" - + "" - + rdat.getStdFontTag(SIDEBOX_CONTENT_LINK,2) + "" + StringUtil.encodeHTML(sig.getName()) - + "\n"); + + "" + link_font + "" + StringUtil.encodeHTML(sig.getName()) + "\n"); if (sig.isAdmin()) - out.write(" \n"); + { // write the "Host!" image at the end + if (host_image==null) + host_image = rdat.getFullImagePath("tag_host.gif"); + out.write(" \n"); + + } // end if + out.write(" | \n<%= header_font %>
<% if (rdat.useHTMLComments()) { %><% } %>
- "><%= header_link_hilite %>Front Page - <%= header_link_hilite %>Help | - "><%= header_link_hilite %>Find + "><%= header_link_hilite %>Front Page + <%= header_link_hilite %>Help | + "><%= header_link_hilite %>Find |
@@ -75,9 +75,9 @@ partial_tgt = "account?tgt=" + URLEncoder.encode(basedat.getLocation()) + "&cmd="; foo = rdat.getEncodedServletPath(partial_tgt + "L"); %> - - <%= header_link_hilite %>Log Out + - <%= header_link_hilite %>Log Out <% foo = rdat.getEncodedServletPath(partial_tgt + "P"); %> - | <%= header_link_hilite %>Profile + | <%= header_link_hilite %>Profile <% } // end if %> <% } else { %> You are not logged in @@ -86,9 +86,9 @@ partial_tgt = "account?tgt=" + URLEncoder.encode(basedat.getLocation()) + "&cmd="; foo = rdat.getEncodedServletPath(partial_tgt + "L"); %> - - <%= header_link_hilite %>Log In + - <%= header_link_hilite %>Log In <% foo = rdat.getEncodedServletPath(partial_tgt + "C"); %> - | <%= header_link_hilite %>Create Account + | <%= header_link_hilite %>Create Account <% } // end if %> <% } // end if %> |