Add content curation perk
This commit is contained in:
parent
d3d0f3add7
commit
23c43a8bc3
@ -115,9 +115,11 @@ $Definition['Yaga.LeaderBoard.Year'] = "This Years's Leaders";
|
||||
|
||||
// Perks
|
||||
$Definition['Yaga.Perks'] = 'Perks';
|
||||
$Definition['Yaga.Perks.Curation'] = 'Content Curation';
|
||||
$Definition['Yaga.Perks.EditTimeout'] = 'Edit Timeout';
|
||||
$Definition['Yaga.Perks.Emoticons'] = 'Format Emoticons';
|
||||
$Definition['Yaga.Perks.MeActions'] = 'Format /me Actions';
|
||||
$Definition['Yaga.Perks.Signatures'] = 'Edit Signature';
|
||||
$Definition['Yaga.Perks.Tags'] = 'Add Tags';
|
||||
|
||||
// Ranks
|
||||
|
@ -70,6 +70,8 @@ echo $this->Form->Errors();
|
||||
'2592000' => sprintf(T('Authors may edit for %s'), T('1 month')),
|
||||
'-1' => T('Authors may always edit')));
|
||||
|
||||
RenderPerkPermissionForm('Garden.Curation.Manage', 'Yaga.Perks.Curation');
|
||||
|
||||
RenderPerkPermissionForm('Plugins.Signatures.Edit', 'Yaga.Perks.Signatures');
|
||||
|
||||
RenderPerkPermissionForm('Plugins.Tagging.Add', 'Yaga.Perks.Tags');
|
||||
|
Loading…
x
Reference in New Issue
Block a user