Location: PHPKode > projects > Netautor Professional > netautor/napro4/include/npf_lib/npf_permission.xml
<?xml version = '1.0' encoding = 'UTF-8' standalone = 'no' ?>
<!--

   *- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
   | Netautor Professional Application Server                             |
   *- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
   | Copyright (c) 2001 /digiconcept/                                     |
   *- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
   | This file is subject to license, that is bundled with this package   |
   | in the file LICENSE.TXT, and is available at through the             |
   | world-wide-web at http://www.netautor.com/license/                   |
   |                                                                      |
   | If you did not receive a copy of the license and are unable to       |
   | obtain it through the world-wide-web, please send a note to          |
   | hide@address.com so we can mail you a copy.                      |
   *- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
   | Authors: Stefan Rottensteiner <hide@address.com>    |
   |          Gregor Wollner       <hide@address.com>          |
   |          Helli  Kleinhans     <hide@address.com>         |
   *- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *

 -->
<NA_FUNCTION_DESCRIPT>
	<FUNCTION name="npf_permission_show" call="npf_permission_show" context="permissions" date="2001-06-27" depricated="0" internal="1" tail="0">
		<AUTHOR>
			<COMPANY>/digiconcept/</COMPANY>
			<NAME>Helmut Kleinhans</NAME>
			<EMAIL>hide@address.com</EMAIL>
		</AUTHOR>
		<DESCRIPT lang="de">Simple Anzeige von berechtigenten Benutzern oder Gruppen</DESCRIPT>
		<DESCRIPT lang="en">Simple display of valid users or groups</DESCRIPT>

		<PARAM name="perms" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-07-23">
			<DEFAULT>W</DEFAULT>
			<DESCRIPT lang="de">Welche Rechte angezeigt werden sollen (&lt;b&gt;R&lt;/b&gt;tead,&lt;b&gt;W&lt;/b&gt;rite,&lt;b&gt;D&lt;/b&gt;telete)</DESCRIPT>
			<DESCRIPT lang="en">Defines which rights are to show (&lt;b&gt;;R&lt;/b&gt;ead,&lt;b&gt;W&lt;/b&gt;rite,&lt;b&gt;D&lt;/b&gt;telete)</DESCRIPT>
			<VALUES>R</VALUES>
			<VALUES>W</VALUES>
			<VALUES>D</VALUES>
		</PARAM>

		<PARAM name="dependon.value" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
			<DEFAULT/>
			<DESCRIPT lang="de">Wert gegen den gepr&amp;uuml;ft werden soll</DESCRIPT>
			<DESCRIPT lang="en">Value to check on</DESCRIPT>
		</PARAM>
		<PARAM name="dependon.element" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
			<DEFAULT/>
			<DESCRIPT lang="de">Element welches zu p&amp;uuml;efen ist</DESCRIPT>
			<DESCRIPT lang="en">Element to check</DESCRIPT>
		</PARAM>
		<PARAM name="dependon.operator" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
			<DEFAULT/>
			<DESCRIPT lang="de">Operator der zur Pr&amp;uuml;fung benutzt wird</DESCRIPT>
			<DESCRIPT lang="en">Operator for the check</DESCRIPT>
			<VALUE>EQ</VALUE><VALUE>GT</VALUE>
			<VALUE>LT</VALUE><VALUE>LE</VALUE>
			<VALUE>GE</VALUE><VALUE>NE</VALUE>
			<VALUE>EMPTY</VALUE><VALUE>NONEMPTY</VALUE>
			<VALUE>LK</VALUE>
		</PARAM>
		<PARAM name="dependon.context" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
			<DEFAULT>THIS</DEFAULT>
			<DESCRIPT lang="de">Legt fest aus welchem Context das Vergleichselement genommen wird</DESCRIPT>
			<DESCRIPT lang="en">Sets the Context of the Element</DESCRIPT>
			<VALUE>THIS</VALUE>
			<VALUE>GLOBALS</VALUE>
			<VALUE>FEATURE</VALUE>
			<VALUE>USER</VALUE>
			<VALUE>PARENT</VALUE>
			<VALUE>SESSION</VALUE>
			<VALUE>GET</VALUE>
			<VALUE>POST</VALUE>
		</PARAM>
		<PARAM name="mode" new_name="" magic="0" quote="3" flag="0" explizit="0" depricated="" date="2001-07-23">
			<DEFAULT></DEFAULT>
			<DESCRIPT lang="de">
				Folgenden Schl&amp;uuml;sselw&amp;ouml;rter sind g&amp;uuml;ltig:&amp;lt;br&amp;gt;
				&apos;USERS&apos; : Zeige Benutzer an&amp;lt;br&amp;gt;
				&apos;GROUPS&apos; : Zeige Gruppern an&amp;lt;br&amp;gt;
				&apos;SILENT&apos; : Es erfolgt kein HTML-Output. Ausgelesen Benutzer oder Gruppen werden in 
				das per STORE.ELEMENT gegebene Element gespeichert.
			</DESCRIPT>
			<DESCRIPT lang="en">
				Following keywords are valid:&amp;lt;br&amp;gt;
				&apos;USERS&apos; : Show users&amp;lt;br&amp;gt;
				&apos;GROUPS&apos; : Show groups&amp;lt;br&amp;gt;
				&apos;SILENT&apos; : Supress HTML-Output. Read user or groups can be stored into a 
				user given element.
			</DESCRIPT>
			<VALUE>GROUPS</VALUE><VALUE>USERS</VALUE><VALUE>SILENT</VALUE>
		</PARAM>		
		<PARAM name="show" new_name="" magic="0" quote="0" flag="0" explizit="0" depricated="2001-12-12" date="2001-07-23">
			<DEFAULT/>
			<DESCRIPT lang="de">
				Folgenden Schl&amp;uuml;sselw&amp;ouml;rter sind g&amp;uuml;ltig:&amp;lt;br&amp;gt;
				&apos;USERS&apos; : Zeige Benutzer an&amp;lt;br&amp;gt;
				&apos;GROUPS&apos; : Zeige Gruppern an
			</DESCRIPT>
			<DESCRIPT lang="en">
				Following keywords are valid:&amp;lt;br&amp;gt;
				&apos;USERS&apos; : Show users&amp;lt;br&amp;gt;
				&apos;GROUPS&apos; : Show groups&amp;lt;br&amp;gt;
			</DESCRIPT>
			<VALUE>users</VALUE>
		</PARAM>

		<PARAM name="pre"       new_name="pre.outer"  magic="0" quote="0" flag="0" explizit="0" depricated="2001-12-12" date="2001-07-02"><DEFAULT></DEFAULT><DESCRIPT/></PARAM>
		<PARAM name="pre.outer" new_name=""           magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
			<DEFAULT/>
			<DESCRIPT lang="de">
				HTML-Pr&amp;auml;fix&lt;BR&gt;
				Wenn man vor der Ausgabe dieser Funktion noch etwas anzeigen m&amp;ouml;chte, jedoch nur wenn die Funktion eine Ausgabe liefert,
				dann kann man diesen Text im Parameter "pre.outer" setzen.
			</DESCRIPT>
			<DESCRIPT lang="en">
				HTML-Prefix&lt;BR&gt;
				If text should be displayed before the output of this function only if the function returns output,
				this text can be specified using the "pre.outer" parameter.
			</DESCRIPT>
		</PARAM>
		<PARAM name="post"       new_name="post.outer"  magic="0" quote="0" flag="0" explizit="0" depricated="2001-12-12" date="2001-07-02"><DEFAULT></DEFAULT><DESCRIPT/></PARAM>
		<PARAM name="post.outer" new_name=""            magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
			<DEFAULT/>
			<DESCRIPT lang="de">
				HTML-Postfix&lt;BR&gt;
				Wenn man nach der Ausgabe dieser Funktion noch etwas anzeigen m&amp;ouml;chte, jedoch nur wenn die Funktion eine Ausgabe liefert,
				dann kann man diesen Text im Parameter "post.outer" setzen.
			</DESCRIPT>
			<DESCRIPT lang="en">
				HTML-Postfix&lt;BR&gt;
				If text should be displayed before the output of this function only if the function returns output,
				this text can be specified using the "pre.outer" parameter.
			</DESCRIPT>
		</PARAM>

		<PARAM name="store" new_name="store.element" magic="0" quote="0" flag="0" explizit="0" depricated="2001-12-12" date="2001-11-12"><DEFAULT/><DESCRIPT/></PARAM>
		<PARAM name="store.context" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
			<DEFAULT/>
			<DESCRIPT lang="de">Auswahl des Kontext in dem die Werte gespreichert werden sollen</DESCRIPT>
			<DESCRIPT lang="en">Select the context where the elements are stored</DESCRIPT>
		</PARAM>
		<PARAM name="store.element" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
			<DEFAULT/>
			<DESCRIPT lang="de">Name einer lokalen Varialbe welche die Erzeugte Listen speichern soll</DESCRIPT>
			<DESCRIPT lang="en">Name of an local varialbe which will store the resulting list</DESCRIPT>
		</PARAM>

		<PARAM name="delimiter" new_name="seperator" magic="0" quote="0" flag="0" explizit="0" depricated="2001-12-12" date="2001-11-12"><DEFAULT/><DESCRIPT/></PARAM>
		<PARAM name="seperator" nre_name=""          magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-11-12">
			<DEFAULT>,</DEFAULT>
			<DESCRIPT lang="de">Trennzeichen f&amp;uuml;r die Ergebnisliste</DESCRIPT>
			<DESCRIPT lang="en">seperator for resultign list</DESCRIPT>
		</PARAM>
		<PARAM name="silent" new_name="" magic="0" quote="2" flag="1" explizit="0" depricated="2001-12-21" date="2001-11-12">
			<DEFAULT>0</DEFAULT>
			<DESCRIPT lang="de">(Als Stichwort SILENT im Parameter MODE !)&lt;br&gt;Flag welchen eine Liste aber keinen HTML-Ouput erzwingt</DESCRIPT>
			<DESCRIPT lang="en">(As keyword in parameter MODE !)&lt;br&gt;Forces functionen to produce list but surpress HTML-output</DESCRIPT>
		</PARAM>
	</FUNCTION>

	<FUNCTION name="npf_permission_select" call="npf_permission_select" context="permissions" date="2001-06-27" depricated="0" internal="1" tail="0">
		<AUTHOR>
			<COMPANY>/digiconcept/</COMPANY>
			<NAME>Helmut Kleinhans</NAME>
			<EMAIL>hide@address.com</EMAIL>
		</AUTHOR>
		<DESCRIPT lang="de">Bietet die M&amp;ouml;glichkeit Dokumentrechte zu setzten</DESCRIPT>
		<DESCRIPT lang="en">Dialog to define document rights</DESCRIPT>

		<PARAM name="user_names"  new_name="user.names"  magic="0" quote="0" flag="0" explizit="0" depricated="2001-12-12" date="2001-06-27"><DEFAULT/><DESCRIPT/></PARAM>		
		<PARAM name="user_groups" new_name="user.groups" magic="0" quote="0" flag="0" explizit="0" depricated="2001-12-12" date="2001-06-27"><DEFAULT/><DESCRIPT/></PARAM>				
		<PARAM name="text_read"   new_name="text.read"   magic="0" quote="0" flag="0" explizit="0" depricated="2001-06-27" date="2001-06-27"><DEFAULT/><DESCRIPT/></PARAM>
		<PARAM name="text_write"  new_name="text.write"  magic="0" quote="0" flag="0" explizit="0" depricated="2001-06-27" date="2001-06-27"><DEFAULT/><DESCRIPT/></PARAM>
		<PARAM name="text_delete" new_name="text.delete" magic="0" quote="0" flag="0" explizit="0" depricated="2001-06-27" date="2001-06-27"><DEFAULT/><DESCRIPT/></PARAM>
		<PARAM name="class" new_name="class" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2002-05-19">
			<DEFAULT/>
			<DESCRIPT lang="de">Name einer CSS-Klasse</DESCRIPT>
			<DESCRIPT lang="en">Name of CSS-class</DESCRIPT>
		</PARAM>
				
		<PARAM name="dependon.value" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
			<DEFAULT/>
			<DESCRIPT lang="de">Wert gegen den geprueft werden soll</DESCRIPT>
			<DESCRIPT lang="en">Value to check on</DESCRIPT>
		</PARAM>
		<PARAM name="dependon.element" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
			<DEFAULT/>
			<DESCRIPT lang="de">Element welches zu pruefen ist</DESCRIPT>
			<DESCRIPT lang="en">Element to check</DESCRIPT>
		</PARAM>
		<PARAM name="dependon.operator" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
			<DEFAULT/>
			<DESCRIPT lang="de">Operator der zur Pruefung benutzt wird</DESCRIPT>
			<DESCRIPT lang="en">Operator for the check</DESCRIPT>
			<VALUE>EQ</VALUE>
			<VALUE>GT</VALUE>
			<VALUE>LT</VALUE>
			<VALUE>LE</VALUE>
			<VALUE>GE</VALUE>
			<VALUE>NE</VALUE>
			<VALUE>EMPTY</VALUE>
			<VALUE>NONEMPTY</VALUE>
			<VALUE>LK</VALUE>
		</PARAM>
		<PARAM name="dependon.context" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
			<DEFAULT>THIS</DEFAULT>
			<DESCRIPT lang="de">Legt fest aus welchem Context das Vergleichselement genommen wird</DESCRIPT>
			<DESCRIPT lang="en">Sets the Context of the Element</DESCRIPT>
			<VALUE>THIS</VALUE>
			<VALUE>GLOBALS</VALUE>
			<VALUE>FEATURE</VALUE>
			<VALUE>USER</VALUE>
			<VALUE>PARENT</VALUE>
			<VALUE>SESSION</VALUE>
			<VALUE>GET</VALUE>
			<VALUE>POST</VALUE>
		</PARAM>

		<PARAM name="mode" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-27">
			<DEFAULT>SELECT</DEFAULT>
			<DESCRIPT lang="de">
				Operations Modus :&amp;lt;br&amp;gt;
				&apos;SELECT&apos; : Als HTML-SELECT-BOX darstellen&amp;lt;br&amp;gt;
				&apos;CHECKBOX&apos; : Als HTML-CHECKBOX darstellen
			</DESCRIPT>
			<DESCRIPT lang="en">
				Operation Mode :&amp;lt;br&amp;gt;
				&apos;SELECT&apos; : show as HTML SELECT BOX&amp;lt;br&amp;gt;
				&apos;CHECKBOX&apos; : show as HTML CHECKBOX
			</DESCRIPT>
			<VALUE>SELECT</VALUE>
			<VALUE>CHECKBOX</VALUE>
		</PARAM>

		<PARAM name="user.names" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-27">
			<DEFAULT/>
			<DESCRIPT lang="de">Liste von gew&amp;uuml;nschten Benutzernamen</DESCRIPT>
			<DESCRIPT lang="en">Liste of user names</DESCRIPT>
		</PARAM>

		<PARAM name="user.groups" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-27">
			<DEFAULT/>
			<DESCRIPT lang="de">Liste von gew&amp;uuml;nschten Gruppennamen</DESCRIPT>
			<DESCRIPT lang="en">Liste of group names</DESCRIPT>
		</PARAM>
		
		<PARAM name="text.read" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-27">
			<DEFAULT>Read</DEFAULT>
			<DESCRIPT lang="de">Text f&amp;uuml;r das Recht &apos;Lesen&apos;</DESCRIPT>
			<DESCRIPT lang="en">Text for read access</DESCRIPT>
		</PARAM>
		<PARAM name="text.write" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-27">
			<DEFAULT>Write</DEFAULT>
			<DESCRIPT lang="de">Text f&amp;uuml;r das Recht &apos;Schreiben&apos;</DESCRIPT>
			<DESCRIPT lang="en">Text for write access</DESCRIPT>
		</PARAM>
		<PARAM name="text.delete" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-27">
			<DEFAULT>Delete</DEFAULT>
			<DESCRIPT lang="de">Text f&amp;uuml;r das Recht &apos;L&amp;ouml;schen&apos;</DESCRIPT>
			<DESCRIPT lang="en">Text for delete access</DESCRIPT>
		</PARAM>
		<PARAM name="size" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-27">
			<DEFAULT>1</DEFAULT>
			<DESCRIPT lang="de">Gr&amp;ouml;&amp;szlig;enangabe wenn mode=&apos;SELECT&apos;</DESCRIPT>
			<DESCRIPT lang="en">Select box size if mode=&apos;SELECT&apos;</DESCRIPT>
		</PARAM>
	</FUNCTION>
</NA_FUNCTION_DESCRIPT>
Return current item: Netautor Professional