This plug-in allows to edit the user rights to submit new pages separately from the page edit rights.
The plugin works on the "3" auth setting of pages. If a user has right's for Auth Extra 3 he can submit new page. This can be set per category. To view all auth options, click "More" on the auth page of that category.
If a user has no right's for Auth Extra 3 fo category, link "Submit new page" will not show.
Installation it is standard:
- Unzip archive
- Copy "an_PageAddRights" folder to server to folder "plugins"
- Instal it in Administrator panel.
- Optionally you can add string to the skins/your_skin/your_skin.en.lang.php
$skinlang['admin']['addPage'] = 'Submit new pages (for pages)'; // by Alex
in skins/your_skin/admin/admin.rightsbyitem.inc.tpl find line 66:
<img src="images/admin/auth_3.gif" alt="" /> : {PHP.L.Custom} #3<br />
replace to:
<img src="images/admin/auth_3.gif" alt="" /> : {PHP.skinlang.admin.addPage}<br />
and in skins/your_skin/admin/admin.rights.inc.tpl find line 196:
<img src="images/admin/auth_3.gif" alt="" /> : {PHP.L.Custom} #3<br />
replace to:
<img src="images/admin/auth_3.gif" alt="" /> : {PHP.skinlang.admin.addPage}<br />
$skinlang['admin']['addPage'] = 'Добавлять страницу (для страниц)'; // by Alex
<img src="images/admin/auth_3.gif" alt="" /> : {PHP.L.Custom} #3<br />
<img src="images/admin/auth_3.gif" alt="" /> : {PHP.skinlang.admin.addPage}<br />
<img src="images/admin/auth_3.gif" alt="" /> : {PHP.L.Custom} #3<br />
<img src="images/admin/auth_3.gif" alt="" /> : {PHP.skinlang.admin.addPage}<br />
Thanked: 2 рази