]> jfr.im git - irc/rizon/znc.git/commitdiff
Add network and user to Edit channel page in webadmin.
authorAlexey Sokolov <redacted>
Thu, 6 Sep 2012 16:44:48 +0000 (23:44 +0700)
committerAlexey Sokolov <redacted>
Thu, 6 Sep 2012 16:44:48 +0000 (23:44 +0700)
This really needs #227 instead

modules/webadmin.cpp

index 3a47f593b49c4d8ab4abde734619efcdfd2a89cf..0c6237a4cedcfd3c2b3b90829db640e8d575e1f8 100644 (file)
@@ -579,7 +579,7 @@ public:
                        if (pChan) {
                                Tmpl["Action"] = "editchan";
                                Tmpl["Edit"] = "true";
-                               Tmpl["Title"] = "Edit Channel" + CString(" [" + pChan->GetName() + "]");
+                               Tmpl["Title"] = "Edit Channel" + CString(" [" + pChan->GetName() + "]") + " of Network [" + pNetwork->GetName() + "] of User [" + pNetwork->GetUser()->GetUserName() + "]";
                                Tmpl["ChanName"] = pChan->GetName();
                                Tmpl["BufferCount"] = CString(pChan->GetBufferCount());
                                Tmpl["DefModes"] = pChan->GetDefaultModes();