The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

lib/mktemp-authority.pl - Template editor authority file lookups

SYNOPSIS

  require "$ROADS::Lib/mktemp-authority.pl";
  &AuthorityLookup($cluster,$tt,$type,$instance);

DESCRIPTION

This package implements a routine which returns an HTML rendered version of the authority file for a given template type and element.

METHODS

AuthorityLookup( type );

This function renders a page of HTML to STDOUT containing the authority file choices for the given template type and attribute. If it contains one or more colon ":" characters, the type parameter is expanded to :-

cluster

The cluster being edited.

tt

The template type being edited, e.g. DOCUMENT.

type

The attribute type being controlled by the authority file, e.g. Keywords.

instance

The particular instance of this attribute type being edited.

FILES

config/authority/* - default location for the authority files. There are subdirectories for each template type and a separate file for each attribute. The files themselves consist of a line for each possible value of the attribute being controlled by the authority file.

SEE ALSO

"mktemp.pl" in admin-cgi

COPYRIGHT

Copyright (c) 1988, Martin Hamilton <martinh@gnu.org> and Jon Knight <jon@net.lut.ac.uk>. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

It was developed by the Department of Computer Studies at Loughborough University of Technology, as part of the ROADS project. ROADS is funded under the UK Electronic Libraries Programme (eLib), the European Commission Telematics for Research Programme, and the TERENA development programme.

AUTHOR

Jon Knight <jon@net.lut.ac.uk>