public static string GetCollapseCss()
        {
            StringBuilder sb = new System.Text.StringBuilder();

            sb.AppendLine("<style type=\"text/css\">");
            sb.AppendLine(IndexerAdapter.GetText("domCollapse.css"));
            sb.AppendLine("</style>");

            return(sb.ToString());
        }
        public static string GetCollapseJs()
        {
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("<script type=\"text/javascript\">");
            sb.AppendLine("// <![CDATA[");
            sb.AppendLine(IndexerAdapter.GetText("domCollapse.js"));
            sb.AppendLine("// ]]>");
            sb.AppendLine("</script>");

            return(sb.ToString());
        }
        public static string GetCssStyle(string filePath)
        {
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("<style type=\"text/css\">");
            if (File.Exists(filePath))
            {
                using (StreamReader sr = new StreamReader(filePath))
                {
                    sb.AppendLine(sr.ReadToEnd());
                }
            }
            else
            {
                sb.AppendLine(IndexerAdapter.GetText("Default.css"));
            }

            sb.AppendLine("</style>");

            return(sb.ToString());
        }
        public static string GetJavaScript(string filePath)
        {
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("<script type=\"text/javascript\">");
            sb.AppendLine("// <![CDATA[");

            if (File.Exists(filePath))
            {
                using (StreamReader sr = new StreamReader(filePath))
                {
                    sb.AppendLine(sr.ReadToEnd());
                }
            }
            else
            {
                sb.AppendLine(IndexerAdapter.GetText("domCollapse.js"));
            }

            sb.AppendLine("// ]]>");
            sb.AppendLine("</script>");

            return(sb.ToString());
        }
 public static string GetDocType()
 {
     return(IndexerAdapter.GetText("html.txt"));
 }