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:
Kyle Fuller committed 2012-02-09 17:07:28 +00:00
1 parent b1593238d5
commit b1ed9c9b74
14 files changed
+46 -21

No files matched your search

+2 -2
View File
@@ -200,11 +200,11 @@ public:
return true;
} else if (sPageName == "delnote") {
DelNote(WebSock.GetParam("key", false));
WebSock.Redirect("/mods/notes/");
WebSock.Redirect(GetWebPath());
return true;
} else if (sPageName == "addnote") {
AddNote(WebSock.GetParam("key"), WebSock.GetParam("note"));
WebSock.Redirect("/mods/notes/");
WebSock.Redirect(GetWebPath());
return true;
}