c3d2-web/content/static/candy/plugins/modify-role
Jörg Thalheim c4ebf7ba80 candy 2.0 + plugins 2015-07-22 01:01:23 +02:00
..
README.md candy 2.0 + plugins 2015-07-22 01:01:23 +02:00
add-moderator.png candy 2.0 + plugins 2015-07-22 01:01:23 +02:00
candy.css candy 2.0 + plugins 2015-07-22 01:01:23 +02:00
candy.js candy 2.0 + plugins 2015-07-22 01:01:23 +02:00
remove-moderator.png candy 2.0 + plugins 2015-07-22 01:01:23 +02:00
screenshot.png candy 2.0 + plugins 2015-07-22 01:01:23 +02:00

README.md

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