File:  [Repository] / basket / zpt / BasketMain_Basket_manageUserRights_standard.zpt
Revision 1.7: download - view: text, annotated - select for diffs - revision graph
Fri Apr 7 18:32:28 2006 UTC (18 years, 1 month ago) by dwinter
Branches: MAIN
CVS tags: HEAD
iminors

<html metal:use-macro="here/main_template/macros/page">
<head>
<title>Default</title>
<style metal:fill-slot="additionalStyles" type="text/css">
td.vario { background-color:#AC1D15 } 
</style>
</head>
<body>
<body>

<!-- span = bodytext -->
<span metal:fill-slot="body" tal:omit-tag="" tal:condition="python:here.checkPermission('admin')">
<span tal:omit-tag="" tal:define="users python:here.groupFolder.getGroupsAndUsers()"> 

<h2 class="setTitle" tal:content="here/title"/>

<h3>Control the publication status of this set</h3>

<form action="changeBasket">
<input type="hidden" name="target" value="manageUserRights_html">
<input type="hidden" name="title" tal:attributes="value here/title">
<input type="hidden" name="shortDescription" tal:attributes="value here/shortDescription">
<input type="hidden" name="comment" tal:attributes="value here/comment">

<p>You can control the visibility of this set to others: a <b>hidden</b> set is for your eyes only, all other sets can be accessed if the address (URL) is known. A <b>private</b> set will not show up in any public list, while an <b>open_intern</b> set can be viewed by other registered users and is published to <b>User Sets</b>. <span tal:omit-tag="" tal:condition="python:here.checkPermission('publish')">Finally, everyone is allowed to see an <b>open</b> set that will show up in <b>Public Sets</b>.</span></p>

<span tal:omit-tag="" tal:repeat="item here/publicationStatusList">
	<span tal:omit-tag="" tal:condition="python:item != 'group'"> 
		<tal:x condition="python:here.checkPermission('publish') or (item != 'open')">
		<input tal:condition="python:item==here.publicationStatus" type="radio"
			name="publicationStatus" tal:attributes="value item" checked>
		<input tal:condition="not:python:item==here.publicationStatus" type="radio" 
			name="publicationStatus" tal:attributes="value item">
		<span tal:content="item"/><br>
		</tal:x>
	</span>
</span><br>

<!--
<tal:x repeat="item here/publicationStatusList">
<tal:x replace="python:here.checkPermission('publish')"/>
<tal:x condition="python:(item!='open') or 
	(item=='open' and here.checkPermission('publish'))">
<input tal:condition="python:item==here.publicationStatus" type="radio"
	name="publicationStatus" tal:attributes="value item" checked>
<input tal:condition="not:python:item==here.publicationStatus" type="radio" 
	name="publicationStatus" tal:attributes="value item">
<span tal:content="item"/>
</tal:x>
</tal:x>
-->
<input type="submit" value=" save ">
</form>

<hr>

<h3>Manage the user rights for this set</h3>

<p>Editors and Admins may work on the content of this set,
but only Admins are allowed to change its publication status.</p>

<h4>Registered admins:</h4>

<p><i>Please specify the exact usernames as komma separated list.</i><br>
<form action="groupFolder/addKommaListOfUsersToGroup" method="get">
<input type="hidden" name="group" value="admin">
<input type="hidden" name="remove" value="protected">
<input type="text" size="50" name="users" tal:attributes="value python:', '.join(users['admin'])">
<input type="submit" value=" save ">
</form>
</p>

<h4>Registered editors:</h4>

<p><i>Please specify the exact usernames as komma separated list.</i><br>
<form action="groupFolder/addKommaListOfUsersToGroup">
<input type="hidden" name="group" value="editor">
<input type="hidden" name="remove" value="protected">
<input type="text" size="50" name="users" tal:attributes="value python:', '.join(users['editor'])">
<input type="submit" value=" save ">
</form>
</p>

<a tal:attributes="href python: '../' + here.id + '/manageBasket'">return to this set</a>
</span>
</span>
</body>
</html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>