Modules can now provide its wiki page name.

It's shown on webadmin as a link.
This commit is contained in:
Alexey Sokolov
2011-06-11 17:46:37 +07:00
parent e6e3331457
commit 0c840f922d
5 changed files with 8 additions and 4 deletions
+2
View File
@@ -745,6 +745,7 @@ public:
l["Name"] = Info.GetName();
l["Description"] = Info.GetDescription();
l["Args"] = GetModArgs(pUser, Info.GetName());
l["Wiki"] = Info.GetWikiPage();
if (pUser && pUser->GetModules().FindModule(Info.GetName())) {
l["Checked"] = "true";
@@ -1039,6 +1040,7 @@ public:
l["Name"] = Info.GetName();
l["Description"] = Info.GetDescription();
l["Args"] = GetModArgs(NULL, Info.GetName(), true);
l["Wiki"] = Info.GetWikiPage();
}
return true;