Skip to content

Latest commit

 

History

History

modify-role

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Modify role

Adds add moderator and remove moderator privilege links to context menu.

Modify role screenshot

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