mirror of
https://github.com/znc/znc.git
synced 2026-05-09 06:44:40 +02:00
Renamed GetWebNavTitle() to GetWebMenuTitle() to keep in line with the name of the Menu.tmpl file
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1787 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+2
-2
@@ -260,7 +260,7 @@ void CWebSock::SetVars() {
|
||||
}
|
||||
|
||||
bool CWebSock::AddModLoop(const CString& sLoopName, CModule& Module) {
|
||||
CString sTitle(Module.GetWebNavTitle());
|
||||
CString sTitle(Module.GetWebMenuTitle());
|
||||
|
||||
DEBUG("=== === === === === [" + Module.GetModName() + "] [" + CString(IsLoggedIn()) + "]");
|
||||
|
||||
@@ -341,7 +341,7 @@ bool CWebSock::PrintTemplate(const CString& sPageName, CString& sPageRet, CModul
|
||||
m_Template["ModName"] = pModule->GetModName();
|
||||
|
||||
if (m_Template.find("Title") == m_Template.end()) {
|
||||
m_Template["Title"] = pModule->GetWebNavTitle();
|
||||
m_Template["Title"] = pModule->GetWebMenuTitle();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user