704 B
704 B
Modify role
Adds add moderator and remove moderator privilege links to context menu.
Usage
To enable Modify role you have to include its JavaScript code and stylesheet:
<script type="text/javascript" src="candyshop/modify-role/candy.js"></script>
<link rel="stylesheet" type="text/css" href="candyshop/modify-role/candy.css" />
Call its init()
method after Candy has been initialized:
Candy.init('/http-bind/');
// enable ModifyRole plugin
CandyShop.ModifyRole.init();
Candy.Core.connect();
Credits
Thanks to famfamfam silk icons for the icons.
License
MIT