]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - js/ui/baseui.js
Add feedback support.
[irc/quakenet/qwebirc.git] / js / ui / baseui.js
index d3c23f06acc7c5e874f108aa97972bac2201a36b..03f637d6ebb31f762ab7358a17c24035db01f3b8 100644 (file)
@@ -34,7 +34,7 @@ qwebirc.ui.BaseUI = new Class({
     if(!this.firstClient) {
       this.firstClient = true;
       w.addLine("", "qwebirc v" + qwebirc.VERSION);
-      w.addLine("", "Copyright (C) 2008 Chris Porter. All rights reserved.");
+      w.addLine("", "Copyright (C) 2008-2009 Chris Porter. All rights reserved.");
       w.addLine("", "http://webchat.quakenet.org/");
       w.addLine("", "This is BETA quality software, please report bugs to slug@quakenet.org");
     }
@@ -152,6 +152,7 @@ qwebirc.ui.StandardUI = new Class({
     ["Options", "options"],
     ["Add webchat to your site", "embedded"],
     ["Privacy policy", "privacy"],
+    ["Feedback", "feedback"],
     ["About qwebirc", "about"]
   ],
   initialize: function(parentElement, windowClass, uiName, options) {
@@ -267,6 +268,9 @@ qwebirc.ui.StandardUI = new Class({
   privacyWindow: function() {
     this.addCustomWindow("Privacy policy", qwebirc.ui.PrivacyPolicyPane, "privacypolicypane", this.uiOptions);
   },
+  feedbackWindow: function() {
+    this.addCustomWindow("Feedback", qwebirc.ui.FeedbackPane, "feedbackpane", this.uiOptions);
+  },
   urlDispatcher: function(name) {
     if(name == "embedded")
       return ["a", this.embeddedWindow.bind(this)];