Beispiel #1
0
 ///////////////////////////////////////////////////////////////////////
 public static void display_you_dont_have_permission(HttpResponse Response, Security security)
 {
     Response.Write("<link rel=StyleSheet href=btnet.css type=text/css>");
     security.write_menu(Response, Util.get_setting("PluralBugLabel", "bugs"));
     Response.Write("<p>&nbsp;</p><div class=align>");
     Response.Write("<div class=err>You are not allowed to view this "
                    + Util.get_setting("SingularBugLabel", "bug")
                    + "</div>");
     Response.Write("<p><a href=bugs.aspx>View "
                    + Util.capitalize_first_letter(Util.get_setting
                                                       ("PluralBugLabel", "bugs")) + "</a>");
     Response.End();
 }
Beispiel #2
0
 ///////////////////////////////////////////////////////////////////////
 public static void display_bug_not_found(HttpResponse Response, Security security, int id)
 {
     Response.Write("<link rel=StyleSheet href=btnet.css type=text/css>");
     security.write_menu(Response, Util.get_setting("PluralBugLabel", "bugs"));
     Response.Write("<p>&nbsp;</p><div class=align>");
     Response.Write("<div class=err>");
     Response.Write(Util.capitalize_first_letter(Util.get_setting("SingularBugLabel", "bug")));
     Response.Write(" not found:&nbsp;" + Convert.ToString(id) + "</div>");
     Response.Write("<p><a href=bugs.aspx>View ");
     Response.Write(Util.get_setting("PluralBugLabel", "bug"));
     Response.Write("</a>");
     Response.End();
 }
Beispiel #3
0
 ///////////////////////////////////////////////////////////////////////
 public static void display_you_dont_have_permission(HttpResponse Response, Security security)
 {
     Response.Write("<link rel=StyleSheet href=btnet.css type=text/css>");
     security.write_menu(Response, btnet.Util.get_setting("PluralBugLabel", "bugs"));
     Response.Write("<p>&nbsp;</p><div class=align>");
     Response.Write("<div class=err>You are not allowed to view this "
         + btnet.Util.get_setting("SingularBugLabel", "bug")
         + "</div>");
     Response.Write("<p><a href=bugs.aspx>View "
         + btnet.Util.capitalize_first_letter(btnet.Util.get_setting
         ("PluralBugLabel", "bugs")) + "</a>");
     Response.End();
 }
Beispiel #4
0
 ///////////////////////////////////////////////////////////////////////
 public static void display_bug_not_found(HttpResponse Response, Security security, int id)
 {
     Response.Write("<link rel=StyleSheet href=btnet.css type=text/css>");
     security.write_menu(Response, btnet.Util.get_setting("PluralBugLabel", "bugs"));
     Response.Write("<p>&nbsp;</p><div class=align>");
     Response.Write("<div class=err>");
     Response.Write(btnet.Util.capitalize_first_letter(btnet.Util.get_setting("SingularBugLabel", "bug")));
     Response.Write(" not found:&nbsp;" + Convert.ToString(id) + "</div>");
     Response.Write("<p><a href=bugs.aspx>View ");
     Response.Write(btnet.Util.get_setting("PluralBugLabel", "bug"));
     Response.Write("</a>");
     Response.End();
 }