using System;
using System.Data;
namespace yaf.controls
{
///
/// Summary description for ForumUsers.
///
public class IconLegend : BaseControl
{
protected override void Render(System.Web.UI.HtmlTextWriter writer)
{
System.Text.StringBuilder html = new System.Text.StringBuilder(2000);
html.Append(@"
");
html.AppendFormat(@" {1} | ",ForumPage.GetThemeContents("ICONS","TOPIC_NEW"),ForumPage.GetText("NEW_POSTS"));
html.AppendFormat(@" {1} | ",ForumPage.GetThemeContents("ICONS","TOPIC"),ForumPage.GetText("NO_NEW_POSTS"));
html.Append(@"
");
html.AppendFormat(@" {1} | ",ForumPage.GetThemeContents("ICONS","TOPIC_NEW_LOCKED"),ForumPage.GetText("NEW_POSTS_LOCKED"));
html.AppendFormat(@" {1} | ",ForumPage.GetThemeContents("ICONS","TOPIC_LOCKED"),ForumPage.GetText("NO_NEW_POSTS_LOCKED"));
html.Append(@"
");
html.AppendFormat(@" {1} | ",ForumPage.GetThemeContents("ICONS","TOPIC_ANNOUNCEMENT"),ForumPage.GetText("ANNOUNCEMENT"));
html.AppendFormat(@" {1} | ",ForumPage.GetThemeContents("ICONS","TOPIC_STICKY"),ForumPage.GetText("STICKY"));
html.Append(@"
");
html.AppendFormat(@" {1} | ",ForumPage.GetThemeContents("ICONS","TOPIC_MOVED"),ForumPage.GetText("MOVED"));
html.AppendFormat(@" {1} | ",ForumPage.GetThemeContents("ICONS","TOPIC_POLL"),ForumPage.GetText("POLL"));
html.Append(@"
");
writer.Write(html.ToString());
}
}
}