<?xml version = '1.0' encoding = 'UTF-8' standalone = 'no' ?> <!-- *- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * | Netautor Professional Application Server | *- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * | Copyright (c) 2001-2003 /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 | | Helli Kleinhans <hide@address.com> | *- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * --> <NA_FUNCTION_DESCRIPT> <FUNCTION name="npf_media" call="npf_media" context="media" date="2001-06-27" depricated="0" internal="1" tail="0"> <AUTHOR> <COMPANY>/digiconcept/</COMPANY> <NAME>Gregor Wollner</NAME> <EMAIL>hide@address.com</EMAIL> </AUTHOR> <DESCRIPT lang="de">Darstellung diverser Medien aus dem Medienpool zum Download<br> Nach der Funktion kann aus dem lokalen Element _MEDIA_FILESIZE die Dateigr&ouml;&szlig;e in Bytes gelesen werden. In dem Element _MEDIA_PATH findet sich der absolute Pfad zu der Datei, und in _MEDIA_NAME der Dateiname. </DESCRIPT> <DESCRIPT lang="en">Displays various media formats for download<br>After the tag, you can see the current filesize in bytes in the local element _MEDIA_FILESIZE, the path in _MEDIA_PATH and the filename in _MEDIA_NAME</DESCRIPT> <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>NE</VALUE> <VALUE>GT</VALUE> <VALUE>LT</VALUE> <VALUE>LE</VALUE> <VALUE>GE</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="src" new_name="src.value" magic="0" quote="0" flag="0" explizit="0" depricated="2002-02-01" date="2001-06-27"><DEFAULT/><DESCRIPT/><VALUE/></PARAM> <PARAM name="src.value" new_name="" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2002-02-01"> <DEFAULT/> <DESCRIPT lang="de">Pfad zum Medium</DESCRIPT> <DESCRIPT lang="en">Path of media item</DESCRIPT> </PARAM> <PARAM name="src.element" new_name="" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2002-02-01"> <DEFAULT/> <DESCRIPT lang="de">Element welches den Pfad zum Medium bereitstellt</DESCRIPT> <DESCRIPT lang="en">Element providing media path</DESCRIPT> </PARAM> <PARAM name="src.context" new_name="" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2002-02-01"> <DEFAULT>THIS</DEFAULT> <DESCRIPT lang="de">Legt fest aus welchem Context das Element mit der Medienquelle genommen wird</DESCRIPT> <DESCRIPT lang="en">Sets the context of the element, holding the media source</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="alt_src" new_name="alt.src" magic="0" quote="0" flag="0" explizit="0" depricated="2001-12-12" date="2001-06-27"><DEFAULT/><DESCRIPT/><VALUE/></PARAM> <PARAM name="alt.src" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-27"> <DEFAULT/> <DESCRIPT lang="de">Pfad zu einem alternativen Medium wenn das Original nicht verfuegbar ist</DESCRIPT> <DESCRIPT lang="en">Path of an alternativ media item if th original is not available</DESCRIPT> </PARAM> <PARAM name="base" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-11-12"> <DEFAULT>../../</DEFAULT> <DESCRIPT lang="de">Basis f&uuml;r den Netautor Media Wrapper ( ohne wrapper/media.php) </DESCRIPT> <DESCRIPT lang="en">Base for the Netautor Media Wrapper ( without wrapper/media.php) </DESCRIPT> </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" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12"> <DEFAULT/> <DESCRIPT lang="de"> HTML-Pr&auml;fix<BR> Wenn man vor der Ausgabe dieser Funktion noch etwas anzeigen m&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<BR> 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" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12"> <DEFAULT/> <DESCRIPT lang="de"> HTML-Postfix<BR> Wenn man nach der Ausgabe dieser Funktion noch etwas anzeigen m&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<BR> 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="link" new_name="text" magic="0" quote="0" flag="0" explizit="0" depricated="2001-12-12" date="2001-06-27"><DEFAULT/><DESCRIPT/><VALUE/></PARAM> <PARAM name="text" new_name="" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-27"> <DEFAULT/> <DESCRIPT lang="de">Title des Bilder wenn mode='ICON' oder der angezeigte Link-text</DESCRIPT> <DESCRIPT lang="en">Title of image if in mode='ICON' or displayed link-text</DESCRIPT> </PARAM> <PARAM name="mode" magic="0" quote="3" flag="0" explizit="0" depricated="0" date="2001-06-27"> <DEFAULT/> <DESCRIPT lang="en"> Operation mode :&lt;br&gt; &nbsp;TEXT: Show an text.&lt;br&gt; &nbsp;ICON :Show automaticly an content specific icon (a Netautor internal grafik)&lt;br&gt; HREF: Wrap a HREF around&lt;br&gt; NOMEDIA: overrides Wrapper. The media file must be located inside the webroot.&lt;br&gt; </DESCRIPT> <DESCRIPT lang="de"> Operationsmodus :&lt;br&gt; &nbsp;TEXT: Zeige einen Text.&lt;br&gt; &nbsp;ICON :Zeige automatisch ein dem Inhalt entsprechendes Icon (Eine Netautor interne Grafik)&lt;br&gt; HREF: Erzeuge HREF&lt;br&gt; NOMEDIA: Wrapper wird &uuml;bergangen, die Datei mu&szlig; sich im Webroot befinden.&lt;br&gt; </DESCRIPT> <VALUE>ICON</VALUE> <VALUE>TEXT</VALUE> <VALUE>HREF</VALUE> <VALUE>NOMEDIA</VALUE> </PARAM> <PARAM name="debug" new_name="mode" magic="0" quote="0" flag="0" explizit="0" depricated="2001-12-12" date="2001-06-27"> <DEFAULT/> <DESCRIPT lang="de">Zeigt optional Zusatzinformationen an</DESCRIPT> <DESCRIPT lang="en">Shows some additional informations</DESCRIPT> <VALUE>yes</VALUE> <VALUE>no</VALUE> </PARAM> <PARAM name="url" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-27"> <DEFAULT/> <DESCRIPT lang="de">Ein optionaler Wert, welcher an die URL der Quelle noch hinzugef&uuml;gt wird. Ist der Modus NOMEDIA gegeben, so wird dieser jedoch Parameter ignoriert.</DESCRIPT> <DESCRIPT lang="en">An optional value to added to the source url. This parameter will be ignored if the mode NOMEDIA was set.</DESCRIPT> </PARAM> <PARAM name="realname" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-27"> <DEFAULT/> <DESCRIPT lang="de">Angabe eines Download-Namens (z.B. filename.txt). Wird nicht von allen Browsern in allen Version korrekt interpretiert</DESCRIPT> <DESCRIPT lang="en">Name if media is downloadable (e.g. filename.txt). Will not be interpreted correctly by some browsers versions</DESCRIPT> </PARAM> <PARAM name="target" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-27"> <DEFAULT/> <DESCRIPT lang="de">Names eines HTM-Targets </DESCRIPT> <DESCRIPT lang="en">Name of an HTML-Target</DESCRIPT> </PARAM> <PARAM name="store.element" magic="0" quote="0" flag="0" explizit="0" depricated="" date="2001-12-12"> <DEFAULT/> <DESCRIPT lang="de">Element, in das der gesamte HTML-Output der Funktion gespeichert wird. Es erfolgt keine Ausgabe.</DESCRIPT> <DESCRIPT lang="en">Selects the elements in which the whole media tag should be stored. There will be no HTML ouput.</DESCRIPT> </PARAM> <PARAM name="store.context" magic="0" quote="0" flag="0" explizit="0" depricated="" date="2001-12-12"> <DEFAULT/> <DESCRIPT lang="de">Auswahl des Kontext für das Element aus dem Parameter STORE.ELEMENT .</DESCRIPT> <DESCRIPT lang="en">Select the contextfor the given element in the parameter STORE.ELEMENT .</DESCRIPT> </PARAM> </FUNCTION> </NA_FUNCTION_DESCRIPT>