Files/dire2.php3 100666 0 0 6117 7263226464 6755
Adaptiert nach Menu Bar v.1.0 by Rob Fisher 24 August 1998
Das Skript wird in die Datei eingebunden. Jedesmal wenn diese Datei aufgerufen wird, scannt es das aktuelle Verzeichnis nach anderen Seiten und druckt ein Men aus. Der angezeigte Name wird aus dem TITLE - Tag genommen. Wenn kein TITLE-Tag gefunden wird, wird die Datei nicht angezeigt.
Standardmig werden folgende Links angezeigt:
Homepage
ein Verzeichnis hher
die INDEX-Datei im aktuellen Verzeichnis
Unterverzeichnisse
Dateien im aktuellen Verzeichnis
Dies kann im Skript relativ leicht durch nderung der Sortierangabe gendert werden. Bspw. knnen die Unterverzeichnisse auch zum Anschlu oder "gemischt" mit den normalen Dateien angezeigt werden.
Dieses Skript entstand ursprnglich durch Rob Fisher wurde umfangreich modifiziert.
This script is designed to be included in a file. Every time it is called, it scans the parent file's directory for other pages and prints a bar of links to those pages. The displayed name of the link is taken from that page's TITLE tag. If no such tag is found, then the link is not printed.
The following elements in the bar are shown:
This may be changed if changing the sort order. For example Subfolders may be displayed at the bottom or mixed with the usual files.
I use this
script in our internal pages, and it works nicely and safely for me,
though I can't guarantee absolutely that you'll be so lucky. Feel free
to hack it about however you like. Have fun, and feel free to contact me
at r.d.fisher@hud.ac.uk */ */
First, create a function to print the
links themselves. This makes it easy to change the look of the whole bar
in one go. If you want to display the bar more than once in a single
page, you'll have to move echo_link() out of this file or you'll get an
error for trying to declare the same function twice.
include("http://www.alopezie.de/footer.inc"); ?>