NAME
lib/mktemp-editform.pl - return the main template editor form
SYNOPSIS
require "$ROADS::Lib/mktemp-editform.pl";
&editform;
DESCRIPTION
This package implements a routine which returns the main ROADS template editor form.
METHODS
editform;
This function returns the main ROADS template editor form, rendering only those template fields which have been chosen in the CGI view variable, and including such context sensitive help, default values, pick lists and authority files as have been defined.
The user has the option of adding additional clusters (of each type represented in the template) and variants, or removing the last variant of cluster of each type which has been entered. In addition, one can include a whole template as a cluster within another template, or search for a template to include.
FILES
config/authority/* - authority files, if applicable.
config/multilingual/*/mktemp/editformhead.html - the beginning of the HTML form.
config/multilingual/*/mktemp/editformtail.html - the end of the HTML form.
config/multilingual/*/mktemp-notes/* - per template type/attribute context sensitive help, if applicable. Notes can be specific to a particular template type and attribute combination by creating a file say document-Keywords, or applied to all instances of a particular attribute name by creating a file (say) all-Keywords
BUGS
The HTML produced by the editor is practically hard coded. It would be highly desirable to be able to control the rendering style used for individual attributes. This may be possible without too much pain using CSS.
SEE ALSO
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>