mirror of
https://github.com/znc/znc.git
synced 2026-08-08 01:43:03 +02:00
Add methods to CModule to get the web path
Add these values to the template and use them when linking to any module
This commit is contained in:
@@ -376,6 +376,8 @@ public:
|
||||
* @return The Title.
|
||||
*/
|
||||
virtual CString GetWebMenuTitle() { return ""; }
|
||||
virtual CString GetWebPath();
|
||||
virtual CString GetWebFilesPath();
|
||||
/** For WebMods: Called before the list of registered SubPages will be checked.
|
||||
* Important: If you return true, you need to take care of calling WebSock.Close!
|
||||
* This allows for stuff like returning non-templated data, long-polling and other fun.
|
||||
|
||||
Reference in New Issue
Block a user