fixed bug [ 839524 ] Editing forum settings defaults all template names
This commit is contained in:
parent
79eac4f419
commit
9fdfa7f293
2 changed files with 13 additions and 6 deletions
|
|
@ -21,6 +21,7 @@
|
|||
- Fixed bug [ 834792 ] Karma Decay triggers SQL error
|
||||
- Fixed bug [ 832284 ] Pagination broken in Messageboard with Search
|
||||
- Fixed bug [ 838091 ] Read-Only Forum User Cannot Subscribe
|
||||
- Fixed bug [ 839524 ] Editing forum settings defaults all template names
|
||||
|
||||
|
||||
5.5.0
|
||||
|
|
|
|||
|
|
@ -810,37 +810,43 @@ sub forumProperties {
|
|||
-name=>"forumTemplateId",
|
||||
-label=>WebGUI::International::get(1031),
|
||||
-namespace=>"Forum",
|
||||
-uiLevel=>5
|
||||
-uiLevel=>5,
|
||||
-value=>$forum->get("forumTemplateId")
|
||||
);
|
||||
$f->template(
|
||||
-name=>"threadTemplateId",
|
||||
-label=>WebGUI::International::get(1032),
|
||||
-namespace=>"Forum/Thread",
|
||||
-uiLevel=>5
|
||||
-uiLevel=>5,
|
||||
-value=>$forum->get("threadTemplateId")
|
||||
);
|
||||
$f->template(
|
||||
-name=>"postTemplateId",
|
||||
-label=>WebGUI::International::get(1033),
|
||||
-namespace=>"Forum/Post",
|
||||
-uiLevel=>5
|
||||
-uiLevel=>5,
|
||||
-value=>$forum->get("postTemplateId")
|
||||
);
|
||||
$f->template(
|
||||
-name=>"searchTemplateId",
|
||||
-label=>WebGUI::International::get(1044),
|
||||
-namespace=>"Forum/Search",
|
||||
-uiLevel=>5
|
||||
-uiLevel=>5,
|
||||
-value=>$forum->get("searchTemplateId")
|
||||
);
|
||||
$f->template(
|
||||
-name=>"postFormTemplateId",
|
||||
-label=>WebGUI::International::get(1034),
|
||||
-namespace=>"Forum/PostForm",
|
||||
-uiLevel=>5
|
||||
-uiLevel=>5,
|
||||
-value=>$forum->get("postFormTemplateId")
|
||||
);
|
||||
$f->template(
|
||||
-name=>"notificationTemplateId",
|
||||
-label=>WebGUI::International::get(1035),
|
||||
-namespace=>"Forum/Notification",
|
||||
-uiLevel=>5
|
||||
-uiLevel=>5,
|
||||
-value=>$forum->get("notificationTemplateId")
|
||||
);
|
||||
my ($interval, $units) = WebGUI::DateTime::secondsToInterval(($forum->get("archiveAfter") || 31536000));
|
||||
$f->interval(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue