implemented a karma RFE for adding template variables to the front page of the Wiki

This commit is contained in:
Colin Kuskie 2006-12-12 18:09:44 +00:00
parent f8ee7e632e
commit a0d3c2d17c
3 changed files with 13 additions and 0 deletions

View file

@ -17,6 +17,7 @@
- fix: Calendar templates crushing other styles.
- fix: Using YUI to add the appropriate events when loading the Add/Edit Event
page. Should fix the strange IE bugs.
- RFE: Add wiki page variables to Wiki_Master.pm

View file

@ -304,6 +304,8 @@ sub view {
searchLabel=>$i18n->get("searchLabel"),
mostPopularUrl=>$self->getUrl("func=mostPopular"),
mostPopularLabel=>$i18n->get("mostPopularLabel"),
addPageLabel=>$i18n->get("addPageLabel"),
addPageUrl=>$self->getUrl("func=add;class=WebGUI::Asset::WikiPage"),
recentChangesUrl=>$self->getUrl("func=recentChanges"),
recentChangesLabel=>$i18n->get("recentChangesLabel"),
};

View file

@ -226,6 +226,12 @@ our $HELP = {
{
'name' => 'recentChangesLabel',
},
{
'name' => 'addPageUrl',
},
{
'name' => 'addPageLabel',
},
],
fields => [
],
@ -396,6 +402,10 @@ our $HELP = {
namespace => "Asset_WikiMaster",
tag => "wiki master search box variables"
},
{
namespace => "WebGUI",
tag => "pagination template variables"
},
],
variables => [
{