koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/de/parameters admin


From: Dorian Meid
Subject: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/de/parameters admin-home.tmpl,NONE,1.1 aqbookfund.tmpl,NONE,1.1 aqbudget.tmpl,NONE,1.1 auth_subfields_structure.tmpl,NONE,1.1 auth_tag_structure.tmpl,NONE,1.1 authorised_values.tmpl,NONE,1.1 authtypes.tmpl,NONE,1.1 biblio_framework.tmpl,NONE,1.1 branches.tmpl,NONE,1.1 categorie.tmpl,NONE,1.1 categoryitem.tmpl,NONE,1.1 checkmarc.tmpl,NONE,1.1 currency.tmpl,NONE,1.1 issuingrules.tmpl,NONE,1.1 itemtypes.tmpl,NONE,1.1 koha2marclinks.tmpl,NONE,1.1 marc_subfields_structure.tmpl,NONE,1.1 marctagstructure.tmpl,NONE,1.1 printers.tmpl,NONE,1.1 stopwords.tmpl,NONE,1.1 systempreferences.tmpl,NONE,1.1 thesaurus.tmpl,NONE,1.1 z3950servers.tmpl,NONE,1.1
Date: Thu, 12 May 2005 12:26:37 -0700

Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/de/parameters
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16198/intranet-tmpl/default/de/parameters

Added Files:
        admin-home.tmpl aqbookfund.tmpl aqbudget.tmpl 
        auth_subfields_structure.tmpl auth_tag_structure.tmpl 
        authorised_values.tmpl authtypes.tmpl biblio_framework.tmpl 
        branches.tmpl categorie.tmpl categoryitem.tmpl checkmarc.tmpl 
        currency.tmpl issuingrules.tmpl itemtypes.tmpl 
        koha2marclinks.tmpl marc_subfields_structure.tmpl 
        marctagstructure.tmpl printers.tmpl stopwords.tmpl 
        systempreferences.tmpl thesaurus.tmpl z3950servers.tmpl 
Log Message:
First german contribution to 2.2.2
Thanks to Friedrich

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->
<div id="mainbloc">
<TMPL_IF name="CAN_user_management">
<h1>Parameter</h1><br>
</TMPL_IF>

<div id="bloc100">
<TMPL_IF name="CAN_user_management">
        <div id="bloctitle">Systemparameter </div>

        <table>
        <tr>
        <td colspan="2"><b>F&uuml;llen Sie die einzelnen Punkte der Reihe nach 
aus, um ein funktionsf&auml;higes Koha zu erhalten</b></td>
        </tr>
        <TMPL_IF name="CAN_user_parameters">    
                <tr>
                        <td valign="top" width="25%"><a 
href="/cgi-bin/koha/admin/branches.pl">Zweigstellen der Bibliothek</a></td>
                        <td>Die verschiedenen Zweigstellen, die mit diesem 
Koha-Server verwaltet werden</td>
                </tr>
        </TMPL_IF>
        
        <TMPL_IF name="CAN_user_management">
                <tr>
                        <td valign="top" width="25%"><a 
href="/cgi-bin/koha/admin/aqbookfund.pl">Erwerbungsetats</a></td>
                        <td>Administration Erwerbungsetats. Denken Sie daran, 
da&szlig; Sie vor der Einrichtung der Einzeletats den Erwerbungsetat 
festlegen.</td>
                </tr>

                <tr>
                        <td valign="top" width="25%"><a 
href="/cgi-bin/koha/admin/currency.pl">W&auml;hrungen</a></td>
                        <td>Wechselkurs definieren</td>
                </tr>

                <tr>
                        <td valign="top" width="25%"><a 
href="/cgi-bin/koha/admin/itemtypes.pl">Medientypen</a></td>
                        <td>Medientypen definieren</td>
                </tr>

                <tr>
                        <td valign="top" width="25%"><a 
href="/cgi-bin/koha/admin/categorie.pl">Benutzerkategorien</a></td>
                        <td>Definition der Benutzerkategorien</td>
                </tr>

                <tr>
                        <td valign="top" width="25%"><a 
href="/cgi-bin/koha/admin/issuingrules.pl">Ausleihbedingungen</a></td>
                        <td>Definition der Ausleihkonditionen f&uuml;r 
Zweigstellen / Entleiher / Medientypen (Anzahl Ausleihen, Leihfrist, 
Geb&uuml;hren...)</td>
                </tr>

                <tr>
                        <td valign="top" width="25%"><a 
href="/cgi-bin/koha/admin/authorised_values.pl">Vorgabewerte</a></td>
                        <td>Definition von Kategorien und deren Vorgabewerte. 
Vorgabewerte werden in MARC-Formularen zur Begrenzung und als Eingabehilfe 
benutzt</td>
                </tr>
        </TMPL_IF>
                
        <TMPL_IF name="CAN_user_parameters">
                <tr>
                        <td valign="top" width="25%"><a 
href="/cgi-bin/koha/admin/authtypes.pl">Thesaurus-Struktur</a></td>
                        <td>Definition von Kategorien und Thesaurus/Authority 
MARC-Struktur</td>
                </tr>

                <tr>
                        <td valign="top" width="25%"><a 
href="/cgi-bin/koha/admin/biblio_framework.pl">Biblio Framework 
(MARC-Struktur)</a></td>
                        <td>Die definierten Frameworks f&uuml;r den 
MARC-Editor. Framework anlegen, dann Definition der MARC-Struktur (Felder &amp; 
Unterfelder</td>
                </tr>

                <tr>
                        <td valign="top" width="25%"><a 
href="/cgi-bin/koha/admin/koha2marclinks.pl">Links Koha - MARC DB</a></td>
                        <td>Verweise zwischen der Koha-Standarddatenbank der 
MARC-Datenbank definieren. Beachten Sie, dass Verweise &uuml;ber die 
MARC-Struktur definiert werden k&ouml;nnen. Dieses Dienstprogramm stellt nur 
einen schnelleren Weg dar, die Erstellung der Verweise durchzuf&uuml;hren.</td>
                </tr>

                <tr>
                        <td valign="top" width="25%"><a 
href="/cgi-bin/koha/admin/checkmarc.pl">MARC Check</a></td>
                        <td>&Uuml;berpr&uuml;ft die MARC-Struktur. Vor Aufnahme 
des Echtbetriebs bitte ausf&uuml;hren. Das Ergebnis zeigt Fehler an, die die 
Koha Datenbank zerst&ouml;ren k&ouml;nnen!</td>
                </tr>
        </TMPL_IF>
        
        <tr>
        <th colspan="2">Verschiedene Parameter</th>
        </tr>
        <TMPL_IF name="CAN_user_parameters">
                <tr>
                        <td valign="top" width="25%"><a 
href="/cgi-bin/koha/admin/printers.pl">Drucker</a></td>
                        <td>Drucker (UNIX-Pfade).</td>
                </tr>
        </TMPL_IF>
        
        <TMPL_IF name="CAN_user_management">
                <tr>
                        <td valign="top" width="25%"><a 
href="/cgi-bin/koha/admin/stopwords.pl">Stopworte</a></td>
                        <td>W&ouml;rter, die bei der Suche nicht 
ber&uuml;cksichtigt werden</td>
                </tr>
        </TMPL_IF>
        
        <TMPL_IF name="CAN_user_parameters">
                <tr>
                        <td valign="top" width="25%"><a 
href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50 Server</a></td>
                        <td>Server f&uuml;r die Suche nach MARC-Daten</td>
                </tr>

                <tr>
                        <td valign="top" width="25%"><a 
href="/cgi-bin/koha/admin/systempreferences.pl">Systemvorgaben</a></td>
                        <td>Systemvorgaben</td>
                </tr>
        </TMPL_IF>
        </table>
</TMPL_IF>


<TMPL_IF name="CAN_user_tools">
        <h1>Tools</h1>
        <table>
                <tr>
                <th colspan="2"> Export</th>
                </tr>
                <tr>
                        <td valign="top" width="25%"><a 
href="/cgi-bin/koha/export/marc.pl">MARC BIBLIO-Export</a></td>
                        <td> Exportiere ins MARC-Format</td>
                </tr>
                <tr>
                <th colspan="2">Import</th>
                </tr>
                <tr valign="top">
                        <td width="20%"><a 
href="/cgi-bin/koha/import/breeding.pl">MARC-S&auml;tze in den Framddatenpool 
hochladen</a></td>
                        <td>Die Breeding-Farm ist eine Tabelle, in der die 
importierten MARC-Daten gespeichert werden. So lange Sie keine Exemplare zu 
diesem Satz haben, bleibt er in der Breeding-Farm. Geben Sie die ISBN oder den 
Titel eines Biblio ein, wird danach in der Breeding-Farm gesucht. Wird der Satz 
gefunden, dann wird er in die aktive Koha-Tabelle &uuml;bernommen.
                        </td>
                </tr>
                <tr>
                <th colspan="2">Barcode-Generator</th>
                </tr>
                <tr valign="top">
                        <td width="20%"><a 
href="/cgi-bin/koha/barcodes/barcodes.pl">Generiere Barcodes</a></td>
                        <td>Der Barcodegenerator generiert Barcodes f&uuml;r 
Exemplare die Sie erwerben
                        </td>
                </tr>
        </table>
</TMPL_IF>
</div>
</div>
<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->
<div id="mainbloc">
        <!-- TMPL_IF NAME="else" -->
        <h1>Administration Erwerbungsetats</h1>
        <form action="<!-- TMPL_VAR NAME="scriptname" -->" method="post">
        <input type="text" name="searchfield" value=""><input type="reset" 
name="reset" value="l&ouml;schen"></form>
        <!-- TMPL_IF NAME="search" -->
                <br>Sie suchten nach <b><!-- TMPL_VAR NAME="searchfield" 
--></b><p><br>
        <!-- /TMPL_IF -->
        <table border="0" cellspacing="0" cellpadding="2" width="80%">
        <tr>
                <th>Erwerbungsetat</th>
                <th>Name</th>
                <th>Bearbeiten</th>
                <th>L&ouml;schen</th>
                </tr>
        <!-- TMPL_LOOP NAME="bookfund" -->
                <tr valign="top" bgcolor="ffffcc">
                        <td><!-- TMPL_VAR NAME="bookfundid" --></td>
                        <td><!-- TMPL_VAR NAME="bookfundname" --></td>
                        <td><a href="<!-- TMPL_VAR NAME="action" 
-->?op=add_form&amp;bookfundid=<!-- TMPL_VAR NAME="bookfundid" --> ">
                                <img src="<!-- TMPL_VAR NAME="interface" 
-->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png" alt="Bearbeiten" 
title="Bearbeiten" width="32" hspace="0" vspace="0" border="0"></a>
                        </td>
                        <td><a href="<!-- TMPL_VAR NAME="action" 
-->?op=delete_confirm&amp;bookfundid=<!-- TMPL_VAR NAME="bookfundid" -->"><img 
src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" 
-->/images/edittrash.png" alt="L&ouml;schen" title="L&ouml;schen" width="32" 
hspace="0" vspace="0" border="0"></a></td>
                </tr>
                <tr>
                        <td>&nbsp;</td>
                        <th>Etat</th>
                        <td>
                                <a 
href="aqbudget.pl?op=add_form&amp;bookfundid=<!-- TMPL_VAR NAME="bookfundid" 
-->" class="button">
                                Etat hinzuf&uuml;gen</a>
                        </td>
                        <td>&nbsp;</td>
                </tr>
                <!-- TMPL_LOOP NAME="budget" -->
                        <tr valign="top">
                                <td>&nbsp;</td>
                                <td>
                                        <!-- TMPL_VAR NAME="startdate" --> - 
<!-- TMPL_VAR NAME="enddate" --> : <b><!-- TMPL_VAR NAME="budgetamount" --></b>
                                </td>
                                <td>
                                        <a 
href="/cgi-bin/koha/admin/aqbudget.pl?op=add_form&amp;aqbudgetid=<!-- TMPL_VAR 
NAME="aqbudgetid" -->">
                                                <img src="<!-- TMPL_VAR 
NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png" 
alt="Bearbeiten" title="Bearbeiten" width="32" hspace="0" vspace="0" border="0">
                                        </a>
                                </td>
                                <td>
                                        <a 
href="/cgi-bin/koha/admin/aqbudget.pl?op=delete_confirm&amp;aqbudgetid=<!-- 
TMPL_VAR NAME="aqbudgetid" -->">
                                                <img src="<!-- TMPL_VAR 
NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" 
alt="L&ouml;schen" title="L&ouml;schen" width="32" hspace="0" vspace="0" 
border="0">
                                        </a>
                                </td>
                        </tr>
                <!-- /TMPL_LOOP -->
        <!-- /TMPL_LOOP -->
        </table>
        <form action="<!-- TMPL_VAR NAME="scriptname" -->" method="post">
                <input type="hidden" name="op" 
value="add_form">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <br><input type="submit" class="button" value="Erwerbungsetat 
hinzuf&uuml;gen" title="Erwerbungsetat hinzuf&uuml;gen" alt="Erwerbungsetat 
hinzuf&uuml;gen"><br>
                <br></form><br clear="all">
        <p> &nbsp; </p>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="add_form" -->
        <script language="javascript" type="text/javascript">
                function _(s) { return s } // dummy function for gettext
                
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                function isNotNull(f,noalert) {
                        if (f.value.length ==0) {
        return false;
                        }
                        return true;
                }
                
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                function toUC(f) {
                        var x=f.value.toUpperCase();
                        f.value=x;
                        return true;
                }
                
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                function isNum(v,maybenull) {
                var n = new Number(v.value);
                if (isNaN(n)) {
                        return false;
                        }
                if (maybenull==0 && v.value=='') {
                        return false;
                }
                return true;
                }
                
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                function isDate(f) {
                        var t = Date.parse(f.value);
                        if (isNaN(t)) {
                                return false;
                        }
                }
                
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                function Check(f) {
                        var ok=1;
                        var _alertString="";
                        var alertString2;
                        if (f.bookfundid.value.length==0) {
                                _alertString += "\n- " + _("Etat-ID fehlt");
                        }
                        if (f.bookfundname.value.length==0) {
                                _alertString += "\n- " + _("Etatname fehlt");
                        }
                        if (_alertString.length==0) {
                                document.Aform.submit();
                        } else {
                                alertString2  = _("Form not submitted because 
of the following problem(s)");
                                alertString2 += 
"\n------------------------------------------------------------------------------------\n";
                                alertString2 += _alertString;
                                alert(alertString2);
                        }
                }
                </script>
        <h1>
                <!-- TMPL_IF NAME="use-header-flags-p" -->
                <!-- TMPL_IF NAME="header-is-add-p" -->Erwerbungsetat 
hinzuf&uuml;gen<!-- /TMPL_IF -->
                <!-- TMPL_IF NAME="header-is-modify-p" -->Medienetat 
bearbeiten<!-- /TMPL_IF -->
                <!-- TMPL_ELSE -->
                <!-- TMPL_VAR NAME="header" -->
                <!-- /TMPL_IF -->
        </h1>
        <form action="<!-- TMPL_VAR NAME="action" -->" name="Aform" 
method="post">
        <input type="hidden" name="op" value="add_validate">
        <input type="hidden" name="checked" value="0">
        <!-- TMPL_IF NAME="add_or_modify" -->
        <p>
                <label>Erwerbungsetat</label><input type="hidden" 
name="bookfundid" value="<!-- TMPL_VAR NAME="bookfundid" -->"><!-- TMPL_VAR 
NAME="bookfundid" -->
        </p>
        <!-- TMPL_ELSE -->
        <p>
                <label>Erwerbungsetat</label><input type="text" 
name="bookfundid" size="5" maxlength="5" onblur="toUC(this)">
        </p>
        <!-- /TMPL_IF -->
        <p>
                <label>Name</label><input type="text" name="bookfundname" 
size="40" maxlength="80" value="<!-- TMPL_VAR NAME="bookfundname" escape=HTML 
-->">&nbsp;
        </p>
        <p>
                <label>&nbsp;</label><input type="button" value="OK" 
onclick="Check(this.form)" class="button">
        </p>
        </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="add_validate" -->
        Daten gespeichert
        <form action="<!-- TMPL_VAR NAME="action" -->" method="post">
        <input type="submit" value="OK">
        </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="delete_confirm" -->
        <table border="0" cellspacing="0" cellpadding="5">
        <tr valign="top" bgcolor="#99cc33"><td background="<!-- TMPL_VAR 
NAME="themelang" -->/images/background-mem.gif"><b>Erwerbungsetat</b></td><td 
background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b><!-- TMPL_VAR NAME="bookfundid" 
--></b></td></tr>
        <form action="<!-- TMPL_VAR NAME="action" -->" method="post"><input 
type="hidden" name="op" value="delete_confirmed"><input type="hidden" 
name="bookfundid" value="<!-- TMPL_VAR NAME="bookfundid" -->">
        <tr><td>Name</td><td><!-- TMPL_VAR NAME="bookfundname" --></td></tr>
        <tr><td colspan="2" align="center">L&ouml;schen 
best&auml;tigen</td></tr>
        <tr><td><input type="submit" value="JA"></form></td><td><form 
action="<!-- TMPL_VAR NAME="action" -->" method="post"><input type="submit" 
value="NEIN"></form></td></tr><br clear="all">
        <p> &nbsp; </p>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="delete_confirmed" -->
        Daten gel&ouml;scht
        <form action="<!-- TMPL_VAR NAME="action" -->" method="post">
        <input type="submit" value="OK">
        </form>
        <!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->
<div id="mainbloc">
        <!-- TMPL_IF NAME="else" -->
                <h1>Etatadministration</h1><form 
action="/cgi-bin/koha/admin/aqbudget.pl" method="post">
                <input type="text" name="searchfield" value="">
                <input type="submit" class="button" value="OK"></form>
                <!-- TMPL_IF NAME="search" -->
                <br>Sie suchten nach <b><!-- TMPL_VAR NAME="searchfield" 
--></b><p><br>
                <!-- /TMPL_IF -->
                <table>
                <tr>
                        <th>Erwerbungsetat</th>
                        <th>Anfangsdatum</th>
                        <th>Enddatum</th>
                        <th>Etatsumme</th>
                        <th>&nbsp;</th>
                        <th>&nbsp;</th>
                </tr>
                <!-- TMPL_LOOP NAME="budget" -->
                        <tr bgcolor=<!-- TMPL_VAR NAME="toggle" --> >
                                <td><!-- TMPL_VAR NAME="bookfundid" --> (<!-- 
TMPL_VAR NAME="bookfundname" -->)</td>
                                <td><!-- TMPL_VAR NAME="startdate" --></td>
                                <td><!-- TMPL_VAR NAME="enddate" --></td>
                                <td align="right"><!-- TMPL_VAR 
NAME="budgetamount" --></td>
                                <td>
                                        <a 
href="/cgi-bin/koha/admin/aqbudget.pl?op=add_form&amp;bookfundid=<!-- TMPL_VAR 
NAME="bookfundid" -->">
                                                <img src="<!-- TMPL_VAR 
NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png"  
width="32" hspace="0" vspace="0" border="0">
                                        </a>
                                </td>
                                <td>
                                        <a 
href="/cgi-bin/koha/admin/aqbudget.pl?op=delete_confirm&amp;bookfundid=<!-- 
TMPL_VAR NAME="bookfundid" -->">
                                                <img src="<!-- TMPL_VAR 
NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" 
width="32" hspace="0" vspace="0" border="0">
                                        </a>
                                </td>
                        </tr>
                <!-- /TMPL_LOOP -->
                </table>
                <form action="/cgi-bin/koha/admin/aqbudget.pl" method="post">
                        <input type="hidden" name="op" value="add_form">
                        <br>
                        <input type="submit" class="button" value="Budget 
hinzuf&uuml;gen" title="Budget hinzuf&uuml;gen" alt="Budget hinzuf&uuml;gen">
                        <br>
                </form>
                <br clear="all">
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="add_form" -->
        <script language="javascript" type="text/javascript">
                function _(s) { return s } // dummy function for gettext
                
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                function isNotNull(f,noalert) {
                        if (f.value.length ==0) {
        return false;
                        }
                        return true;
                }
                
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                function toUC(f) {
                        var x=f.value.toUpperCase();
                        f.value=x;
                        return true;
                }
                
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                function isNum(v,maybenull) {
                var n = new Number(v.value);
                if (isNaN(n)) {
                        return false;
                        }
                if (maybenull==0 && v.value=='') {
                        return false;
                }
                return true;
                }
                
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                function isDate(f) {
                        var t = Date.parse(f.value);
                        if (isNaN(t)) {
                                return false;
                        }
                }
                
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                function Check(f) {
                        var ok=1;
                        var _alertString="";
                        var alertString2;
                        if (!(isNotNull(window.document.Aform.budgetamount,1))) 
{
                                _alertString += "\n- " + _("Etat fehlt");
                        }
                        if (_alertString.length==0) {
                                document.Aform.submit();
                        } else {
                                alertString2  = _("Form not submitted because 
of the following problem(s)");
                                alertString2 += 
"\n------------------------------------------------------------------------------------\n";
                                alertString2 += _alertString;
                                alert(alertString2);
                        }
                }
                </script>
        <h1><!-- TMPL_VAR NAME="header" --></h1>
        <div id="bloc25">
                <form action="/cgi-bin/koha/admin/aqbudget.pl" name="Aform" 
method="post">
                <input type="hidden" name="op" value="add_validate">
                <input type="hidden" name="checked" value="0">
                <!-- TMPL_IF NAME="modify" -->
                        <p>
                                <label 
class="label100">Erwerbungsetat</label><input type="hidden" name="bookfundid" 
value="<!-- TMPL_VAR NAME="bookfundid" -->"><!-- TMPL_VAR NAME="bookfundid" -->
                        </p>
                        <p>
                                <label class="label100">Name des 
Etats</label><!-- TMPL_VAR NAME="bookfundname" -->
                        </p>
                <!-- /TMPL_IF -->
                
                <!-- TMPL_IF NAME="adding" -->
                        <p>
                                <label 
class="label100">Erwerbungsetat</label><input type="hidden" name="bookfundid" 
size="5" maxlength="5" value="<!-- TMPL_VAR NAME="bookfundid" -->"><!-- 
TMPL_VAR NAME="bookfundid" -->
                        </p>
                <!-- /TMPL_IF -->
                
                <p>
                        <label class="label100">Anfangsdatum</label><input 
type="text" name="startdate" size="11" value="<!-- TMPL_VAR NAME="startdate" 
-->">
                </p>
                <p>
                        <label class="label100">Enddatum <i>(<!-- TMPL_VAR 
NAME="dateformat" -->)</i></label><input type="text" name="enddate" size="11" 
value="<!-- TMPL_VAR NAME="enddate" -->">
                </p>
                <p>
                        <label class="label100">Etatsumme</label><input 
type="text" name="budgetamount" value="<!-- TMPL_VAR NAME="budgetamount" -->">
                </p>
                <p><input type="hidden" name="aqbudgetid" value="<!-- TMPL_VAR 
NAME="aqbudgetid" -->"><input type="button" value="OK" 
onclick="Check(this.form)" class="button"></p>
                </form>
        </div>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="add_validate" -->
        Daten gespeichert
        <form action="<!-- TMPL_VAR NAME="action" -->" method="post">
        <input type="submit" value="OK">
        </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="delete_confirm" -->
        <table border="0" cellspacing="0" cellpadding="5">
                <tr valign="top" bgcolor="#99cc33">
                        <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif">
                                <b>Erwerbungsetat</b>
                        </td>
                        <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif">
                                <b><!-- TMPL_VAR NAME="bookfundid" --></b>
                        </td>
                </tr>
        
                <form action="<!-- TMPL_VAR NAME="action" -->" 
method="post"><input type="hidden" name="op" value="delete_confirmed"><input 
type="hidden" name="aqbudgetid" value="<!-- TMPL_VAR NAME="aqbudgetid" -->">
                <tr>
                        <td>Anfangsdatum</td>
                        <td><!-- TMPL_VAR NAME="startdate" --></td>
                </tr>
                <tr>
                        <td>Enddatum</td><td><!-- TMPL_VAR NAME="enddate" 
--></td>
                </tr>
                <tr>
                        <td>Etath&ouml;he</td><td><!-- TMPL_VAR 
NAME="budgetamount" --></td>
                </tr>
                <tr>
                        <td colspan="2" align="center">L&ouml;schen 
best&auml;tigen</td>
                </tr>
                <tr>
                        <td><input type="submit" 
value="JA"></form></td><td><form action="<!-- TMPL_VAR NAME="action" -->" 
method="post"><input type="submit" value="NEIN"></form></td>
                </tr>
        </table>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="delete_confirmed" -->
        Daten gel&ouml;scht
        <form action="<!-- TMPL_VAR NAME="action" -->" method="post">
        <input type="submit" value="OK">
        </form>
        <!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->

<div id="mainbloc">
<!-- TMPL_IF NAME="add_form" -->
<!-- ------------------------------------------------------------------------ 
-->
        <h1>
        <!-- TMPL_IF NAME="use-heading-flags-p" -->
        <!-- TMPL_IF NAME="heading-edit-subfields-p" -->Subfields 
bearbeiten<!-- /TMPL_IF -->
        <!-- TMPL_ELSE --><!-- TMPL_VAR NAME="action" --><!-- /TMPL_IF -->
        </h1>
        <form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" 
method="post">
        <input type="hidden" name="op" value="add_validate">
        <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR 
NAME="authtypecode" -->">
        <table>
        <!-- TMPL_LOOP NAME="loop" -->
                <tr bgcolor="<!-- TMPL_VAR NAME="bgcolor" -->">
                <td>
                        <h2 class="parameters">Tag <!-- TMPL_VAR 
NAME="tagfield" -->, Subfield <!-- TMPL_VAR NAME="tagsubfield" --></h2>
                        <h3>MARC constraints</h3>
                        <p>
                                <label>&nbsp;</label><!-- TMPL_VAR 
NAME="repeatable" --> repeatable  <!-- TMPL_VAR NAME="mandatory" --> mandatory
                        </p>
                        <p>
                                <label>&nbsp;</label>
                                <label>Search also</label><input type="text" 
name="seealso" value="<!-- TMPL_VAR name="seealso" -->" size=20> (example for 
200a : '200c','200d','200e')
                        </p>
                        <h3>Editor constaints</h3>
                        <p> <label>&nbsp;</label>
                                <label>Text f&uuml; Bibliothekar</label>
                                <input type="text" name="liblibrarian" 
value="<!-- TMPL_VAR NAME="liblibrarian" -->" size="40" maxlength="80">
                        </p>
                        <p>
                                <label>&nbsp;</label>
                                <label>Text f&uuml;r OPAC</label> <input 
type="text" name="libopac" value="<!-- TMPL_VAR NAME="libopac" -->" size="40" 
maxlength="80">
                        </p>
                        <p><label>&nbsp;</label><label>Managed</label> <!-- 
TMPL_VAR NAME="tab" --></p>
                        <p><label>&nbsp;</label><!-- TMPL_VAR NAME="hidden" --> 
hidden (subfield is managed, but hidden. -should be filled by a plugin or 
thesaurus-)</p>
                        <p><label>&nbsp;</label><!-- TMPL_VAR NAME="isurl" --> 
URL (if checked, it means that the subfield is an URL and can be clicked</p>
                        <p>
                                <label>&nbsp;</label><label>Auth value:</label> 
<!-- TMPL_VAR NAME="authorised_value" --> oder Thesaurus: <!-- TMPL_VAR 
NAME="thesaurus_category" --> oder Plugin: <!-- TMPL_VAR NAME="value_builder" 
-->
                        </p>
                </td>
                </tr>
        <!-- /TMPL_LOOP -->
        </table>
        <input type="submit" value="OK" class="button parameters">
        <p>Note: in the last column, you can choose:
        <ul><li>An "authorised value": it refers to a list of authorised values 
for this subfield. See the corresponding admin table.</li>
        <li>A "value builder": values builders are perl programs that help you 
select the value of the field. They are MARC-flavor dependant and sometimes 
fill another subfield automatically.</li>
        </ul>
        </p>
        </form>
<!-- /TMPL_IF -->

<!-- TMPL_IF NAME="delete_confirm" -->
<!-- ------------------------------------------------------------------------ 
-->
<div id="bloc25">
        <h2 class="parameters">
                Subfield <!-- TMPL_VAR NAME="tagsubfield" -->  <!-- TMPL_VAR 
NAME="liblibrarian" -->
        </h2>
        <form action="<!-- TMPL_VAR NAME="delete_link" -->" method="post">
                <input type="hidden" name="op" value="delete_confirmed">
                <input type="hidden" name="searchfield" value="<!-- TMPL_VAR 
NAME="searchfield" -->">
                <input type="hidden" name="tagfield" value="<!-- TMPL_VAR 
NAME="tagfield" -->">
                <input type="hidden" name="tagsubfield" value="<!-- TMPL_VAR 
NAME="tagsubfield" -->">
                <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR 
NAME="authtypecode" -->">
                <p>L&ouml;schen best&auml;tigen</p>
                <input type="submit" value="JA" class="button parameters">
        </form>
        <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
                <input type="hidden" name="tagfield" value="<!-- TMPL_VAR 
NAME="tagfield" -->">
                <input type="submit" value="NEIN" class="button parameters">
        </form>
</div>
<!-- /TMPL_IF -->

<!-- ------------------------------------------------------------------------ 
-->
<!-- TMPL_IF NAME="else" -->
<h1>Authority MARC subfield structure admin for tag <!-- TMPL_VAR 
NAME="tagfield" --> <!-- TMPL_IF NAME="authtypecode" -->(Framework <!--TMPL_VAR 
NAME="authtypecode" -->)<!-- TMPL_ELSE -->(Default Framework)<!-- /TMPL_IF 
--></h1>
<p>This screen shows the subfields associated with the selected tag. You can 
edit subfields or add a new one by clicking on edit. </p>

<table>
<tr>
        <th>Subfield</th>
        <th>Texte</th>
        <th>Constraints</th>
        <th>L&ouml;schen</th>
<!-- TMPL_LOOP NAME="loop" -->
<tr bgcolor="<!-- TMPL_VAR NAME="bgcolor" -->">
        <td><!-- TMPL_VAR NAME="tagsubfield" --></td>
        <td>
                <!-- TMPL_IF NAME="subfield_ignored" -->
                        <i><!-- TMPL_VAR NAME="liblibrarian" --></i>
                <!-- TMPL_ELSE -->
                        <!-- TMPL_VAR NAME="liblibrarian" -->
                <!-- /TMPL_IF -->
        </td>
        <td>
                <!-- TMPL_IF NAME="subfield_ignored" -->
                        <i>subfield ignored</i>
                <!-- TMPL_ELSE -->
                        Managed, <!-- TMPL_IF NAME="repeatable" 
-->Wiederholbar, <!-- TMPL_ELSE -->Nicht wiederholbar<!-- /TMPL_IF -->
                        <!-- TMPL_IF NAME="mandatory" -->Obligatorisch, <!-- 
TMPL_ELSE -->Nicht obligatorisch,<!-- /TMPL_IF -->
                        <!-- TMPL_IF NAME="seealso" -->siehe auch: <!-- 
TMPL_VAR NAME="seealso" --><!-- /TMPL_IF -->
                        <!-- TMPL_IF NAME="hidden" -->versteckt<!-- /TMPL_IF -->
                        <!-- TMPL_IF NAME="isurl" -->ist ein URL<!-- /TMPL_IF 
-->
                        <!-- TMPL_IF NAME="authorised_value" --> Auth value 
:<!-- TMPL_VAR NAME="authorised_value" -->,<!-- /TMPL_IF -->
                        <!-- TMPL_IF NAME="value_builder" -->Plugin :<!-- 
TMPL_VAR NAME="value_builder" -->,<!-- /TMPL_IF -->
                <!-- /TMPL_IF -->
        </td>
        <td>
                <a href="<!-- TMPL_VAR NAME="delete" -->">
                        <img src="<!-- TMPL_VAR NAME="interface" -->/<!-- 
TMPL_VAR NAME="theme" -->/images/edittrash.png" width="32" hspace="0" 
vspace="0" border="0">
                </a>
        </td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<!-- TMPL_VAR NAME="edit" -->
        <img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" 
-->/images/fileopen.png"  width="32" hspace="0" vspace="0" border="0">
</a>
<a href="auth_tag_structure.pl?searchfield=<!-- TMPL_VAR NAME="tagfield" 
-->&amp;authtypecode=<!-- TMPL_VAR NAME="authtypecode" -->">
        <img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" 
-->/images/2uparrow.png" width="32" hspace="0" vspace="0" border="0">
</a>
<!-- TMPL_IF NAME="previous" -->
        <input type="image" src="<!-- TMPL_VAR NAME="interface" -->/<!-- 
TMPL_VAR NAME="theme" -->/images/1leftarrow.png" title="vorheriges" 
alt="vorheriges" border="0">
        </a><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="next" -->
        <!-- TMPL_VAR NAME="next" -->
                <input type="image" src="<!-- TMPL_VAR NAME="interface" 
-->/<!-- TMPL_VAR NAME="theme" -->/images/1rightarrow.png" title="next" 
alt="next" border="0">
        </a>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->

</div>

<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->

<div id="mainbloc">
<h1 class="parameters">Authority marc framework for <!-- TMPL_IF 
NAME="authtypecode" --><!-- TMPL_VAR NAME="authtypecode" --><!-- TMPL_ELSE 
-->Default Framework<!-- /TMPL_IF --></h1>
<script language="javascript" type="text/javascript">
        function _(s) { return s } // dummy function for gettext
        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        function isNotNull(f,noalert) {
                if (f.value.length ==0) {
   return false;
                }
                return true;
        }
        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        function toUC(f) {
                var x=f.value.toUpperCase();
                f.value=x;
                return true;
        }
        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        function isNum(v,maybenull) {
        var n = new Number(v.value);
        if (isNaN(n)) {
                return false;
                }
        if (maybenull==0 && v.value=='') {
                return false;
        }
        return true;
        }
        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        function isDate(f) {
                var t = Date.parse(f.value);
                if (isNaN(t)) {
                        return false;
                }
        }
        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        function Check(f) {
                var ok=1;
                var _alertString="";
                var alertString2;
                if (f.tagfield.value.length==0) {
                        _alertString += "\n- " + _("Tag-Nummer fehlt");
                }
                if (_alertString.length==0) {
                        document.Aform.submit();
                } else {
                        alertString2  = _("Form not submitted because of the 
following problem(s)");
                        alertString2 += 
"\n------------------------------------------------------------------------------------\n";
                        alertString2 += _alertString;
                        alert(alertString2);
                }
        }
        </script>

<!-- TMPL_IF NAME="add_form" -->
<!-- ------------------------------------------------------------------------ 
-->
        <h1 class="parameters">
        <!-- TMPL_IF NAME="use-heading-flags-p" -->
        <!-- TMPL_IF NAME="heading-modify-tag-p" -->Tag bearbeiten<!-- /TMPL_IF 
-->
        <!-- TMPL_IF NAME="heading-add-tag-p" -->Tag hinzuf&uuml;gen<!-- 
/TMPL_IF -->
        <!-- TMPL_ELSE --><!-- TMPL_VAR NAME="action" --><!-- /TMPL_IF -->
        </h1>
        <form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" 
method="post">
                <input type="hidden" name="op" value="add_validate">
                <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR 
NAME="authtypecode" -->">
                <p><label>Tag<label><!-- TMPL_VAR NAME="searchfield" --></p>
                <p><label>Text for librarians</label><input type="text" 
name="liblibrarian" value="<!-- TMPL_VAR NAME="liblibrarian" escape=HTML -->" 
size="80" maxlength="100"></p>
                <p><label>Text for opac</label><input type="text" 
name="libopac" value="<!-- TMPL_VAR NAME="libopac" escape=HTML -->" size="80" 
maxlength="100"></p>
                <p><label>Wiederholbar</label><!-- TMPL_VAR NAME="repeatable" 
--></p>
                <p><label>Obligatorisch</label><!-- TMPL_VAR NAME="mandatory" 
--></p>
                <p><label>Vorgabewert</label><!-- TMPL_VAR 
NAME="authorised_value" --> (if you select a value here, the indicators will be 
limited to the authorised value list)</p>
                <p><label>&nbsp;</label><input type="button" value="OK" 
class="button" onclick="Check(this.form)"></p>
        </form>
<!-- /TMPL_IF -->


<!-- TMPL_IF NAME="delete_confirm" -->
<!-- ------------------------------------------------------------------------ 
-->
<table>
        <tr>
                <td>Tag</td>
                <td><!-- TMPL_VAR NAME="searchfield" --></td>
        </tr>
        <tr>
                <td>&nbsp;</td><td><!-- TMPL_VAR NAME="liblibrarian" --></td>
        </tr>
        <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
                <input type="hidden" name="op" value="delete_confirmed">
                <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR 
name="authtypecode" -->">
                <input type="hidden" name="searchfield" value="<!-- TMPL_VAR 
NAME="searchfield" -->">
        <tr><td colspan="2" align="center">L&ouml;schen 
best&auml;tigen</td></tr>
        <tr><td><input type="submit" value="JA"></form></td><td><form 
action="<!-- TMPL_VAR NAME="script_name" -->" method="post"><input 
type="submit" value="NEIN"></form></td></tr>
<!-- /TMPL_IF -->

<!-- TMPL_IF NAME="delete_confirmed" -->
<!-- ------------------------------------------------------------------------ 
-->
        Daten gel&ouml;scht
        <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
        <input type="submit" value="OK">
        </form>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="authtype_create" -->
<!-- ------------------------------------------------------------------------ 
-->
        <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
                <input type="hidden" name="op" value="authtype_create_confirm">
                <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR 
NAME="authtypecode" -->">
                Authority-Framework anlegen unter Verwendung von <!-- TMPL_VAR 
NAME="authtypecode" --> 
                <select name="existingauthtypecode">
                        <option value="">Default</option>
                <!-- TMPL_LOOP NAME="existingauthtypeloop" -->
                        <option value="<!-- TMPL_VAR NAME="value" -->"><!-- 
TMPL_VAR NAME="authtypetext" --></option>
                <!-- /TMPL_LOOP -->
                </select>
                <input type="submit" value="OK" class="button">
        </form>
<!-- /TMPL_IF -->

<!-- ------------------------------------------------------------------------ 
-->
<!-- TMPL_IF NAME="else" -->
<div id="bloc25">
<h2 class="parameters">Select an authority framework</h2>
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
        <select name="authtypecode">
                <option value="">Default</option>
        <!-- TMPL_LOOP NAME="authtypeloop" -->
                <option value="<!-- TMPL_VAR NAME="value" -->" <!-- TMPL_IF 
NAME="selected" -->selected<!-- /TMPL_IF -->>
                        <!-- TMPL_VAR NAME="authtypetext" -->
                </option>
        <!-- /TMPL_LOOP -->
        </select>
        <input type="text" name="searchfield" value="<!-- TMPL_VAR 
NAME="searchfield" -->">
        <input type="submit" value="OK" class="button">
</form>
</div>
<div id="bloc100">
        <table>
        <tr>
                <th>Tag</th>
                <th>Wert</th>
                <th>Wiederholbar</th>
                <th>Obligatorisch</th>
                <th>Authorised<br />value</th>
                <th>Subfields</th>
                <th>Bearbeiten</th>
                <th>L&ouml;schen</th>
        <!-- TMPL_LOOP NAME="loop" -->
        <tr valign="top" bgcolor="<!-- TMPL_VAR NAME="bgcolor" -->">
                <td><b><!-- TMPL_VAR NAME="tagfield" --></b></td>
                <td><!-- TMPL_VAR NAME="liblibrarian" --></td>
                <td><!-- TMPL_IF NAME="repeatable" -->Ja<!-- TMPL_ELSE 
-->Nein<!-- /TMPL_IF --></td>
                <td><!-- TMPL_IF NAME="mandatory" -->Ja<!-- TMPL_ELSE 
-->Nein<!-- /TMPL_IF --></td>
                <td><!-- TMPL_VAR NAME="authorised_value" --></td>
                <td><a href="<!-- TMPL_VAR NAME="subfield_link" -->" 
class="button">subfields</a></td>
                <td><a href="<!-- TMPL_VAR NAME="edit" -->"><img src="<!-- 
TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" 
-->/images/fileopen.png"  width="32" hspace="0" vspace="0" border="0"></a></td>
                <td><a href="<!-- TMPL_VAR NAME="delete" -->"><img src="<!-- 
TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" 
-->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0"></a></td>
        </tr>
        <!-- /TMPL_LOOP -->
        </table>
        <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
                <input type="hidden" name="op" value="add_form">
                <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR 
NAME="authtypecode" -->">
                <input type="hidden" name="op" value="add_form">
                <input type="submit" class="button" value="Feldkennung 
hinzuf&uuml;gen" title="Feldkennung hinzuf&uuml;gen" alt="Feldkennung 
hinzuf&uuml;gen">
                <!-- TMPL_IF NAME="isprevpage" -->
                        <a href="<!-- TMPL_VAR NAME="script_name" 
-->?offset=<!-- TMPL_VAR NAME="prevpage" -->&amp;searchfield=<!-- TMPL_VAR 
NAME="searchfield" -->">
                        <input type="image" src="<!-- TMPL_VAR NAME="interface" 
-->/<!-- TMPL_VAR NAME="theme" -->/images/1leftarrow.png" title="vorheriges" 
alt="vorheriges" border="0">
                        </a>
                <!-- /TMPL_IF -->
                <!-- TMPL_IF NAME="nextpage" -->
                        <a href="<!-- TMPL_VAR NAME="script_name" 
-->?offset=<!-- TMPL_VAR NAME="nextpage" -->&amp;searchfield=<!-- TMPL_VAR 
NAME="searchfield" -->">
                                <input type="image" src="<!-- TMPL_VAR 
NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/1rightarrow.png" 
title="next" alt="next" border="0">
                        </a>
                <!-- /TMPL_IF -->
        </form>
</div>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->
<div id="mainbloc">
<!-- TMPL_IF NAME="add_form" -->
<!-- ------------------------------------------------------------------------ 
-->
        <h1>
        <!-- TMPL_IF NAME="use-heading-flags-p" -->
        <!-- TMPL_IF NAME="heading-modify-authorized-value-p" -->Authorized 
Value bearbeiten<!-- /TMPL_IF -->
        <!-- TMPL_IF NAME="heading-add-new-category-p" -->Neue Kategorie 
hinzuf&uuml;gen<!-- /TMPL_IF -->
        <!-- TMPL_IF NAME="heading-add-authorized-value-p" -->Add authorised 
value<!-- /TMPL_IF -->
        <!-- TMPL_ELSE --><!-- TMPL_VAR NAME="action" --><!-- /TMPL_IF -->
        </h1>
        <form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" 
method="post">
        <input type="hidden" name="op" value="add_validate">
                <p><label>Kategorie</label><!-- TMPL_VAR NAME="category" --></p>
                <p><label>Vorgabewert</label><input type="text" 
name="authorised_value" value="<!-- TMPL_VAR NAME="authorised_value" 
escape=HTML -->"></p>
                <p><label>Texte</label><input type="text" name="lib" 
value="<!-- TMPL_VAR NAME="lib" -->"></p>
                <p>
                        <input type="hidden" name="id" value="<!-- TMPL_VAR 
NAME="id" -->">
                        <input type="submit" value="OK" class="button 
parameters">
                </p>
        </form>
<!-- /TMPL_IF -->


<!-- TMPL_IF NAME="delete_confirm" -->
<!-- ------------------------------------------------------------------------ 
-->
<table border="0" cellspacing="0" cellpadding="2">
        <tr valign="top" bgcolor="#99cc33">
                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b>Variable</b></td>
                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b>Texte</b></td>
                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b><!-- TMPL_VAR NAME="searchfield" --></b></td>
        </tr>
        <tr><td>Wert</td><td><!-- TMPL_VAR NAME="Tvalue" --></td></tr>
        <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
                <input type="hidden" name="op" value="delete_confirmed">
                <input type="hidden" name="id" value="<!-- TMPL_VAR NAME="id" 
-->">
                <input type="hidden" name="searchfield" value="<!-- TMPL_VAR 
NAME="searchfield" -->">
        <tr><td colspan="2" align="center">L&ouml;schen 
best&auml;tigen</td></tr>
        <tr><td><input type="submit" value="JA"></form></td>
                <td><form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post"><input type="submit" value="NEIN"></form></td></tr>
<!-- /TMPL_IF -->

<!-- ------------------------------------------------------------------------ 
-->
<!-- TMPL_IF NAME="else" -->
<h1>Administration Vorgabewerte</h1>
<p>Diese Tabelle wird bei der MARC-Definition verwendet. Es k&ouml;nnen 
beliebig viele Kategorien und beliebig viele Vorgabewerte pro Kategorie 
definiert werden.</p>
<p>Bei der Definition der MARC-Unterfeldstruktur kann ein Unterfeld mit einer 
Kategorie von Vorgabewerten verbunden werden. Wenn ein Anwender ein Biblio 
hinzuf&uuml;gt oder modifiziert, wird das Unterfeld durch eine Auswahlliste mit 
Vorgabewerten gef&uuml;llt.</p>
<form action="/cgi-bin/koha/admin/authorised_values.pl" method="post">
        <!-- TMPL_VAR NAME="tab_list" --><input type="submit" value="OK" 
class="button parameters">
                <a href="authorised_values.pl?op=add_form" class="button 
parameters">Neue Kategorie...</a>
</form>
<!-- TMPL_VAR NAME="searchfield" -->
<table>
<tr>
        <th class="parameters">Kategorie</h>
        <th class="parameters">Vorgabewert</th>
        <th class="parameters">Texte</th>
        <th class="parameters">Bearbeiten</th>
        <th class="parameters">L&ouml;schen</th>
</tr>
<!-- TMPL_LOOP NAME="loop" -->
<tr>
        <td><!-- TMPL_VAR NAME="category" --></td>
        <td><!-- TMPL_VAR NAME="authorised_value" --></td>
        <td><!-- TMPL_VAR NAME="lib" --></td>
        <td><a href="<!-- TMPL_VAR NAME="edit" -->"><img src="<!-- TMPL_VAR 
NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png"  
width="32" hspace="0" vspace="0" border="0"></a></td>
        <td><a href="<!-- TMPL_VAR NAME="delete" -->"><img src="<!-- TMPL_VAR 
NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" 
width="32" hspace="0" vspace="0" border="0"></a></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
<input type="hidden" name="op" value="add_form">
<!-- TMPL_IF NAME="isprevpage" -->
        <a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR 
NAME="prevpage" -->&amp;searchfield=<!-- TMPL_VAR NAME="searchfield" -->">
        <input type="image" src="<!-- TMPL_VAR NAME="interface" -->/<!-- 
TMPL_VAR NAME="theme" -->/images/1leftarrow.png" title="vorheriges" 
alt="vorheriges" border="0">
        </a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="nextpage" -->
        <a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR 
NAME="nextpage" -->&amp;searchfield=<!-- TMPL_VAR NAME="searchfield" -->">
                <input type="image" src="<!-- TMPL_VAR NAME="interface" 
-->/<!-- TMPL_VAR NAME="theme" -->/images/1rightarrow.png" title="next" 
alt="next" border="0">
        </a>
<!-- /TMPL_IF -->
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
<input type="hidden" name="op" value="add_form">
<input type="hidden" name="category" value="<!-- TMPL_VAR NAME="category" -->">
<br><input type="submit" class="button" value="Vorgabewert hinzuf&uuml;gen" 
title="Add authorised Value" alt="Vorgabewert hinzuf&uuml;gen"><br>
</form>
<!-- /TMPL_IF -->

</div>
<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->

<script language="javascript" type="text/javascript">
function _(s) { return s } // dummy function for gettext
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function isNotNull(f,noalert) {
        if (f.value.length ==0) {
                return false;
        }
        return true;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function toUC(f) {
        var x=f.value.toUpperCase();
        f.value=x;
        return true;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function isNum(v,maybenull) {
var n = new Number(v.value);
if (isNaN(n)) {
        return false;
        }
if (maybenull==0 && v.value=='') {
        return false;
}
return true;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function isDate(f) {
        var t = Date.parse(f.value);
        if (isNaN(t)) {
                return false;
        }
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function Check(f) {
        var ok=1;
        var _alertString="";
        var alertString2;
        if (f.authtypecode.value.length==0) {
                _alertString += "\n- " + _("Authority type : code missing");
        }
        if (!(isNotNull(window.document.Aform.authtypetext,1))) {
                _alertString += "\n- " + _("Beschreibung fehlt");
        }
        if (_alertString.length==0) {
                document.Aform.submit();
        } else {
                alertString2  = _("Form not submitted because of the following 
problem(s)");
                alertString2 += 
"\n------------------------------------------------------------------------------------\n";
                alertString2 += _alertString;
                alert(alertString2);
        }
}
</script>
<div id="mainbloc">
<!-- TMPL_IF NAME="add_form" -->
        <!-- TMPL_IF NAME="authtypecode" -->
                <h1>Authority Typ bearbeiten</h1>
        <!-- TMPL_ELSE -->
                <h1>Authority-Typ hinzuf&uuml;gen</h1>
        <!-- /TMPL_IF -->
        <form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" 
method="post">
                <input type="hidden" name="op" value="add_validate">
                <input type="hidden" name="checked" value="0">
                        <!-- TMPL_IF NAME="authtypecode" -->
                                <p><label class="label100">Authority 
type<label><input type="hidden" name="authtypecode" value="<!-- TMPL_VAR 
NAME="authtypecode" -->"><!-- TMPL_VAR NAME="authtypecode" --></p>
                        <!-- TMPL_ELSE -->
                                <p><label class="label100">Authority 
type<label><input type="text" name="authtypecode" size="10" maxlength="10" 
onblur="toUC(this)"></p>
                        <!-- /TMPL_IF -->
                        <p>
                                <label class="label100">Beschreibung</label>
                                <input type="text" name="authtypetext" 
size="40" maxlength="80" value="<!-- TMPL_VAR NAME="authtypetext" escape=HTML 
-->">
                        </p>
                        <p>
                                <label class="label100">Zusammenfassung</label>
                                <textarea name="summary" cols="40" 
rows="10"><!-- TMPL_VAR NAME="summary" --></textarea>
                        </p>
                        <p><label class="label100">Report tag</label>
                                <input type="text" name="auth_tag_to_report" 
size="5" maxlength="3" value="<!-- TMPL_VAR NAME="auth_tag_to_report">">  Enter 
here the number of the tag that will be reported in the biblio (subfield by 
subfield). For example, in UNIMARC, enter 200 to report every 200 subfield in 
the 70x biblio</p>
                        </p>
                        <p>
                                <input type="button" value="OK"class="button 
parameters" onclick="Check(this.form)">
                        </p>
        </form>
<!-- /TMPL_IF -->

<!-- TMPL_IF NAME="delete_confirm" -->
<div id="bloc25">
        <h2 class="parameters">Authority structure definition for <!-- TMPL_VAR 
NAME="authtypetext" --> (<!-- TMPL_VAR NAME="authtypecode" -->)</h2>
        <!-- TMPL_IF NAME="total" -->
                <p>
                        <b>This record is used <!-- TMPL_VAR NAME="total" --> 
times</b>
                </p>
        <!-- /TMPL_IF -->
        <p>L&ouml;schen best&auml;tigen</p>
        <p>
                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                        <input type="hidden" name="op" value="delete_confirmed">
                        <input type="hidden" name="authtypecode" value="<!-- 
TMPL_VAR NAME="authtypecode" -->">
                        <input type="submit" value="JA" class="button 
parameters">
                </form>
                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                        <input type="submit" value="NEIN" class="button 
parameters">
                </form>
        </p>
</div>
<!-- /TMPL_IF -->

<!-- TMPL_IF NAME="else" -->
<h1>Auth type Admin</h1>
<p>Define authority types, then authority MARC structure in the same way you 
define itemtypes &amp; biblio MARC tag structure. Authority values are managed 
through plugins</p>
<table>
        <tr>
                <th class="parameters">Code</th>
                <th class="parameters">Beschreibung</th>
                <th class="parameters">Zusammenfassung</th>
                <th class="parameters">Tag reported</th>
                <th class="parameters">&nbsp;</th>
                <th class="parameters">Bearbeiten</th>
                <th class="parameters">L&ouml;schen</th>
        </tr>
        <tr>
                <td>&nbsp;</td>
                <td>Default framework</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td><a href="auth_tag_structure.pl" class="button 
parameters">MARC Struktur</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
        </tr>
        
        <!-- TMPL_LOOP NAME="loop" -->
                <tr>
                        <td><!-- TMPL_VAR NAME="authtypecode" --></td>
                        <td><!-- TMPL_VAR NAME="authtypetext" --></td>
                        <td><!-- TMPL_VAR NAME="summary" --></td>
                        <td><!-- TMPL_VAR NAME="auth_tag_to_report" --></td>
                        <td><a href="auth_tag_structure.pl?authtypecode=<!-- 
TMPL_VAR NAME="authtypecode" -->" class="button parameters" >MARC 
Struktur</a></td>
                        <td><a href="<!-- TMPL_VAR NAME="script_name" 
-->?op=add_form&amp;authtypecode=<!-- TMPL_VAR NAME="authtypecode" 
escape="HTML" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR 
NAME="theme" -->/images/fileopen.png"  width="32" hspace="0" vspace="0" 
border="0"></a></td>
                        <td><a href="<!-- TMPL_VAR NAME="script_name" 
-->?op=delete_confirm&amp;authtypecode=<!-- TMPL_VAR NAME="authtypecode" 
escape="HTML" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR 
NAME="theme" -->/images/edittrash.png" width="32" hspace="0" vspace="0" 
border="0"></a></td>
                </tr>
        <!-- /TMPL_LOOP -->
</table>
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
        <input type="hidden" name="op" value="add_form">
        <input type="submit" class="button" value="Authority-Typ 
hinzuf&uuml;gen" title="Authority-Typ hinzuf&uuml;gen" alt="Authority-Typ 
hinzuf&uuml;gen">
        <td width="33%"><!-- TMPL_IF NAME="previous" --><a href="<!-- TMPL_VAR 
NAME="previous" -->"><input type="image" src="<!-- TMPL_VAR NAME="interface" 
-->/<!-- TMPL_VAR NAME="theme" -->/images/1leftarrow.png" title="vorheriges" 
alt="vorheriges" border="0"></a><!-- /TMPL_IF --></td>
        <td width="33%"><!-- TMPL_IF NAME="next" --><a href="<!-- TMPL_VAR 
NAME="next" -->"><input type="image" src="<!-- TMPL_VAR NAME="interface" 
-->/<!-- TMPL_VAR NAME="theme" -->/images/1rightarrow.png" title="next" 
alt="next" border="0"></a><!-- /TMPL_IF --></td>
</form>
</div>
<!-- /TMPL_IF -->
<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->

<script language="javascript" type="text/javascript">
function _(s) { return s } // dummy function for gettext
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function isNotNull(f,noalert) {
        if (f.value.length ==0) {
                return false;
        }
        return true;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function toUC(f) {
        var x=f.value.toUpperCase();
        f.value=x;
        return true;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function isNum(v,maybenull) {
var n = new Number(v.value);
if (isNaN(n)) {
        return false;
        }
if (maybenull==0 && v.value=='') {
        return false;
}
return true;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function isDate(f) {
        var t = Date.parse(f.value);
        if (isNaN(t)) {
                return false;
        }
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function Check(f) {
        var ok=1;
        var _alertString="";
        var alertString2;
        if (f.frameworkcode.value.length==0) {
                _alertString += "\n- " + _("Framework-Code fehlt");
        }
        if (!(isNotNull(window.document.Aform.frameworktext,1))) {
                _alertString += "\n- " + _("Beschreibung fehlt");
        }
        if (_alertString.length==0) {
                document.Aform.submit();
        } else {
                alertString2  = _("Form not submitted because of the following 
problem(s)");
                alertString2 += 
"\n------------------------------------------------------------------------------------\n";
                alertString2 += _alertString;
                alert(alertString2);
        }
}
</script>
<div id="mainbloc">
<!-- TMPL_IF NAME="add_form" -->
        <!-- TMPL_IF NAME="frameworkcode" -->
                <h1>Framework Text bearbeiten</h1>
        <!-- TMPL_ELSE -->
                <h1>Framework hinzuf&uuml;gen</h1>
        <!-- /TMPL_IF -->
        <form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" 
method="post">
                <input type="hidden" name="op" value="add_validate">
                <input type="hidden" name="checked" value="0">
                        <!-- TMPL_IF NAME="frameworkcode" -->
                                <p><label 
class="label100">Frameworktyp<label><input type="hidden" name="frameworkcode" 
value="<!-- TMPL_VAR NAME="frameworkcode" -->"><!-- TMPL_VAR 
NAME="frameworkcode" --></p>
                        <!-- TMPL_ELSE -->
                                <p><label 
class="label100">Frameworktyp<label><input type="text" name="frameworkcode" 
size="6" maxlength="4" onblur="toUC(this)"></p>
                        <!-- /TMPL_IF -->
                        <p>
                                <label class="label100">Beschreibung</label>
                                <input type="text" name="frameworktext" 
size="40" maxlength="80" value="<!-- TMPL_VAR NAME="frameworktext" escape=HTML 
-->">
                        </p>
                        <p>
                                <input type="button" value="OK"class="button 
parameters" onclick="Check(this.form)">
                        </p>
        </form>
<!-- /TMPL_IF -->

<!-- TMPL_IF NAME="delete_confirm" -->
<div id="bloc25">
        <h2 class="parameters">Framework f&uuml;r <!-- TMPL_VAR 
NAME="frameworktext" --> (<!-- TMPL_VAR NAME="frameworkcode" -->)</h2>
        <!-- TMPL_IF NAME="total" -->
                <p>
                        <b>This record is used <!-- TMPL_VAR NAME="total" --> 
times</b>
                </p>
        <!-- /TMPL_IF -->
        <p>L&ouml;schen best&auml;tigen</p>
        <p>
                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                        <input type="hidden" name="op" value="delete_confirmed">
                        <input type="hidden" name="frameworkcode" value="<!-- 
TMPL_VAR NAME="frameworkcode" -->">
                        <input type="submit" value="JA" class="button 
parameters">
                </form>
                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                        <input type="submit" value="NEIN" class="button 
parameters">
                </form>
        </p>
</div>
<!-- /TMPL_IF -->

<!-- TMPL_IF NAME="else" -->
<h1>Biblio Framework</h1>
<p>framework name, then go to MARC biblio to set MARC editor parameters</p>
<table>
        <tr>
                <th class="parameters">Code</th>
                <th class="parameters">Beschreibung</th>
                <th class="parameters">&nbsp;</th>
                <th class="parameters">Bearbeiten</th>
                <th class="parameters">L&ouml;schen</th>
        </tr>
        <tr>
                <td>&nbsp;</td>
                <td>Default framework</td>
                <td><a href="marctagstructure.pl?frameworkcode=<!-- TMPL_VAR 
NAME="frameworkcode" -->" class="button parameters">MARC Struktur</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
        </tr>
        
        <!-- TMPL_LOOP NAME="loop" -->
                <tr>
                        <td><!-- TMPL_VAR name="frameworkcode" --></td>
                        <td><!-- TMPL_VAR name="frameworktext" --></td>
                        <td><a href="marctagstructure.pl?frameworkcode=<!-- 
TMPL_VAR name="frameworkcode" -->" class="button parameters" >MARC 
Struktur</a></td>
                        <td><a href="<!-- TMPL_VAR name="script_name" 
-->?op=add_form&frameworkcode=<!-- TMPL_VAR name="frameworkcode" escape="HTML" 
-->"><img src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" 
-->/images/fileopen.png"  width=32 hspace=0 vspace=0 border=0></a></td>
                        <td><a href="<!-- TMPL_VAR name="script_name" 
-->?op=delete_confirm&frameworkcode=<!-- TMPL_VAR name="frameworkcode" 
escape="HTML" -->"><img src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR 
name="theme" -->/images/edittrash.png" width=32 hspace=0 vspace=0 
border=0></a></td>
                </tr>
        <!-- /TMPL_LOOP -->
</table>
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
        <input type="hidden" name="op" value="add_form">
        <input type="submit" class="button" value="Framework hinzuf&uuml;gen" 
title="Framework hinzuf&uuml;gen" alt="Framework hinzuf&uuml;gen">
        <td width="33%"><!-- TMPL_IF NAME="previous" --><a href="<!-- TMPL_VAR 
NAME="previous" -->"><input type="image" src="<!-- TMPL_VAR NAME="interface" 
-->/<!-- TMPL_VAR NAME="theme" -->/images/1leftarrow.png" title="vorheriges" 
alt="vorheriges" border="0"></a><!-- /TMPL_IF --></td>
        <td width="33%"><!-- TMPL_IF NAME="next" --><a href="<!-- TMPL_VAR 
NAME="next" -->"><input type="image" src="<!-- TMPL_VAR NAME="interface" 
-->/<!-- TMPL_VAR NAME="theme" -->/images/1rightarrow.png" title="next" 
alt="next" border="0"></a><!-- /TMPL_IF --></td>
</form>
</div>
<!-- /TMPL_IF -->
<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->
<div id="mainbloc">
        <!-- TMPL_IF NAME="add" -->
        
        <h1>
        <!-- TMPL_IF NAME="use-heading-flags-p" -->
        <!-- TMPL_IF NAME="heading-branches-p" -->Zweigstellen<!-- /TMPL_IF -->
        <!-- TMPL_IF NAME="heading-branches-add-branch-p" -->Zweigstellen: 
Zweigstelle hinzf&uuml;gen<!-- /TMPL_IF -->
        <!-- TMPL_IF NAME="heading-branches-edit-branch-p" -->Zweigstellen: 
Zweigstellen bearbeiten<!-- /TMPL_IF -->
        <!-- TMPL_IF NAME="heading-branches-edit-category-p" -->Zweigstellen: 
Kategorien bearbeiten<!-- /TMPL_IF -->
        <!-- TMPL_ELSE --><!-- TMPL_VAR NAME="head" --><!-- /TMPL_IF -->
        </h1>
        
        <form action="<!-- TMPL_VAR NAME="action" -->" name="Aform" 
method="post">
        <input type="hidden" name="op" value="add_validate">
        <table>
                <tr>
                        <td>Zweigstellen-Code</td>
                        <td>
                                <!-- TMPL_IF NAME="branchcode" -->
                                        <input type="hidden" name="branchcode" 
value="<!-- TMPL_VAR NAME="branchcode" escape="HTML" -->">
                                        <!-- TMPL_VAR NAME="branchcode" -->
                                <!-- TMPL_ELSE -->
                                        <input type="text" name="branchcode" 
size="4" maxlength="4" value="<!-- TMPL_VAR NAME="branchcode" escape="HTML" 
-->">
                                <!-- /TMPL_IF -->
                        </td>
                </tr>
                <tr>
                        <td>Name</td>
                        <td><input type="text" name="branchname" size="40" 
maxlength="80" value="<!-- TMPL_VAR NAME="branchname" escape="HTML" 
-->">&nbsp;</td>
                </tr>
        
                <tr>
                        <td><!-- TMPL_LOOP NAME="categoryloop" -->
                                                <tr>
                                                        <td><!-- TMPL_VAR 
NAME="categoryname" --></td>
                                                        <td><input 
type="checkbox" NAME="<!-- TMPL_VAR NAME="categorycode" -->" <!-- TMPL_VAR 
NAME="checked" -->><!-- TMPL_VAR NAME="codedescription" --></td>
                                                </tr>
                                        <!-- /TMPL_LOOP -->
                        </td>
                </tr>
                <tr>
                        <td>Anschrift:</td>
                        <td><input type="text" name="branchaddress1" 
value="<!-- TMPL_VAR NAME="branchaddress1" escape="HTML" -->"></td>
                </tr>
                <tr>
                        <td>&nbsp;</td>
                        <td><input type="text" name="branchaddress2" 
value="<!-- TMPL_VAR NAME="branchaddress2" escape="HTML" -->"></td>
                </tr>
                <tr>
                        <td>&nbsp;</td>
                        <td><input type="text" name="branchaddress3" 
value="<!-- TMPL_VAR NAME="branchaddress3" escape="HTML" -->"></td>
                </tr>
                <tr>
                        <td>Tel.:</td>
                        <td><input type="text" name="branchphone" value="<!-- 
TMPL_VAR NAME="branchphone" escape="HTML" -->"></td>
                </tr>
                <tr>
                        <td>Fax</td>
                        <td><input type="text" name="branchfax" value="<!-- 
TMPL_VAR NAME="branchfax" escape="HTML" -->"></td>
                </tr>
                <tr>
                        <td>E-Mail</td>
                        <td><input type="text" name="branchemail" value="<!-- 
TMPL_VAR NAME="branchemail" escape="HTML" -->"></td>
                </tr>
                <tr>
                        <td>&nbsp;</td>
                        <td><input type="submit" value="Speichern" 
class="button"></td>
                </tr>
        </table>
        </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="delete_confirm" -->
                L&ouml;schen von <!-- TMPL_VAR NAME="branchname" --> (<!-- 
TMPL_VAR NAME="branchcode" -->) best&auml;tigen?
                <form action="<!-- TMPL_VAR NAME="action" -->" method="post">
                        <input type="hidden" name="op" value="delete_confirmed">
                        <input type="hidden" name="branchcode" value="<!-- 
TMPL_VAR NAME="branchcode" escape="HTML" -->">
                        <input type="hidden" name="branchname" value="<!-- 
TMPL_VAR NAME="branchname" escape="HTML" -->">
                        <input type="submit" value="JA" class="button">
                </form>
                <form action="<!-- TMPL_VAR NAME="action" -->" 
method="post"><input type="hidden" name="op" value="">
                        <input type="submit" value="NEIN" class="button">
                </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="else" -->
                <h1>
                <!-- TMPL_IF NAME="use-heading-flags-p" -->
                <!-- TMPL_IF NAME="heading-branches-p" -->Zweigstellen<!-- 
/TMPL_IF -->
                <!-- TMPL_IF NAME="heading-branches-add-branch-p" 
-->Zweigstellen: Zweigstelle hinzf&uuml;gen<!-- /TMPL_IF -->
                <!-- TMPL_IF NAME="heading-branches-edit-branch-p" 
-->Zweigstellen: Zweigstellen bearbeiten<!-- /TMPL_IF -->
                <!-- TMPL_IF NAME="heading-branches-edit-category-p" 
-->Zweigstellen: Kategorien bearbeiten<!-- /TMPL_IF -->
                <!-- TMPL_ELSE --><!-- TMPL_VAR NAME="head" --><!-- /TMPL_IF -->
                </h1>
        
                <font color="red"><!-- TMPL_VAR NAME="message" --></font>
                <table border="1" cellpadding="5" cellspacing="0">
                        <tr>
                                <th colspan="6" align="left" bgcolor="#99cc33">
                                        <font 
size="5"><b>Zweigstellen</b></font>
                                </th>
                        </tr>
                        <tr bgcolor="#889999">
                                <td width="175"><b>Name</b></td>
                                <td width="25"><b>Code</b></td>
                                <td width="175"><b>Anschrift:</b></td>
                                <td width="175"><b>Kategorien</b></td>
                                <td width="50"><b>&nbsp;</b></td>
                                <td width="50"><b>&nbsp;</b></td>
                        </tr>
                        <!-- TMPL_LOOP NAME="branches" -->
                                <tr bgcolor="<!-- TMPL_VAR NAME="color" -->">
                                        <td align="left" valign="top"><!-- 
TMPL_VAR NAME="branch_name" escape="HTML" --></td>
                                        <td align="left" valign="top"><!-- 
TMPL_VAR NAME="branch_code" escape="HTML" --></td>
                                        <td align="left" valign="top">
                                                <!-- TMPL_IF 
NAME="address-empty-p" -->
                                                        (Nichts eingegeben)
                                                <!-- TMPL_ELSE -->
                                                        <!-- TMPL_IF 
NAME="branchaddress1" -->
                                                                <!-- TMPL_VAR 
NAME="branchaddress1" escape="HTML" --><!-- /TMPL_IF -->
                                                        <!-- TMPL_IF 
NAME="branchaddress2" -->
                                                                <br><!-- 
TMPL_VAR NAME="branchaddress2" escape="HTML" --><!-- /TMPL_IF -->
                                                        <!-- TMPL_IF 
NAME="branchaddress3" -->
                                                                <br><!-- 
TMPL_VAR NAME="branchaddress3" escape="HTML" --><!-- /TMPL_IF -->
                                                        <!-- TMPL_IF 
NAME="branchphone" -->
                                                                <br>Tel.: <!-- 
TMPL_VAR NAME="branchphone" escape="HTML" --><!-- /TMPL_IF -->
                                                        <!-- TMPL_IF 
NAME="branchfax" -->
                                                                <br>Fax: <!-- 
TMPL_VAR NAME="branchfax" escape="HTML" --><!-- /TMPL_IF -->
                                                        <!-- TMPL_IF 
NAME="branchemail" -->
                                                                <br>Email: <!-- 
TMPL_VAR NAME="branchemail" escape="HTML" --><!-- /TMPL_IF -->
                                                <!-- /TMPL_IF -->
                                        </td>
                                        <td align="left" valign="top">
                                                <!-- TMPL_IF 
NAME="no-categories-p" -->
                                                        (keine Kategorien 
besetzt)
                                                <!-- TMPL_ELSE -->
                                                        <!-- TMPL_LOOP 
NAME="category_list" -->
                                                                <!-- TMPL_VAR 
NAME="categoryname" --><br>
                                                        <!-- /TMPL_LOOP -->
                                                <!-- /TMPL_IF -->
                                        </td>
                                        <td align="left" valign="top">
                                                <form action="<!-- TMPL_VAR 
NAME="action" -->" method="post">
                                                <input type="hidden" name="op" 
value="edit">
                                                <input type="hidden" 
name="branchcode" value="<!-- TMPL_VAR NAME="value" escape="HTML" -->">
                                                <input type="submit" 
value="Bearbeiten" class="button">
                                                </form>
                                        </td>
                                        <td align="left" valign="top">
                                                <form action="<!-- TMPL_VAR 
NAME="action" -->" method="post">
                                                <input type="hidden" 
name="branchcode" value="<!-- TMPL_VAR NAME="value" escape="HTML" -->">
<input type="hidden" name="branchname" value="<!-- TMPL_VAR NAME="branch_name" 
escape="HTML" -->">
                                                <input type="hidden" name="op" 
value="delete"><input type="submit" value="L&ouml;schen" class="button">
                                                </form>
                                        </td>
                                </tr>
                        <!-- /TMPL_LOOP -->
                </table>
                <br>
                <form action="<!-- TMPL_VAR NAME="action" -->" method="post">
                        <input type="hidden" name="op" value="add">
                        <input type="submit" class="button" value="Neue 
Zweigstelle hinzuf&uuml;gen">
                </form>
        
                <br>
                <table border="1" cellpadding="5" cellspacing="0">
                <tr>
                        <th colspan="5" align="left" bgcolor="#99cc33">
                                <font 
size="5"><b>Zweigstellenkategorie</b></font>
                        </th>
                </tr>
                <tr bgcolor="#889999">
                        <td width="175"><b>Name</b></td>
                        <td width="25"><b>Code</b></td>
                        <td width="200"><b>Beschreibung</b></td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                </tr>
                <!-- TMPL_LOOP NAME="branchcategories" -->
                        <tr bgcolor="<!-- TMPL_VAR NAME="color" -->">
                        <td align="left" valign="top"><!-- TMPL_VAR 
NAME="categoryname" --></td>
                        <td align="left" valign="top"><!-- TMPL_VAR 
NAME="categorycode" --></td>
                        <td align="left" valign="top"><!-- TMPL_VAR 
NAME="codedescription" --></td>
                        <td align="left" valign="top">
                                <form action="<!-- TMPL_VAR NAME="action" -->" 
method="post">
                                <input type="hidden" name="op" 
value="editcategory">
                                <input type="hidden" name="categorycode" 
value="<!-- TMPL_VAR NAME="categorycode" escape="HTML" -->">
                                <input type="submit" value="Bearbeiten" 
class="button">
                                </form>
                        </td>
                        <td align="left" valign="top">
                                <form action="<!-- TMPL_VAR NAME="action" -->" 
method="post">
                                <input type="hidden" name="categorycode" 
value="<!-- TMPL_VAR NAME="categorycode" escape="HTML" -->">
                                <input type="hidden" name="op" 
value="delete_category"><input type="submit" value="L&ouml;schen" 
class="button">
                                </form>
                        </td>
                        </tr>
                <!-- /TMPL_LOOP -->
                </table>
                <br />
                <form action="<!-- TMPL_VAR NAME="action" -->" method="post">
                        <input type="hidden" name="op" value="editcategory">
                        <input type="submit" class="button" value="Neue 
Kategorie hinzuf&uuml;gen">
                </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="editcategory" -->
                <h1>
                <!-- TMPL_IF NAME="use-heading-flags-p" -->
                <!-- TMPL_IF NAME="heading-branches-p" -->Zweigstellen<!-- 
/TMPL_IF -->
                <!-- TMPL_IF NAME="heading-branches-add-branch-p" 
-->Zweigstellen: Zweigstelle hinzf&uuml;gen<!-- /TMPL_IF -->
                <!-- TMPL_IF NAME="heading-branches-edit-branch-p" 
-->Zweigstellen: Zweigstellen bearbeiten<!-- /TMPL_IF -->
                <!-- TMPL_IF NAME="heading-branches-edit-category-p" 
-->Zweigstellen: Kategorien bearbeiten<!-- /TMPL_IF -->
                <!-- TMPL_ELSE --><!-- TMPL_VAR NAME="head" --><!-- /TMPL_IF -->
                </h1>
        
                <form action="<!-- TMPL_VAR NAME="action" -->" name="Aform" 
method="post">
                <input type="hidden" name="op" value="addcategory_validate">
                <table>
                        <tr>
                                <td>Kategorien-Code</td>
                                <td>
                                        <!-- TMPL_IF NAME="categorycode" -->
                                                <input type="hidden" 
name="categorycode" value="<!-- TMPL_VAR NAME="categorycode" escape="HTML" -->">
                                                <!-- TMPL_VAR 
NAME="categorycode" -->
                                        <!-- TMPL_ELSE -->
                                                <input type="text" 
name="categorycode" size="5" maxlength="5" value="<!-- TMPL_VAR 
NAME="categorycode" escape="HTML" -->">
                                        <!-- /TMPL_IF -->
                                </td>
                        </tr>
                        <tr>
                                <td>Name</td>
                                <td><input type="text" name="categoryname" 
size="40" maxlength="80" value="<!-- TMPL_VAR NAME="categoryname" escape="HTML" 
-->">&nbsp;</td>
                        </tr>
                        <tr>
                                <td>Beschreibung</td>
                                <td><input type="text" name="codedescription" 
size="40" maxlength="80" value="<!-- TMPL_VAR NAME="codedescription" 
escape="HTML" -->">&nbsp;</td>
                        </tr>
                        <tr>
                                <td colspan="2" align="center"><input 
type="submit" value="OK" class="button"></td>
                        </tr>
                </table>
                </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="delete_category" -->
                L&ouml;schen best&auml;tigen
                <form action="<!-- TMPL_VAR NAME="action" -->" method="post">
                        <input type="hidden" name="op" 
value="categorydelete_confirmed">
                        <input type="hidden" name="categorycode" value="<!-- 
TMPL_VAR NAME="categorycode" escape="HTML" -->">
                        <input type="submit" value="JA" class="button">
                </form>
                <form action="<!-- TMPL_VAR NAME="action" -->" 
method="post"><input type="hidden" name="op" value="">
                        <input type="submit" value="NEIN" class="button">
                </form>
        <!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->
<div id="mainbloc">
        <!-- TMPL_IF NAME="add_form" -->
                <script language="javascript" type="text/javascript">
                function _(s) { return s } // dummy function for gettext
                
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                function isNotNull(f,noalert) {
                        if (f.value.length ==0) {
        return false;
                        }
                        return true;
                }
                
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                function toUC(f) {
                        var x=f.value.toUpperCase();
                        f.value=x;
                        return true;
                }
                
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                function isNum(v,maybenull) {
                var n = new Number(v.value);
                if (isNaN(n)) {
                        return false;
                        }
                if (maybenull==0 && v.value=='') {
                        return false;
                }
                return true;
                }
                
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                function isDate(f) {
                        var t = Date.parse(f.value);
                        if (isNaN(t)) {
                                return false;
                        }
                }
                
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                function Check(f) {
                        var ok=1;
                        var _alertString="";
                        var alertString2;
                        if (f.categorycode.value.length==0) {
                                _alertString += "\n- " + _("Kategoriecode 
fehlt");
                        }
        //              alert(window.document.Aform.description.value);
                        if (!(isNotNull(window.document.Aform.description,1))) {
                                _alertString += "\n- " + _("Beschreibung 
fehlt");
                        }
                        if (!isNum(f.upperagelimit,0)) {
                                _alertString += "\n- " + _("upperagelimit is 
not a number");
                        }
                        if (_alertString.length==0) {
                                document.Aform.submit();
                        } else {
                                alertString2  = _("Form not submitted because 
of the following problem(s)");
                                alertString2 += 
"\n------------------------------------------------------------------------------------\n";
                                alertString2 += _alertString;
                                alert(alertString2);
                        }
                }
                </script>

                <!-- TMPL_IF NAME="categorycode" -->
                        <h1>Kategorie bearbeiten</h1>
                <!-- TMPL_ELSE -->
                        <h1>Kategorie hinzuf&uuml;gen</h1>
                <!-- /TMPL_IF -->

                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
name="Aform" method="post">
                <input type="hidden" name="op" value="add_validate">
                <input type="hidden" name="checked" value="0">

                <table>
                <!-- TMPL_IF NAME="categorycode" -->
                        <tr>
                                <td>Kategorien-Code</td>
                                <td>
                                        <b><!-- TMPL_VAR NAME="categorycode" 
--></b>
                                        <input type="hidden" 
name="categorycode" value="<!-- TMPL_VAR NAME="categorycode" -->">
                                </td>
                        </tr>
                <!-- TMPL_ELSE -->
                        <tr>
                                <td>Kategorien-Code</td>
                                <td>
                                        <input type="text" name="categorycode" 
size="3" maxlength="2" onblur="toUC(this)">
                                </td>
                        </tr>
                <!-- /TMPL_IF -->

                        <tr>
                                <td>Beschreibung</td>
                                <td>
                                        <input type="text" name="description" 
size="40" maxlength="80" value="<!-- TMPL_VAR NAME="description" escape=HTML 
-->">
                                        &nbsp;
                                </td>
                        </tr>
                        <tr>
                                <td>G&uuml;ltigkeitsdauer</td>
                                <td>
                                        <input type="text" 
name="enrolmentperiod" size="3" maxlength="2" value="<!-- TMPL_VAR 
NAME="enrolmentperiod" -->"> Jahr(e)
                                </td>
                        </tr>
                        <tr>
                                <td>H&ouml;chstalter</td>
                                <td>
                                        <input type="text" name="upperagelimit" 
size="3" maxlength="3" value="<!-- TMPL_VAR NAME="upperagelimit" -->"> Jahre
                                </td>
                        </tr>
                        <tr>
                                <td>Mindestalter</td>
                                <td>
                                        <input type="text" 
name="dateofbirthrequired" value="<!-- TMPL_VAR NAME="dateofbirthrequired" -->" 
size="3" maxlength="2"> Jahr(e)
                                </td>
                        </tr>
                        <tr>
                                <td>Geb&uuml;hr</td>
                                <td>
                                        <input type="text" name="enrolmentfee" 
value="<!-- TMPL_VAR NAME="enrolmentfee" -->">
                                </td>
                        </tr>
                        <tr>
                                <td>Bemerkung zur &Uuml;berziehung 
notwendig</td>
                                <td>
                                        <select name="overduenoticerequired">
                                                <option<!-- TMPL_UNLESS 
name="overduenoticerequired" --> selected<!-- /TMPL_UNLESS --> 
value="0">Nein</option>
                                                <option<!-- TMPL_IF 
NAME="overduenoticerequired" --> selected<!-- /TMPL_IF --> value="1">Ja</option>
                                        </select>
                                </td>
                        </tr>
                        <tr>
                                <td>Vormerkgeb&uuml;hr</td>
                                <td>
                                        <input type="text" name="reservefee" 
value="<!-- TMPL_VAR NAME="reservefee" -->">
                                </td>
                        </tr>
                        <tr>
                                <td>&nbsp;</td>
                                <td>
                                        <input type="button" value="OK" 
onclick="Check(this.form)">
                                </td>
                        </tr>
                </table>
                </form>

        <!-- /TMPL_IF -->

        <!-- TMPL_IF NAME="add_validate" -->
                Daten gespeichert
                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                        <input type="submit" value="OK">
                </form>
        <!-- /TMPL_IF -->

        <!-- TMPL_IF NAME="delete_confirm" -->
                SUMME : <!-- TMPL_VAR NAME="categorycode" --> : <!-- TMPL_VAR 
NAME="total" --><br>

                <table border="0" cellspacing="0" cellpadding="5">
                        <tr bgcolor="#99cc33">
                                <td background="/images/background-mem.gif">
                                        <b>Kategorien-Code</b>
                                </td>
                                <td background="/images/background-mem.gif">
                                        <!-- TMPL_VAR NAME="categorycode" -->
                                </td>
                        </tr>
                        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                                <input type="hidden" name="op" 
value="delete_confirmed">
                                <input type="hidden" name="categorycode" 
value="<!-- TMPL_VAR NAME="categorycode" -->">        
                        <tr>
                                <td>Beschreibung</td>
                                <td><!-- TMPL_VAR NAME="description" --></td>
                        </tr>
                        <tr>
                                <td>G&uuml;ltigkeitsdauer</td>
                                <td><!-- TMPL_VAR NAME="enrolmentperiod" --> 
Jashr(e)</td>
                        </tr>
                        <tr>
                                <td>H&ouml;chstalter</td>
                                <td><!-- TMPL_VAR NAME="upperagelimit" --> 
Jahre</td>
                        </tr>
                        <tr>
                                <td>Mindestalter</td>
                                <td><!-- TMPL_VAR NAME="dateofbirthrequired" 
--> Jashr(e)</td>
                        </tr>
                        <tr>
                                <td>Geb&uuml;hr</td>
                                <td><!-- TMPL_VAR NAME="enrolmentfee" --></td>
                        </tr>
                        <tr>
                                <td>Bemerkung zur &Uuml;berziehung 
notwendig</td>
                                <td><!-- TMPL_IF NAME="overduenoticerequired" 
-->Ja<!-- TMPL_ELSE -->Nein<!-- /TMPL_IF --></td>
                        </tr>
                        <tr>
                                <td>Vormerkgeb&uuml;hr</td>
                                <td><!-- TMPL_VAR NAME="reservefee" --></td>
                        </tr>
                        <!-- TMPL_IF NAME="totalgtzero" -->
                        <tr>
                                <td colspan="2" align="center" 
class="problem">This record is used <!-- TMPL_VAR NAME="total" --> times. 
Deletion not possible</td>
                        </tr>
                <tr>
                                <td colspan="2">
                                        </form><form action="<!-- TMPL_VAR 
NAME="script_name" -->" method="post">
                                        <input type="submit" value="OK">
                                        </form>
                                </td>
                        </tr>
                        <!-- TMPL_ELSE -->
                        <tr>
                                <td colspan="2" align="center">L&ouml;schen 
best&auml;tigen</td>
                        </tr>
                        <tr>
                                <td><input type="submit" value="JA"></form></td>
                                <td><form action="<!-- TMPL_VAR 
NAME="script_name" -->" method="post"><input type="submit" 
value="NEIN"></form></td>
                        </tr>
                        <!-- /TMPL_IF -->
        </table>
        <!-- /TMPL_IF -->

        <!-- TMPL_IF NAME="delete_confirmed" -->
                Daten gel&ouml;scht
                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                <input type="submit" value="OK">
                </form>

        <!-- /TMPL_IF -->

        <!-- TMPL_IF NAME="else" -->
                <h2>Administration Kategorien</h2>
                <!-- TMPL_IF NAME="searchfield" -->
                        Sie suchten nach <!-- TMPL_VAR NAME="searchfield" -->
                <!-- /TMPL_IF -->
                <!-- TMPL_UNLESS name="categoryChild" -->
                        <div id="problem">
                                WARNUNG : Kategoroecode notwendig = C f&uuml;r 
Kinder
                        </div>
                <!-- /TMPL_UNLESS -->
                <!-- TMPL_UNLESS name="categoryInstitution" -->
                        <div id="problem">
                                WARNUNG: Kategoriecode notwendig = I f&uml;r 
Instititionen
                        </div>
                <!-- /TMPL_UNLESS -->
                <form action="<TMPL_VAR NAME="script_name">" method="post">
                        <input type="text" name="description" value="<!-- 
TMPL_VAR NAME="searchfield" -->">
                        <input type="submit" name="submit" value="OK" 
class="button">
                </form>

                <table border="0" cellspacing="0" cellpadding="5">
                        <tr bgcolor="#99cc33">
                                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b>Kategorie</b></td>
                                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b>Beschreibung</b></td>
                                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b>G&uuml;ltigkeitsdauer</b></td>
                                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b>Geb&uuml;hr</b></td>
                                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b>Obere Altersgrenze</b></td>
                                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b>Mindestalter</b></td>
                                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b>&Uuml;berf&auml;llig</b></td>
                                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b>Vormerkung</b></td>
                                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"> </td>
                                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"> </td>
                        </tr>
                        <!-- TMPL_LOOP NAME="loop" -->
                        <tr<!-- TMPL_IF NAME="toggle" --> class="hilighted"<!-- 
/TMPl_IF -->>
                                <td><!-- TMPL_VAR NAME="categorycode" --></td>
                                <td><!-- TMPL_VAR NAME="description" --></td>
                                <td><!-- TMPL_VAR NAME="enrolmentperiod" 
--></td>
                                <td><!-- TMPL_VAR NAME="enrolmentfee" --></td>
                                <td><!-- TMPL_VAR NAME="upperagelimit" --></td>
                                <td><!-- TMPL_VAR NAME="dateofbirthrequired" 
--></td>
                                <td><!-- TMPL_IF NAME="overduenoticerequired" 
-->
                                                <i>Ja</i>
                                        <!-- TMPL_ELSE -->
                                                <i>Nein</i>
                                        <!-- /TMPL_IF -->
                                </td>
                                <td><!-- TMPL_VAR NAME="reservefee" --></td>
                                <td><a href="<!-- TMPL_VAR NAME="script_name" 
-->?op=add_form&amp;categorycode=<!-- TMPL_VAR NAME="categorycode" -->"><img 
src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" 
-->/images/fileopen.png"  width="32" hspace="0" vspace="0" border="0"></a></td>
                                <td><a href="<!-- TMPL_VAR NAME="script_name" 
-->?op=delete_confirm&amp;categorycode=<!-- TMPL_VAR NAME="categorycode" 
-->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" 
-->/images/edittrash.png" border="0"></a></td>
                        </tr>
                        <!-- /TMPL_LOOP -->

                </table>
                <p><form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                        <input type="hidden" name="op" value="add_form">
                        <input type="submit" class="button" value="Kategorie 
hinzuf&uuml;gen" alt="Kategorie hinzuf&uuml;gen"><br>
                </form></p>
        <!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->

<!-- TMPL_IF NAME="add_form" -->
        <script language="javascript" type="text/javascript">
        function _(s) { return s } // dummy function for gettext
        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        function isNotNull(f,noalert) {
                if (f.value.length ==0) {
   return false;
                }
                return true;
        }
        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        function toUC(f) {
                var x=f.value.toUpperCase();
                f.value=x;
                return true;
        }
        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        function isNum(v,maybenull) {
        var n = new Number(v.value);
        if (isNaN(n)) {
                return false;
                }
        if (maybenull==0 && v.value=='') {
                return false;
        }
        return true;
        }
        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        function isDate(f) {
                var t = Date.parse(f.value);
                if (isNaN(t)) {
                        return false;
                }
        }
        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        function Check(f) {
                var ok=1;
                var _alertString="";
                var alertString2;
                if (f.categorycode.value.length==0) {
                        _alertString += "\n- " + _("Kategoriecode fehlt");
                }
//              alert(window.document.Aform.description.value);
                if (!(isNotNull(window.document.Aform.description,1))) {
                        _alertString += "\n- " + _("Beschreibung fehlt");
                }
                if (!isNum(f.upperagelimit,0)) {
                        _alertString += "\n- " + _("upperagelimit is not a 
number");
                }
                if (_alertString.length==0) {
                        document.Aform.submit();
                } else {
                        alertString2  = _("Form not submitted because of the 
following problem(s)");
                        alertString2 += 
"\n------------------------------------------------------------------------------------\n";
                        alertString2 += _alertString;
                }
        }
        </script>

        <!-- TMPL_IF NAME="categorycode" -->
                <h1>Kategorie bearbeiten</h1>
        <!-- TMPL_ELSE -->
                <h1>Kategorie hinzuf&uuml;gen</h1>
        <!-- /TMPL_IF -->

        <form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" 
method="post">
        <input type="hidden" name="op" value="add_validate">
        <input type="hidden" name="checked" value="0">
                        
        <table>  
        <!-- TMPL_IF NAME="categorycode" -->
                <tr>
                        <td>Kategorien-Code</td>
                        <td>
                                <input type="hidden" name="categorycode" 
value="<!-- TMPL_VAR NAME="categorycode" -->">
                        </td>
                </tr>
        <!-- TMPL_ELSE -->
                <tr>
                        <td>Kategorien-Code</td>
                        <td>
                                <input type="text" name="categorycode" size="3" 
maxlength="2" onblur="toUC(this)">
                        </td>
                </tr>
        <!-- /TMPL_IF -->
                <tr>
                        <td>Beschreibung</td>
                        <td>
                                <input type="text" name="description" size="40" 
maxlength="80" value="<!-- TMPL_VAR NAME="description" escape=HTML -->">
                                &nbsp;
                        </td>
                </tr>
                <tr>
                        <td>Enrolment period</td>
                        <td>
                                <input type="text" name="enrolmentperiod" 
value="<!-- TMPL_VAR NAME="enrolmentperiod" -->">
                        </td>
                </tr>
                <tr>
                        <td>H&ouml;chstalter</td>
                        <td>
                                <input type="text" name="upperagelimit" 
value="<!-- TMPL_VAR NAME="upperagelimit" -->">
                        </td>
                </tr>
                <tr>
                        <td>Mindestalter</td>
                        <td>
                                <input type="text" name="dateofbirthrequired" 
value="<!-- TMPL_VAR NAME="dateofbirthrequired" -->">
                        </td>
                </tr>
                <tr>
                        <td>Mahngeb&uuml;hrentyp</td>
                        <td>
                                <input type="text" name="finetype" size="30" 
maxlength="30" value="<!-- TMPL_VAR NAME="finetype" -->">
                        </td>
                </tr>
                <tr>
                        <td>Bulk</td>
                        <td>
                                <input type="text" name="bulk" value="<!-- 
TMPL_VAR NAME="bulk" -->">
                        </td>
                </tr>
                <tr>
                        <td>Enrolment fee</td>
                        <td>
                                <input type="text" name="enrolmentfee" 
value="<!-- TMPL_VAR NAME="enrolmentfee" -->">
                        </td>
                </tr>
                <tr>
                        <td>Bemerkung zur &Uuml;berziehung notwendig</td>
                        <td>
                                <input type="text" name="overduenoticerequired" 
value="<!-- TMPL_VAR NAME="overduenoticerequired" -->">
                        </td>
                </tr>
                <tr>
                        <td>Vormerkgeb&uuml;hr</td>
                        <td>
                                <input type="text" name="reservefee" 
value="<!-- TMPL_VAR NAME="reservefee" -->">
                        </td>
                </tr>
                <tr>
                        <td>&nbsp;</td>
                        <td>
                                <input type="button" value="OK" 
onclick="Check(this.form)">
                        </td>
                </tr>
        </table>
<!-- /TMPL_IF -->

<!-- TMPL_IF NAME="add_validate" -->
        Daten gespeichert
        <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
                <input type="submit" value="OK">
        </form>
<!-- /TMPL_IF -->

        SUMME : <!-- TMPL_VAR NAME="categorycode" --> : <!-- TMPL_VAR 
NAME="total" --><br>
                    
        <table border="0" cellspacing="0" cellpadding="5">
                <tr bgcolor="#99cc33">
                        <td background="/images/background-mem.gif">
                                <b>Kategorien-Code</b>
                        </td>
                        <td background="/images/background-mem.gif">
                                <!-- TMPL_VAR NAME="categorycode" -->
                        </td>
                </tr>
                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                        <input type="hidden" name="op" value="delete_confirmed">
                        <input type="hidden" name="categorycode" value=<!-- 
TMPL_VAR NAME="categorycode" -->>
                <tr>
                        <td>Beschreibung</td>
                        <td><!-- TMPL_VAR NAME="description" --></td>
                </tr>
                <tr>
                        <td>Enrolment period</td>
                        <td><!-- TMPL_VAR NAME="enrolmentperiod" --></td>
                </tr>
                <tr>
                        <td>H&ouml;chstalter</td>
                        <td><!-- TMPL_VAR NAME="upperagelimit" --></td>
                </tr>
                <tr>
                        <td>Mindestalter</td>
                        <td><!-- TMPL_VAR NAME="dateofbirthrequired" --></td>
                </tr>
                <tr>
                        <td>Mahngeb&uuml;hrentyp</td>
                        <td><!-- TMPL_VAR NAME="finetype" --></td>
                </tr>
                <tr>
                        <td>Bulk</td>
                        <td><!-- TMPL_VAR NAME="bulk" --></td>
                </tr>
                <tr>
                        <td>Enrolment fee</td>
                        <td><!-- TMPL_VAR NAME="enrolmentfee" --></td>
                </tr>
                <tr>
                        <td>Bemerkung zur &Uuml;berziehung notwendig</td>
                        <td><!-- TMPL_VAR NAME="overduenoticerequired" --></td>
                </tr>
                <tr>
                        <td>Vormerkgeb&uuml;hr</td>
                        <td><!-- TMPL_VAR NAME="reservefee" --></td>
                </tr>
                <!-- TMPL_IF NAME="totalgtzero" -->
                <tr>
                        <td colspan="2" align="center"><b>This record is used 
<!-- TMPL_VAR NAME="total" --> times. Deletion not possible</b></td>
                </tr>
               <tr>
                        <td colspan="2">
                                </form><form action="<!-- TMPL_VAR 
NAME="script_name" -->" method="post">
                                <input type="submit" value="OK">
                                </form>
                        </td>
                </tr>
                <!-- TMPL_ELSE -->
                <tr>
                        <td colspan="2" align="center">L&ouml;schen 
best&auml;tigen</td>
                </tr>
                <tr>
                        <td><input type="submit" value="JA"></form></td>
                        <td><form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post"><input type="submit" value="NEIN"></form></td>
                </tr>
                <!-- /TMPL_IF -->

<!-- /TMPL_IF -->

<!-- TMPL_IF NAME="delete_confirmed" -->
        Daten gel&ouml;scht
        <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
        <input type="submit" value="OK">
        </form>

<!-- /TMPL_IF -->

<!-- TMPL_IF NAME="else" -->
        <h2>Administration Kategorien</h2>
        <!-- TMPL_IF NAME="searchfield" -->
                Sie suchten nach <!-- TMPL_VAR NAME="searchfield" -->
        <!-- /TMPL_IF -->

        <form action="<!-- TMPL_VAR NAME="script_name">" method="post">
                <input type="text" name="description" value="<!-- TMPL_VAR 
NAME="searchfield" -->">
                <input type="reset" name="reset" value="l&ouml;schen">
        </form>

        <table border="0" cellspacing="0" cellpadding="5">
                <tr bgcolor="#99cc33">
                        <td 
background="/images/background-mem.gif"><b>Kategorie</b></td>
                        <td 
background="/images/background-mem.gif"><b>Beschreibung</b></td>
                        <td 
background="/images/background-mem.gif"><b>Enrolment</b></td>
                        <td background="/images/background-mem.gif"><b>Obere 
Altersgrenze</b></td>
                        <td 
background="/images/background-mem.gif"><b>Mindestalter</b></td>
                        <td 
background="/images/background-mem.gif"><b>Mahngeb&uuml;hr</b></td>
                        <td 
background="/images/background-mem.gif"><b>Bulk</b></td>
                        <td 
background="/images/background-mem.gif"><b>Benutzungsgeb&uuml;hr</b></td>
                        <td 
background="/images/background-mem.gif"><b>&Uuml;berf&auml;llig</b></td>
                        <td 
background="/images/background-mem.gif"><b>Vormerkung</b></td>
                        <td background="/images/background-mem.gif"> </td>
                        <td background="/images/background-mem.gif"> </td>
                </tr>
                <!-- TMPL_LOOP NAME="loop" -->
                <tr bgcolor="<!-- TMPL_VAR NAME="toggle" -->">
                        <td><!-- TMPL_VAR NAME="categorycode" --></td>
                        <td><!-- TMPL_VAR NAME="description" --></td>
                        <td><!-- TMPL_VAR NAME="enrolmentperiod" --></td>
                        <td><!-- TMPL_VAR NAME="upperagelimit" --></td>
                        <td><!-- TMPL_VAR NAME="dateofbirthrequired" --></td>
                        <td><!-- TMPL_VAR NAME="finetype" --></td>
                        <td><!-- TMPL_VAR NAME="bulk" --></td>
                        <td><!-- TMPL_VAR NAME="enrolmentfee" --></td>
                        <td><!-- TMPL_VAR NAME="overduenoticerequired" --></td>
                        <td><!-- TMPL_VAR NAME="reservefee" --></td>
                        <td><a href="<!-- TMPL_VAR NAME="script_name" 
-->?op=add_form&amp;categorycode=<!-- TMPL_VAR NAME="categorycode" 
-->">Bearbeiten</a></td>
                        <td><a href="<!-- TMPL_VAR NAME="script_name" 
-->?op=delete_confirm&amp;categorycode=<!-- TMPL_VAR NAME="categorycode" 
-->">L&ouml;schen</a></td>
                </tr>
                <!-- /TMPL_LOOP -->

        </table>
        <p><form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
                <input type="hidden" name="op" value="add_form">
                <input type="submit" class="button" value="Kategorie 
hinzuf&uuml;gen" alt="Kategorie hinzuf&uuml;gen"><br>
        </form></p>
<!-- /TMPL_IF -->


<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->





--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->

<div id="mainbloc">
        <h1>&uuml;berpr&uuml;fe MARC Setup</h1>
        <table>
                <tr>
                        <th>Test</th>
                        <th>Treffer</th>
                </tr>
        <!-- 
--------------------------------------------------------------------------------------------------------
 -->
        <!-- TMPL_IF NAME="itemnum" -->
                <tr>
                        <td><b>itemnum</b></td>
                        <td><li>The field itemnum MUST be mapped </li>
                                <li>The correspounding subfield MUST be in with 
-1 (ignore) tab</td>
                </tr>
        <!-- TMPL_ELSE -->
                <tr>
                        <td>OK</td>
                        <td><i>itemnum : Das Feld itemnumber ist einem Feld mit 
tab -1 zugewiesen</i></td>
                </tr>
        <!-- /TMPL_IF -->
        <!-- 
--------------------------------------------------------------------------------------------------------
 -->
        <!-- TMPL_IF NAME="itemfields" -->
                <tr>
                        <td><b>item fields</b></td>
                        <td>ALL items fields MUST :<br/>
                                <li>be mapped to the same tag,</li>
                                <li>and they must all be in the 10 (items) 
tab</li></td>
                </tr>
        <!-- TMPL_ELSE -->
                <tr>
                        <td>OK</td>
                        <td><i>Alle Eintragsfelder befinden sich im selben Tag 
und im "item tab"</i></td>
                </tr>
        <!-- /TMPL_IF -->
        <!-- 
--------------------------------------------------------------------------------------------------------
 -->
        <!-- TMPL_IF NAME="itemtypes_empty" -->
                <tr>
                        <td><b>Medientyp-Tabelle leer</b></td>
                        <td>the itemtypes table is empty. It must contain at 
least 1 value</td>
                </tr>
        <!-- TMPL_ELSE -->
                <tr>
                        <td>OK</td>
                        <td><i>Medientyp-Tabelle mit mindestens 1 Wert 
gef&uuml;llt</i></td>
                </tr>
        <!-- /TMPL_IF -->
        <!-- 
--------------------------------------------------------------------------------------------------------
 -->
        <!-- TMPL_IF NAME="itemtype" -->
                <tr>
                        <td><b>Medientyp NICHT zugeordnet</b></td>
                        <td>the biblioitems.itemtype field MUST :<br/>
                                <li>be mapped to a MARC subfield, </li>
                                <li>the correspounding subfield MUST have 
authorised_value="itemtype"</li></td>
                </tr>
        <!-- TMPL_ELSE -->
                <tr>
                        <td>OK</td>
                        <td><i>biblioitems.itemtype definiert</i></td>
                </tr>
        <!-- /TMPL_IF -->
        <!-- 
--------------------------------------------------------------------------------------------------------
 -->
        <!-- TMPL_IF NAME="branches_empty" -->
                <tr>
                        <td><b>Zweigstellentabelle leer</b></td>
                        <td>Die Zweigstellentabelle ist leer. Es mu&szlig: 
mindestens 1 Wert eingetragen sein!</td>
                </tr>
        <!-- TMPL_ELSE -->
                <tr>
                        <td>OK</td>
                        <td><i>Zweigstellentabelle gef&uuml;llt mit mindestens 
1 Wert</i></td>
                </tr>
        <!-- /TMPL_IF -->
        <!-- 
--------------------------------------------------------------------------------------------------------
 -->
        <!-- TMPL_IF NAME="branch" -->
                <tr>
                        <td><b>Heimatzweigstelle NICHT zugeordnet</b></td>
                        <td>the items.homebranch field MUST :<br/>
                                <li>be mapped to a MARC subfield,</li>
                                <li>the correspounding subfield MUST have 
authorised value="branches"</li></td>
                </tr>
        <!-- TMPL_ELSE -->
                <tr>
                        <td>OK</td>
                        <td><i>Heimatzweigstelle definiert</i></td>
                </tr>
        <!-- /TMPL_IF -->
        <!-- 
--------------------------------------------------------------------------------------------------------
 -->
        <!-- TMPL_IF NAME="holdingbranch" -->
                <tr>
                        <td><b>aktuelle Zweigstelle NICHT zugeordnet</b></td>
                        <td>the items.holdingbranch field MUST :<br/>
                                <li>be mapped to a MARC subfield, </li>
                                <li>the correspounding subfield MUST have 
authorised value="branches"</li></td>
                </tr>
        <!-- TMPL_ELSE -->
                <tr>
                        <td>OK</td>
                        <td><i>aktuelle Zweigstelle definiert</i></td>
                </tr>
        <!-- /TMPL_IF -->
        <!-- 
--------------------------------------------------------------------------------------------------------
 -->
        <!-- TMPL_IF NAME="biblionumber" -->
                <tr>
                        <td><b>Biblio und Biblio-Nr.</b></td>
                        <td>The biblio.biblionumber and 
biblioitems.biblioitemnumber fields MUST :<br/>
                                <li>be mapped to a MARC subfield,</li>
                                <li>be in the SAME tag (for example : 090$a and 
090$b)</li>
                                <li>be in tab -1</li></td>
                </tr>
        <!-- TMPL_ELSE -->
                <tr>
                        <td>OK</td>
                        <td><i>Biblio-Nr. und Exemplar korrekt 
zugeordnet</i></td>
                </tr>
        <!-- /TMPL_IF -->
        <!-- 
--------------------------------------------------------------------------------------------------------
 -->
        <!-- TMPL_IF NAME="total" -->
                <tr>
                        <td><b>SUMME</b></td>
                        <td>You have <b><!-- TMPL_VAR NAME="total" --></b> 
error(s) in your MARC configuration. Please fix them before using koha</td>
                </tr>
        <!-- TMPL_ELSE -->
                <tr>
                        <td>&nbsp;</td>
                        <td><b>Konfiguration ok. Sie haben keine Fehler in der 
MARC Parameter-Tabelle</b></td>
                </tr>
        <!-- /TMPL_IF -->
        </table>
</div>
<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->
<div id="mainbloc">
        <!-- TMPL_IF NAME="add_form" -->
                        <script language="javascript" type="text/javascript">
                function _(s) { return s } // dummy function for gettext
                        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                        function isNotNull(f,noalert) {
                                        if (f.value.length ==0) {
        return false;
                                        }
                                        return true;
                        }
                        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                        function toUC(f) {
                                        var x=f.value.toUpperCase();
                                        f.value=x;
                                        return true;
                        }
                        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                        function isNum(v,maybenull) {
                        var n = new Number(v.value);
                        if (isNaN(n)) {
                                        return false;
                                        }
                        if (maybenull==0 && v.value=='') {
                                        return false;
                        }
                        return true;
                        }
                        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                        function isDate(f) {
                                        var t = Date.parse(f.value);
                                        if (isNaN(t)) {
                                                        return false;
                                        }
                        }
                        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                        function Check(f) {
                                        var ok=1;
                                        var _alertString="";
                                        var alertString2;
                                        if (f.currency.value.length==0) {
                                                        _alertString += "\n- " 
+ _("W&auml;hrungsbezeichnung fehlt");
                                        }
                                        if (f.rate.value.length==0) {
                                                        _alertString += "\n- " 
+ _("Wechselkurs fehlt");
                                        }
                                        if (_alertString.length==0) {
                                                        document.Aform.submit();
                                        } else {
                                                        alertString2  = _("Form 
not submitted because of the following problem(s)");
                                                        alertString2 += 
"\n------------------------------------------------------------------------------------\n";
                                                        alertString2 += 
_alertString;
                                                        alert(alertString2);
                                        }
                        }
                        </script>
        
                <!-- TMPL_IF NAME="searchfield" -->
                        <h1 class="parameters">W&auml;hrung bearbeiten</h1>
                <!-- TMPL_ELSE -->
                        <h1 class="parameters">W&auml;hrung hinzuf&uuml;gen</h1>
                <!-- /TMPL_IF -->
        
                        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
name="Aform" method="post">
                        <input type="hidden" name="op" value="add_validate">
        
                <!-- TMPL_IF NAME="searchfield" -->
                        <p>
                                <label>W&auml;hrung</label>
                                <input type="hidden" name="currency" 
value="<!-- TMPL_VAR NAME="searchfield" -->"><!-- TMPL_VAR NAME="searchfield" 
-->
                        </p>
                <!-- TMPL_ELSE -->
                        <p>
                                <label>W&auml;hrung</label>
                                <input type="text" name="currency" size="50" 
maxlength="50" onblur="toUC(this)">
                        </p>
                <!-- /TMPL_IF -->
                <p>
                        <label>Wechselkurs</label>
                        <input type="text" name="rate" size="10" maxlength="10" 
value="<!-- TMPL_VAR NAME="rate" -->">
                </p>
                <p><input type="button" value="OK" onclick="Check(this.form)" 
class="button parameters"></p>
                </form>
        
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="add_validate" -->
                Daten gespeichert
                        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                        <input type="submit" value="OK">
                        </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="delete_confirm" -->
                <table border="0" cellspacing="0" cellpadding="5">
                        <tr bgcolor="#99cc33">
                                <td 
background="/images/background-mem.gif"><b>W&auml;hrung</b></td>
                                <td 
background="/images/background-mem.gif"><b><!-- TMPL_VAR NAME="searchfield" 
--></b></td>
                        </tr>
        
                                <form action="<!-- TMPL_VAR NAME="script_name" 
-->" method="post">
                                <input type="hidden" name="op" 
value="delete_confirmed">
                                <input type="hidden" name="searchfield" 
value="<!-- TMPL_VAR NAME="searchfield" -->">
                        
                                <tr>
                                <td>Wechselkurs</td>
                                <td><!-- TMPL_VAR NAME="rate" --></td>
                        </tr>
                        <!-- TMPL_IF NAME="totalgtzero" -->
                        <tr>
                                <td colspan="2" align="center">
                                        <b>This record is used <!-- TMPL_VAR 
NAME="total" --> times. Deletion not possible</b>
                                </td>
                        </tr>
                        <tr>
                                <td colspan="2">
                                        </form>
                                        <form action="<!-- TMPL_VAR 
NAME="script_name" -->" method="post">
                                                <input type="submit" value="OK">
                                        </form>
                                </td>
                        </tr>
                        <!-- TMPL_ELSE -->
                        <tr>
                                <td colspan="2" align="center">L&ouml;schen 
best&auml;tigen</td>
                        </tr>
                        <tr>
                                <td>
                                        <input type="submit" value="JA">
                                        </form>
                                </td>
                                <td>
                                        <form action="<!-- TMPL_VAR 
NAME="script_name" -->" method="post">
                                                <input type="submit" 
value="NEIN">
                                        </form>
                                </td>
                        </tr>
                        <!-- /TMPL_IF -->
                </table>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="delete_confirmed" -->
                Daten gel&ouml;scht
                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                        <input type="submit" value="OK">
                </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="else" -->
                <h1 class="parameters">W&auml;hrungen Administration</h1>
                        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                                        <input type="text" name="description" 
value="<!-- TMPL_VAR NAME="searchfield" -->">
                                        <input type="submit" value="Filter" 
class="button parameters">
                        </form>
        
                <!-- TMPL_IF NAME="searchfield" -->
                        You searched for <b><!-- TMPL_VAR NAME="searchfield" 
--></b>
                <!-- /TMPL_IF -->
        
                <table>
                        <tr>
                                <th class="parameters"><b>W&auml;hrung</b></td>
                                <th class="parameters"><b>Wechselkurs</b></td>
                                <th class="parameters"> </td>
                                <th class="parameters"> </td>
                        </tr>
                        <!-- TMPL_LOOP NAME="loop" -->
                        <tr bgcolor="<!-- TMPL_VAR NAME="toggle" -->">
                                <td><!-- TMPL_VAR NAME="currency" --></td>
                                <td><!-- TMPL_VAR NAME="rate" --></td>
                                <td><a href="<!-- TMPL_VAR NAME="script_name" 
-->?op=add_form&amp;searchfield=<!-- TMPL_VAR NAME="currency" -->" 
class="button parameters">Bearbeiten</a></td>
                                                        <td><a href="<!-- 
TMPL_VAR NAME="script_name" -->?op=delete_confirm&amp;searchfield=<!-- TMPL_VAR 
NAME="currency" -->" class="button parameters">L&ouml;schen</a></td>
                        </tr>
                        <!-- /TMPL_LOOP -->
                </table>
        
                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                        <input type="hidden" name="op" value="add_form">
                
                <!-- TMPL_IF NAME="offsetgtzero" -->
                        <a href="<!-- TMPL_VAR NAME="script_name" 
-->?offset=<!-- TMPL_VAR NAME="prevpage" -->">&lt;&lt; Prev</a>
                <!-- /TMPL_IF -->
        
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        
                <!-- TMPL_IF NAME="ltcount" -->
                        <a href="<!-- TMPL_VAR NAME="script_name" 
-->?offset=<!-- TMPL_VAR NAME="nextpage" -->">N&auml;chster &gt;&gt;</a>      
                <!-- /TMPL_iF -->
        
                        <br>
                <input type="submit" class="button parameters" 
value="W&auml;hrung hinzuf&uuml;gen" alt="W&auml;hrung hinzuf&uuml;gen">
                <br>
                        </form>
        
        <!-- /TMPL_IF -->
</div>

<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->
<div id="mainbloc">
        <h1 class="parameters">Definition der Ausleihkonditionen f&uuml;r <!-- 
TMPL_VAR NAME="branch" --></h1>
        <div id="bloc25">
                <h2 class="parameters">TIPP f&uuml;r Ausleihen</h2>
                <p>Each box needs to be filled with issuelength, maxissues</p>
                <p> - z.B.: 21,5 = 21 Tage Leihfrist und max. 5 Ausleihen</p>
                <h2 class="parameters">TIPP f&uuml;r Mahngeb&uuml;hren</h2>
                <p>Bei jedem Feld m&uuml;ssen Geb&uuml;hr, Beginn der 
Geb&uuml;hrenerhebung und Erhebungsturnus eingetragen werden.</p>
                <p>z.B 1,7,7 = 1 USD, EUR &Uuml;berziehungsgeb&uuml;hr, nach 7 
Tagen, alle 7 Tage</p>
                <p>Achtung: Geb&uuml;hren werden mit dem Skript fines.pl 
berechnet, das im "misc"-Verzeichnis liegt </p>
                <p>Um jede Nacht die Geb&uuml;hren zu berechnen, mu&szlig; ihr 
Administrator dieses Skript in die crontab eintragen</p>
        </div>
        <div id="bloc25">
                <h2 class="parameters">Defaultwerte</h2>
                <p> Ist eine Zelle nicht ausgef&uuml;llt, wird nach dem ersten 
der folgenden Werte gesucht :</p>
                <ul>
                        <li>selbe Zweigstelle und selbe Benutzerkategorie, 
Medientyp *</li>
                        <li> selbe Zweigstelle und selber Medientyp, 
Benutzerkategorie *</li>
                        <li>selber Medientyp und Benutzerkategorie, Zweigstelle 
*</li>
                        <li>&uuml;berall</li>
                        <li>Wird nichts gefunden, wird der Defaultwert 21,5 
(fest programmiert) genommen</li>
                </li>
        </div>
        <div id="bloc100">
                <form method="post">
                Zweigstelle ausw&auml;hlen
                        <select name="branch">
                                <option value="">Default</option>
                        <!-- TMPL_LOOP NAME="branchloop" -->
                                <option value="<!-- TMPL_VAR NAME="value" -->" 
<!-- TMPL_IF NAME="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR 
NAME="branchname" --></option>
                        <!-- /TMPL_LOOP -->
                        </select>
                        <input type="submit" value="Auswahl" class="button 
parameters">
                </form>
                <form method="post">
                        <input type="hidden" name="op" value="save">
                        <table>
                        <tr>
                                <th>&nbsp;</th><!-- TMPL_LOOP NAME="title" 
--><th><!-- TMPL_VAR NAME="in_title" --><br/>Ausleihe / 
Mahngeb&uuml;hr</th><!-- /TMPL_LOOP -->
                        </tr>
                        <!-- TMPL_LOOP NAME="row" -->
                                <tr align="center">
                                        <th>
                                                <!-- TMPL_VAR 
NAME="categorycode" -->
                                        </th>
                                        <!-- TMPL_LOOP NAME="cell" -->
                                                <td<!-- TMPL_IF NAME="toggle" 
--> class="hilighted"<!-- /TMPL_IF -->>
                                                        <input name="<!-- 
TMPL_VAR NAME="issuingname" -->" value="<!-- TMPL_VAR NAME="issuingvalue" -->" 
size="6" maxlength="10"> /
                                                        <input name="<!-- 
TMPL_VAR NAME="finesname" -->" value="<!-- TMPL_VAR NAME="finesvalue" -->" 
size="6" maxlength="10">
                                                </td>
                                        <!-- /TMPL_LOOP -->
                                </tr>
                        <!-- /TMPL_LOOP -->
                        </table>
                        <input type="submit" value="Speichern" class="button 
parameters">
                </form>
        </div>
</div>
<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->

<script language="javascript" type="text/javascript">
function _(s) { return s } // dummy function for gettext
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function isNotNull(f,noalert) {
        if (f.value.length ==0) {
                return false;
        }
        return true;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function toUC(f) {
        var x=f.value.toUpperCase();
        f.value=x;
        return true;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function isNum(v,maybenull) {
var n = new Number(v.value);
if (isNaN(n)) {
        return false;
        }
if (maybenull==0 && v.value=='') {
        return false;
}
return true;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function isDate(f) {
        var t = Date.parse(f.value);
        if (isNaN(t)) {
                return false;
        }
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function Check(f) {
        var ok=1;
        var _alertString="";
        var alertString2;
        if (f.itemtype.value.length==0) {
                _alertString += "\n- " + _("Medientyp fehlt");
        }
        if (!(isNotNull(window.document.Aform.description,1))) {
                _alertString += "\n- " + _("Beschreibung fehlt");
        }
        if ((!isNum(f.rentalcharge,0)) && f.rentalcharge.value.length > 0) {
                _alertString += "\n- " + _("Leihgeb&uuml;hr ist keine Zahl");
        }
        if (_alertString.length==0) {
                document.Aform.submit();
        } else {
                alertString2  = _("Form not submitted because of the following 
problem(s)");
                alertString2 += 
"\n------------------------------------------------------------------------------------\n";
                alertString2 += _alertString;
                alert(alertString2);
        }
}
</script>
<div id="mainbloc">
<!-- TMPL_IF NAME="add_form" -->
        <!-- TMPL_IF NAME="itemtype" -->
                <h1 class="parameters">Medientyp bearbeiten</h1>
        <!-- TMPL_ELSE -->
                <h1 class="parameters">Medientyp hinzuf&uuml;gen</h1>
        <!-- /TMPL_IF -->
        <form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" 
method="post">
                <input type="hidden" name="op" value="add_validate">
                <input type="hidden" name="checked" value="0">
                        <!-- TMPL_IF NAME="itemtype" -->
                                <p><label 
class="label100">Medientyp<label><input type="hidden" name="itemtype" 
value="<!-- TMPL_VAR NAME="itemtype" -->"><!-- TMPL_VAR NAME="itemtype" --></p>
                        <!-- TMPL_ELSE -->
                                <p><label 
class="label100">Medientyp<label><input type="text" name="itemtype" size="6" 
maxlength="4" onblur="toUC(this)"></p>
                        <!-- /TMPL_IF -->
                        <p>
                                <label class="label100">Beschreibung</label>
                                <input type="text" name="description" size="40" 
maxlength="80" value="<!-- TMPL_VAR NAME="description" escape=HTML -->">
                        </p>
                        <p>
                                <label class="label100">Nicht ausleihbar</label>
                                <!-- TMPL_IF NAME="notforloan" -->
                                        <input type="checkbox" 
name="notforloan" checked value="1">
                                <!-- TMPL_ELSE -->
                                        <input type="checkbox" 
name="notforloan" value="1">
                                <!-- /TMPL_IF -->
                                wenn angehakt, k&ouml;nnen Medien dieses 
Medientyps NICHT ausgeliehen werden. Ist der Haken nicht gesetzt, k&ouml;nnen 
Medien dieses Medientyps entliehen werden, auch wenn ein einzelnes Exemplar als 
"nicht ausleihbar" gekennzeichnet ist
                        </p>
                        <p>
                                <label class="label100" 
name="renewalsallowed">Anzahl der m&ouml;glichen Verl&auml;ngerunegn</label>
                                <input type="text" name="renewalsallowed" 
value="<!-- TMPL_VAR NAME="renewalsallowed" -->">
                        </p>
                        <p>
                                <label class="label100">Leihgeb&uuml;hr</label>
                                <input type="text" name="rentalcharge" 
size="10" value="<!-- TMPL_VAR NAME="rentalcharge" -->">
                        </p>
                        <p>
                                <input type="button" value="OK" class="button" 
onclick="Check(this.form)">
                        </p>
        </form>
<!-- /TMPL_IF -->

<!-- TMPL_IF NAME="delete_confirm" -->
                <p><label>Medientyp</label><!-- TMPL_VAR NAME="itemtype" --></p>
        <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
                <input type="hidden" name="op" value="delete_confirmed"><input 
type="hidden" name="itemtype" value="<!-- TMPL_VAR NAME="itemtype" -->">
        <p><label>Beschreibung</label><!-- TMPL_VAR NAME="description" --></p>
        <p><label>Verl&auml;ngerungen</label><!-- TMPL_IF 
NAME="renewalsallowed" -->Zul&auml;ssig<!-- TMPL_ELSE -->Nicht erlaubt<!-- 
/TMPL_IF --></p>
        <p><lable>Leihgeb&uuml;hr</label><!-- TMPL_VAR NAME="rentalcharge" 
--></p>
        <!-- TMPL_IF NAME="total" -->
                <p>
                        <b>This record is used <!-- TMPL_VAR NAME="total" --> 
times. Deletion not possible</b>
                </p>
                <p>
                        </form>
                        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post"><input type="submit" value="OK" class="button parameters"></form>
                </p>
        <!-- TMPL_ELSE -->
                <p>L&ouml;schen best&auml;tigen</p>
                <p>
                        <input type="submit" value="JA" class="button 
parameters"></form>
                        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post"><input type="submit" value="NEIN" class="button 
parameters"></form>
                </p>
        <!-- /TMPL_IF -->

<!-- /TMPL_IF -->

<!-- TMPL_IF NAME="else" -->
<h1 class="parameters">Administration Medientypen</h1>
<table>
        <tr>
                <th class="parameters">Code</th>
                <th class="parameters">Beschreibung</th>
                <th class="parameters">nicht ausleihbar</th>
                <th class="parameters">Verl&auml;ngerbar</th>
                <th class="parameters">Geb&uuml;hr</th>
                <th class="parameters">Bearbeiten</th>
                <th class="parameters">L&ouml;schen</th>
        </tr>
        <!-- TMPL_LOOP NAME="loop" -->
                <tr>
                        <td><!-- TMPL_VAR NAME="itemtype" --></td>
                        <td><!-- TMPL_VAR NAME="description" --></td>
                        <td><!-- TMPL_IF NAME="notforloan" -->Ja<!-- /TMPL_IF 
--></td>
                        <td><!-- TMPL_UNLESS name="notforloan" -->
                                        <!-- TMPL_IF NAME="renewalsallowed" -->
                                                <!-- TMPL_VAR 
name="renewalsallowed" --> mal
                                        <!-- TMPL_ELSE -->
                                                Nein
                                        <!-- /TMPL_IF -->
                                <!-- /TMPL_UNLESS -->
                        </td>
                        <td><!-- TMPL_UNLESS name="notforloan" --><!-- TMPL_VAR 
NAME="rentalcharge" --><!-- /TMPL_UNLESS --></td>
                        <td><a href="<!-- TMPL_VAR NAME="script_name" 
-->?op=add_form&itemtype=<!-- TMPL_VAR NAME="itemtype" escape="HTML" -->"><img 
src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" 
-->/images/fileopen.png"  width="32" hspace="0" vspace="0" border="0"></a></td>
                        <td><a href="<!-- TMPL_VAR NAME="script_name" 
-->?op=delete_confirm&itemtype=<!-- TMPL_VAR NAME="itemtype" escape="HTML" 
-->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" 
-->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0"></a></td>
                </tr>
        <!-- /TMPL_LOOP -->
</table>
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
        <input type="hidden" name="op" value="add_form">
        <input type="submit" class="button parameters" value="Medientyp 
hinzuf&uuml;gen" title="Medientyp hinzuf&uuml;gen" alt="Medientyp 
hinzuf&uuml;gen">
        <td width="33%"><!-- TMPL_IF NAME="previous" --><a href="<!-- TMPL_VAR 
NAME="previous" -->"><input type="image" src="<!-- TMPL_VAR NAME="interface" 
-->/<!-- TMPL_VAR NAME="theme" -->/images/1leftarrow.png" title="vorheriges" 
alt="vorheriges" border="0"></a><!-- /TMPL_IF --></td>
        <td width="33%"><!-- TMPL_IF NAME="next" --><a href="<!-- TMPL_VAR 
NAME="next" -->"><input type="image" src="<!-- TMPL_VAR NAME="interface" 
-->/<!-- TMPL_VAR NAME="theme" -->/images/1rightarrow.png" title="next" 
alt="next" border="0"></a><!-- /TMPL_IF --></td>
</form>
</div>
<!-- /TMPL_IF -->
<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->

<div id="mainbloc">
        <!-- TMPL_IF NAME="add_form" -->
        <!-- 
------------------------------------------------------------------------ -->
                <h1>Choose and validate 1 of the following for <b><!-- TMPL_VAR 
NAME="tablename" -->.<!-- TMPL_VAR NAME="kohafield" --></b></h1>
                <table>
                        <tr>
                                <form action="<!-- TMPL_VAR ESCAPE="URL" 
NAME="script_name" -->" method=put>
                                        <td>
                                                <input type="hidden" name="op" 
value="add_validate">
                                                <input type="hidden" 
name="tablename" value="<!-- TMPL_VAR NAME="tablename" -->">
                                                <input type="hidden" 
name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
                                                <!-- TMPL_VAR NAME="marclist0" 
-->
                                        </td>
                                        <td>
                                                <input type="submit" value="OK" 
class="button">
                                        </td>
                                </form>
                        </tr>
                        <tr>
                        <form action="<!-- TMPL_VAR ESCAPE="URL" 
NAME="script_name" -->" method=put>
                                <td>
                                        <input type="hidden" name="op" 
value="add_validate">
                                        <input type="hidden" name="tablename" 
value="<!-- TMPL_VAR NAME="tablename" -->">
                                        <input type="hidden" name="kohafield" 
value="<!-- TMPL_VAR NAME="kohafield" -->">
                                        <!-- TMPL_VAR NAME="marclist1" -->
                                </td>
                                <td>
                                        <input type="submit" value="OK" 
class="button">
                                </td>
                        </form>
                        </tr>
                        <tr>
                        <form action="<!-- TMPL_VAR ESCAPE="URL" 
NAME="script_name" -->" method=put>
                                <td>
                                        <input type="hidden" name="op" 
value="add_validate">
                                        <input type="hidden" name="tablename" 
value="<!-- TMPL_VAR NAME="tablename" -->">
                                        <input type="hidden" name="kohafield" 
value="<!-- TMPL_VAR NAME="kohafield" -->">
                                        <!-- TMPL_VAR NAME="marclist2" -->
                                </td>
                                <td>
                                        <input type="submit" value="OK" 
class="button">
                                </td>
                        </form>
                        </tr>
                        <tr>
                        <form action="<!-- TMPL_VAR ESCAPE="URL" 
NAME="script_name" -->" method=put>
                                <td>
                                        <input type="hidden" name="op" 
value="add_validate">
                                        <input type="hidden" name="tablename" 
value="<!-- TMPL_VAR NAME="tablename" -->">
                                        <input type="hidden" name="kohafield" 
value="<!-- TMPL_VAR NAME="kohafield" -->">
                                        <!-- TMPL_VAR NAME="marclist3" -->
                                </td>
                                <td>
                                        <input type="submit" value="OK" 
class="button">
                                </td>
                        </form>
                        </tr>
                        <tr>
                        <form action="<!-- TMPL_VAR ESCAPE="URL" 
NAME="script_name" -->" method=put>
                                <td>
                                        <input type="hidden" name="op" 
value="add_validate">
                                        <input type="hidden" name="tablename" 
value="<!-- TMPL_VAR NAME="tablename" -->">
                                        <input type="hidden" name="kohafield" 
value="<!-- TMPL_VAR NAME="kohafield" -->">
                                        <!-- TMPL_VAR NAME="marclist4" -->
                                </td>
                                <td>
                                        <input type="submit" value="OK" 
class="button">
                                </td>
                        </form>
                        </tr>
                        <tr>
                        <form action="<!-- TMPL_VAR ESCAPE="URL" 
NAME="script_name" -->" method=put>
                                <td>
                                        <input type="hidden" name="op" 
value="add_validate">
                                        <input type="hidden" name="tablename" 
value="<!-- TMPL_VAR NAME="tablename" -->">
                                        <input type="hidden" name="kohafield" 
value="<!-- TMPL_VAR NAME="kohafield" -->">
                                        <!-- TMPL_VAR NAME="marclist5" -->
                                </td>
                                <td>
                                        <input type="submit" value="OK" 
class="button">
                                </td>
                        </form>
                        </tr>
                        <tr>
                        <form action="<!-- TMPL_VAR ESCAPE="URL" 
NAME="script_name" -->" method=put>
                                <td>
                                        <input type="hidden" name="op" 
value="add_validate">
                                        <input type="hidden" name="tablename" 
value="<!-- TMPL_VAR NAME="tablename" -->">
                                        <input type="hidden" name="kohafield" 
value="<!-- TMPL_VAR NAME="kohafield" -->">
                                        <!-- TMPL_VAR NAME="marclist6" -->
                                </td>
                                <td>
                                        <input type="submit" value="OK" 
class="button">
                                </td>
                        </form>
                        </tr>
                        <tr>
                        <form action="<!-- TMPL_VAR ESCAPE="URL" 
NAME="script_name" -->" method=put>
                                <td>
                                        <input type="hidden" name="op" 
value="add_validate">
                                        <input type="hidden" name="tablename" 
value="<!-- TMPL_VAR NAME="tablename" -->">
                                        <input type="hidden" name="kohafield" 
value="<!-- TMPL_VAR NAME="kohafield" -->">
                                        <!-- TMPL_VAR NAME="marclist7" -->
                                </td>
                                <td>
                                        <input type="submit" value="OK" 
class="button">
                                </td>
                        </form>
                        </tr>
                        <tr>
                        <form action="<!-- TMPL_VAR ESCAPE="URL" 
NAME="script_name" -->" method=put>
                                <td>
                                        <input type="hidden" name="op" 
value="add_validate">
                                        <input type="hidden" name="tablename" 
value="<!-- TMPL_VAR NAME="tablename" -->">
                                        <input type="hidden" name="kohafield" 
value="<!-- TMPL_VAR NAME="kohafield" -->">
                                        <!-- TMPL_VAR NAME="marclist8" -->
                                </td>
                                <td>
                                        <input type="submit" value="OK" 
class="button">
                                </td>
                        </form>
                        </tr>
                        <tr>
                        <form action="<!-- TMPL_VAR ESCAPE="URL" 
NAME="script_name" -->" method=put>
                                <td>
                                        <input type="hidden" name="op" 
value="add_validate">
                                        <input type="hidden" name="tablename" 
value="<!-- TMPL_VAR NAME="tablename" -->">
                                        <input type="hidden" name="kohafield" 
value="<!-- TMPL_VAR NAME="kohafield" -->">
                                        <!-- TMPL_VAR NAME="marclist9" -->
                                </td>
                                <td>
                                        <input type="submit" value="OK" 
class="button">
                                </td>
                        </form>
                        </tr>
                        <tr>
                                <td>
                                        <p align="right">Zum "Entkn&uuml;pfen", 
klicken ==></p>
                                </td>
                                <td>
                                        <form action="<!-- TMPL_VAR 
NAME="script_name" -->" name="Aform" method=put>
                                                <input type="hidden" name="op" 
value="add_validate">
                                                <input type="hidden" 
name="tablename" value="<!-- TMPL_VAR NAME="tablename" -->">
                                                <input type="hidden" 
name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
                                                <input type="hidden" 
name="choice" value="">
                                                <input type="submit" 
value="HIER" class="button">
                                        </form>
                                </td>
                        </tr>
                </table>
        <!-- /TMPL_IF -->
        
        <!-- 
------------------------------------------------------------------------ -->
        <!-- TMPL_IF NAME="else" -->
        <h1 class="parameters">MARC Links<!-- TMPL_VAR NAME="tagfield" --></h1>
        <p><b>BEMERKUNG :</b></p>
        <ul>
                <p>&Auml;ndern Sie die Verkn&uuml;pfung zwischen einem 
MARC-Unterfeld und einem "NICHT"-MARC-Feld, mu&szlig; Ihr Administrator das 
Skript "misc/rebuildnonmarc.pl\ ausf&uuml;hren.</p>
                <p>&Auml;ndern Sie hier eine Verkn&uuml;pfung, wird JEDES 
Framework ge&auml;ndert.</p>
        </p>
        <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
        <!-- TMPL_VAR NAME="tablename" --> <input type="submit" value="OK" 
class="button parameters">
        </form>
        
        <table>
                <tr>
                        <th width="10%">Koha-Feld <span 
style="font-size:8;color:red" title="the koha-DB field linked to this 
subfield">?</span></th>
                        <th width="5%">Tag</th>
                        <th width="5%">Subfield</th>
                        <th width="42%">Wert</th>
                        <th width="8%">&nbsp;</th>
                <!-- TMPL_LOOP NAME="loop" -->
                        <tr bgcolor="<!-- TMPL_VAR NAME="bgcolor" -->">
                                <td><b><!-- TMPL_VAR NAME="kohafield" 
--></b></td>
                                <td><!-- TMPL_VAR NAME="tagfield" --></td>
                                <td><!-- TMPL_VAR NAME="tagsubfield" --></td>
                                <td><!-- TMPL_VAR NAME="liblibrarian" --></td>
                                <td><a href="<!-- TMPL_VAR NAME="edit" 
-->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" 
-->/images/fileopen.png"  width="32" hspace="0" vspace="0" border="0"></a></td>
                        </tr>
                <!-- /TMPL_LOOP -->
        </table>
        <!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->

<div id="mainbloc">
<!-- TMPL_IF NAME="add_form" -->
<!-- ------------------------------------------------------------------------ 
-->
        <h1>
        <!-- TMPL_IF NAME="use-heading-flags-p" -->
        <!-- TMPL_IF NAME="heading-edit-subfields-p" -->Edit MARC subfields 
constraints for framework <!-- TMPL_IF name="frameworkcode" --><!-- TMPL_VAR 
NAME="frameworkcode" --><!-- TMPL_ELSE -->default<!-- /TMPL_IF --><!-- /TMPL_IF 
-->
        <!-- TMPL_ELSE --><!-- TMPL_VAR NAME="action" --><!-- /TMPL_IF -->
        </h1>
        <form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" 
method="post">
        <input type="hidden" name="op" value="add_validate">
        <input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR 
NAME="frameworkcode" -->">
        <table>
        <!-- TMPL_LOOP NAME="loop" -->
                <tr>
                <td>
                        <h2 class="parameters">Tag <!-- TMPL_VAR 
NAME="tagfield" -->, Subfield <!-- TMPL_VAR NAME="tagsubfield" --></h2>
                        <h3>MARC constraints</h3>
                        <ul>
                                <p>
                                        <!-- TMPL_VAR NAME="repeatable" --> 
repeatable  <!-- TMPL_VAR NAME="mandatory" --> mandatory
                                </p>
                                <!-- TMPL_IF name="frameworkcode" -->
                                        <p>Search also: <i>(meaningful only for 
default framework)</i></p>
                                <!-- TMPL_ELSE -->
                                        <p>
                                                Search also: <input type="text" 
name="seealso" value="<!-- TMPL_VAR name="seealso" -->" size=20> (example for 
200a : '200c','200d','200e'...)
                                        </p>
                                <!-- /TMPL_IF -->
                                <p>Koha link:<!-- TMPL_VAR NAME="kohafield" 
--></p>
                        </ul>
                        <h3>Editor constaints</h3>
                        <ul>
                                <p>Text for librarian: <input type="text" 
name="liblibrarian" value="<!-- TMPL_VAR NAME="liblibrarian" -->" size="40" 
maxlength="80">
                                </p>
                                <p>Text for OPAC: <input type="text" 
name="libopac" value="<!-- TMPL_VAR NAME="libopac" -->" size="40" 
maxlength="80">
                                </p>
                                <p>Managed in tab<!-- TMPL_VAR NAME="tab" --> 
(ignore means that the subfield is NOT managed by Koha)</p>
                                <p><!-- TMPL_VAR NAME="hidden" --> hidden 
(subfield is managed, but hidden. -should be filled by a plugin or 
thesaurus-)</p>
                                <p><!-- TMPL_VAR NAME="isurl" --> URL (if 
checked, it means that the subfield is an URL and can be clicked</p>
                                <p>
                                        <label>Auth value:</label> <!-- 
TMPL_VAR NAME="authorised_value" --> oder Thesaurus: <!-- TMPL_VAR 
NAME="authtypes" --> oder Plugin: <!-- TMPL_VAR NAME="value_builder" -->
                                </p>
                                <p>
                                        <label>&nbsp;</label>Link to field :  
<input type="text" name="link" value="<!-- TMPL_VAR NAME="link" -->" size="10" 
maxlength="5"> (exemple :200b)
                                </p>
                        </ul>
                </td>
                </tr>
        <!-- /TMPL_LOOP -->
        </table>
        <input type="submit" value="OK">
        </form>
<!-- /TMPL_IF -->

<!-- TMPL_IF NAME="delete_confirm" -->
<!-- ------------------------------------------------------------------------ 
-->
<table border="0" cellspacing="0" cellpadding="2">
        <tr valign="top" bgcolor="#99cc33">
                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b>Subfield</b></td>
                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b><!-- TMPL_VAR NAME="tagsubfield" --></b></td>
        </tr>
        <tr><td>&nbsp;</td><td><!-- TMPL_VAR NAME="liblibrarian" --></td></tr>
        <tr><td colspan="2" align="center">L&ouml;schen 
best&auml;tigen</td></tr>
        <tr>
                <td>
                        <form action="<!-- TMPL_VAR NAME="delete_link" -->" 
method="post">
                                <input type="hidden" name="op" 
value="delete_confirmed">
                                <input type="hidden" name="searchfield" 
value="<!-- TMPL_VAR NAME="searchfield" -->">
                                <input type="hidden" name="tagfield" 
value="<!-- TMPL_VAR NAME="tagfield" -->">
                                <input type="hidden" name="tagsubfield" 
value="<!-- TMPL_VAR NAME="tagsubfield" -->">
                                <input type="hidden" name="frameworkcode" 
value="<!-- TMPL_VAR NAME="frameworkcode" -->">
                                <input type="submit" value="JA">
                        </form>
                </td>
                <td>
                        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                                <input type="hidden" name="searchfield" 
value="<!-- TMPL_VAR NAME="searchfield" -->">
                                <input type="hidden" name="tagfield" 
value="<!-- TMPL_VAR NAME="tagfield" -->">
                                <input type="hidden" name="tagsubfield" 
value="<!-- TMPL_VAR NAME="tagsubfield" -->">
                                <input type="hidden" name="frameworkcode" 
value="<!-- TMPL_VAR NAME="frameworkcode" -->">
                                <input type="submit" value="NEIN">
                        </form>
                </td>
        </tr>
<!-- /TMPL_IF -->

<!-- TMPL_IF NAME="delete_confirmed" -->
<!-- ------------------------------------------------------------------------ 
-->
        Daten gel&ouml;scht
        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post"><input type="hidden" name="tagfield" value="<!-- TMPL_VAR 
NAME="tagfield" -->">
        <input type="submit" value="OK">
        </form>
<!-- /TMPL_IF -->

<!-- ------------------------------------------------------------------------ 
-->
<!-- TMPL_IF NAME="else" -->
<h1>MARC subfield structure admin for <!-- TMPL_VAR NAME="tagfield" --> 
(framework <!--TMPL_VAR NAME="frameworkcode" -->)</h1>
<p>This screen shows the subfields associated with the selected tag. You can 
edit subfields or add a new one by clicking on edit. </p>
<p>The column <b>Koha field</b> shows that the subfield is linked with a Koha 
field. Koha can manage a MARC interface, or a Koha interface. This link ensures 
that both DB are synchronized, thus you can change from a MARC to a Koha 
interface easily.</p>

<table>
<tr>
        <th>Subfield</th>
        <th>Texte</th>
        <th>Constraints</th>
        <th>L&ouml;schen</th>
<!-- TMPL_LOOP NAME="loop" -->
<tr<!-- TMPL_IF NAME="toggle" --> class="hilighted"<!-- /TMPL_IF -->>
        <td><!-- TMPL_VAR NAME="tagsubfield" --></td>
        <td>
                <!-- TMPL_IF NAME="subfield_ignored" -->
                        <i><!-- TMPL_VAR NAME="liblibrarian" --></i>
                <!-- TMPL_ELSE -->
                        <!-- TMPL_VAR NAME="liblibrarian" -->
                <!-- /TMPL_IF -->
        </td>
        <td>
                <!-- TMPL_IF NAME="subfield_ignored" -->
                        <i>subfield ignored</i>
                <!-- TMPL_ELSE -->
                        Tab :<!-- TMPL_VAR NAME="tab" -->,
                        <!-- TMPL_IF NAME="kohafield" -->Koha-Feld : <!-- 
TMPL_VAR NAME="kohafield" -->, <!--/TMPL_IF -->
                        <!-- TMPL_IF NAME="repeatable" -->Wiederholbar, <!-- 
TMPL_ELSE -->Nicht wiederholbar<!-- /TMPL_IF -->
                        <!-- TMPL_IF NAME="mandatory" -->Obligatorisch, <!-- 
TMPL_ELSE -->Nicht obligatorisch,<!-- /TMPL_IF -->
                        <!-- TMPL_IF NAME="seealso" -->siehe auch: <!-- 
TMPL_VAR NAME="seealso" --><!-- /TMPL_IF -->
                        <!-- TMPL_IF NAME="hidden" -->versteckt<!-- /TMPL_IF -->
                        <!-- TMPL_IF NAME="isurl" -->ist ein URL<!-- /TMPL_IF 
-->
                        <!-- TMPL_IF NAME="authorised_value" --> Auth value 
:<!-- TMPL_VAR NAME="authorised_value" -->,<!-- /TMPL_IF -->
                        <!-- TMPL_IF NAME="authtypecode" --> Authority :<!-- 
TMPL_VAR NAME="authtypecode" -->,<!-- /TMPL_IF -->
                        <!-- TMPL_IF NAME="value_builder" -->Plugin :<!-- 
TMPL_VAR NAME="value_builder" -->,<!-- /TMPL_IF -->
                        <!-- TMPL_IF NAME="link" -->Link:<!-- TMPL_VAR 
NAME="link" -->,<!-- /TMPL_IF -->
                <!-- /TMPL_IF -->
        </td>
        <td><a href="<!-- TMPL_VAR NAME="delete" -->"><img src="<!-- TMPL_VAR 
NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" 
width="32" hspace="0" vspace="0" border="0"></a></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<a href="<!-- TMPL_VAR NAME="script_name" -->?op=add_form&amp;tagfield=<!-- 
TMPL_VAR NAME="edit_tagfield" -->&amp;frameworkcode=<!-- TMPL_VAR 
NAME="edit_frameworkcode" -->"><img src="<!-- TMPL_VAR NAME="interface" 
-->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png"  width="32" hspace="0" 
vspace="0" border="0"></a>
<a href="marctagstructure.pl?searchfield=<!-- TMPL_VAR NAME="tagfield" 
-->&amp;frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" -->">
        <img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" 
-->/images/2uparrow.png" width="32" hspace="0" vspace="0" border="0">
</a>
<!-- TMPL_IF NAME="previous" -->
        <input type="image" src="<!-- TMPL_VAR NAME="interface" -->/<!-- 
TMPL_VAR NAME="theme" -->/images/1leftarrow.png" title="vorheriges" 
alt="vorheriges" border="0">
        </a><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="next" -->
        <!-- TMPL_VAR NAME="next" -->
                <input type="image" src="<!-- TMPL_VAR NAME="interface" 
-->/<!-- TMPL_VAR NAME="theme" -->/images/1rightarrow.png" title="next" 
alt="next" border="0">
        </a>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->

</div>

<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->

<div id="mainbloc">
<h1 class="parameters">MARC tag structure admin for <!-- TMPL_IF 
NAME="frameworkcode" --><!-- TMPL_VAR NAME="frameworktext" --> (<!-- TMPL_VAR 
NAME="frameworkcode" -->)<!-- TMPL_ELSE -->Default MARC Framework<!-- /TMPL_IF 
--></h1>
<script language="javascript" type="text/javascript">
        function _(s) { return s } // dummy function for gettext
        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        function isNotNull(f,noalert) {
                if (f.value.length ==0) {
   return false;
                }
                return true;
        }
        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        function toUC(f) {
                var x=f.value.toUpperCase();
                f.value=x;
                return true;
        }
        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        function isNum(v,maybenull) {
        var n = new Number(v.value);
        if (isNaN(n)) {
                return false;
                }
        if (maybenull==0 && v.value=='') {
                return false;
        }
        return true;
        }
        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        function isDate(f) {
                var t = Date.parse(f.value);
                if (isNaN(t)) {
                        return false;
                }
        }
        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        function Check(f) {
                var ok=1;
                var _alertString="";
                var alertString2;
                if (f.tagfield.value.length==0) {
                        _alertString += "\n- " + _("Tag-Nummer fehlt");
                }
                if (_alertString.length==0) {
                        document.Aform.submit();
                } else {
                        alertString2  = _("Form not submitted because of the 
following problem(s)");
                        alertString2 += 
"\n------------------------------------------------------------------------------------\n";
                        alertString2 += _alertString;
                        alert(alertString2);
                }
        }
        </script>

<!-- TMPL_IF NAME="add_form" -->
<!-- ------------------------------------------------------------------------ 
-->
        <h1 class="parameters">
        <!-- TMPL_IF NAME="use-heading-flags-p" -->
        <!-- TMPL_IF NAME="heading-modify-tag-p" -->Tag bearbeiten<!-- /TMPL_IF 
-->
        <!-- TMPL_IF NAME="heading-add-tag-p" -->Tag hinzuf&uuml;gen<!-- 
/TMPL_IF -->
        <!-- TMPL_ELSE --><!-- TMPL_VAR NAME="action" --><!-- /TMPL_IF -->
        </h1>
        <form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" 
method="post">
                <input type="hidden" name="op" value="add_validate">
                <input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR 
NAME="frameworkcode" -->">
                <p><label>Tag<label><!-- TMPL_VAR NAME="searchfield" --></p>
                <p><label>Anzeige f&uuml;r Bibliothekare</label><input 
type="text" name="liblibrarian" value="<!-- TMPL_VAR NAME="liblibrarian" 
escape=HTML -->" size="80" maxlength="100"></p>
                <p><label>Anzeige im OPAC</label><input type="text" 
name="libopac" value="<!-- TMPL_VAR NAME="libopac" escape=HTML -->" size="80" 
maxlength="100"></p>
                <p><label>Wiederholbar</label><!-- TMPL_VAR NAME="repeatable" 
--></p>
                <p><label>Obligatorisch</label><!-- TMPL_VAR NAME="mandatory" 
--></p>
                <p><label>Vorgabewert</label><!-- TMPL_VAR 
NAME="authorised_value" --> (if you select a value here, the indicators will be 
limited to the authorised value list)</p>
                <p><label>&nbsp;</label><input type="button" value="OK" 
class="button" onclick="Check(this.form)"></p>
        </form>
<!-- /TMPL_IF -->


<!-- TMPL_IF NAME="delete_confirm" -->
<!-- ------------------------------------------------------------------------ 
-->
<table>
        <tr>
                <td>Tag</td>
                <td><!-- TMPL_VAR NAME="searchfield" --></td>
        </tr>
        <tr><td>&nbsp;</td><td><!-- TMPL_VAR NAME="liblibrarian" --></td></tr>
        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post"><input type="hidden" name="op" value="delete_confirmed"><input 
type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" 
-->"><input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR 
NAME="frameworkcode" -->">
        <tr><td colspan="2" align="center">L&ouml;schen 
best&auml;tigen</td></tr>
        <tr><td><input type="submit" value="JA"></form></td><td><form 
action="<!-- TMPL_VAR NAME="script_name" -->" method="post"><input 
type="submit" value="NEIN"></form></td></tr>
<!-- /TMPL_IF -->

<!-- TMPL_IF NAME="delete_confirmed" -->
<!-- ------------------------------------------------------------------------ 
-->
        Daten gel&ouml;scht
        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post"><input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR 
NAME="frameworkcode" -->">
        <input type="submit" value="OK">
        </form>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="framework_create" -->
<!-- ------------------------------------------------------------------------ 
-->
        <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
                <input type="hidden" name="op" value="framework_create_confirm">
                <input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR 
NAME="frameworkcode" -->">
                Authority-Framework anlegen unter Verwendung von <!-- TMPL_VAR 
NAME="frameworkcode" --> (<!-- TMPL_VAR NAME="frameworktext" -->) 
                <select name="existingframeworkcode">
                        <option value="">Default</option>
                <!-- TMPL_LOOP NAME="existingframeworkloop" -->
                        <option value="<!-- TMPL_VAR NAME="value" -->"><!-- 
TMPL_VAR NAME="frameworktext" --></option>
                <!-- /TMPL_LOOP -->
                </select>
                <input type="submit" value="OK" class="button">
        </form>
<!-- /TMPL_IF -->

<!-- ------------------------------------------------------------------------ 
-->
<!-- TMPL_IF NAME="else" -->
<div id="bloc25">
<h2 class="parameters">Framework ausw%auml;hlen</h2>
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
        <select name="frameworkcode">
                <option value="">Default</option>
        <!-- TMPL_LOOP NAME="frameworkloop" -->
                <option value="<!-- TMPL_VAR NAME="value" -->" <!-- TMPL_IF 
NAME="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="frameworktext" 
--></option>
        <!-- /TMPL_LOOP -->
        </select>
        <input type="text" name="searchfield" value="<!-- TMPL_VAR 
NAME="searchfield" -->">
        <input type="submit" value="OK" class="button">
</form>
<b>NOTE : if you change the link between a MARC subfield and a non-MARC field, 
ask your administrator to run misc/rebuildnonmarc.pl script.</b>
</div>
<div id="bloc100">
        <table>
        <tr>
                <th>Tag</th>
                <th>Wert</th>
                <th>Wiederholbar</th>
                <th>Obligatorisch</th>
                <th>Authorised<br />value</th>
                <th>Subfields</th>
                <th>Bearbeiten</th>
                <th>L&ouml;schen</th>
        <!-- TMPL_LOOP NAME="loop" -->
        <tr valign="top" bgcolor="<!-- TMPL_VAR NAME="bgcolor" -->">
                <td><b><!-- TMPL_VAR NAME="tagfield" --></b></td>
                <td><!-- TMPL_VAR NAME="liblibrarian" --></td>
                <td><!-- TMPL_IF NAME="repeatable" -->Ja<!-- TMPL_ELSE 
-->Nein<!-- /TMPL_IF --></td>
                <td><!-- TMPL_IF NAME="mandatory" -->Ja<!-- TMPL_ELSE 
-->Nein<!-- /TMPL_IF --></td>
                <td><!-- TMPL_VAR NAME="authorised_value" --></td>
                <td><a href="<!-- TMPL_VAR NAME="subfield_link" -->" 
class="button">subfields</a></td>
                <td><a href="<!-- TMPL_VAR NAME="edit" -->"><img src="<!-- 
TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" 
-->/images/fileopen.png"  width="32" hspace="0" vspace="0" border="0"></a></td>
                <td><a href="<!-- TMPL_VAR NAME="delete" -->"><img src="<!-- 
TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" 
-->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0"></a></td>
        </tr>
        <!-- /TMPL_LOOP -->
        <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
        <input type="hidden" name="op" value="add_form">
        </table>
        <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
                <input type="hidden" name="op" value="add_form">
        <input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR 
NAME="frameworkcode" -->">
                <input type="submit" class="button" value="Feldkennung 
hinzuf&uuml;gen" title="Feldkennung hinzuf&uuml;gen" alt="Feldkennung 
hinzuf&uuml;gen">
                <!-- TMPL_IF NAME="isprevpage" -->
                        <a href="<!-- TMPL_VAR NAME="script_name" 
-->?offset=<!-- TMPL_VAR NAME="prevpage" -->&amp;searchfield=<!-- TMPL_VAR 
NAME="searchfield" -->">
                        <input type="image" src="<!-- TMPL_VAR NAME="interface" 
-->/<!-- TMPL_VAR NAME="theme" -->/images/1leftarrow.png" title="vorheriges" 
alt="vorheriges" border="0">
                        </a>
                <!-- /TMPL_IF -->
                <!-- TMPL_IF NAME="nextpage" -->
                        <a href="<!-- TMPL_VAR NAME="script_name" 
-->?offset=<!-- TMPL_VAR NAME="nextpage" -->&amp;searchfield=<!-- TMPL_VAR 
NAME="searchfield" -->">
                                <input type="image" src="<!-- TMPL_VAR 
NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/1rightarrow.png" 
title="next" alt="next" border="0">
                        </a>
                <!-- /TMPL_IF -->
        </form>
</div>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->

<div id="mainbloc">
                <h1>Druckeradministration</h1>
        <!-- TMPL_IF NAME="add_form" -->
                        <script language="javascript" type="text/javascript">
                function _(s) { return s } // dummy function for gettext
                        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                        function isNotNull(f,noalert) {
                                        if (f.value.length ==0) {
        return false;
                                        }
                                        return true;
                        }
                        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                        function toUC(f) {
                                        var x=f.value.toUpperCase();
                                        f.value=x;
                                        return true;
                        }
                        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                        function isNum(v,maybenull) {
                        var n = new Number(v.value);
                        if (isNaN(n)) {
                                        return false;
                                        }
                        if (maybenull==0 && v.value=='') {
                                        return false;
                        }
                        return true;
                        }
                        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                        function isDate(f) {
                                        var t = Date.parse(f.value);
                                        if (isNaN(t)) {
                                                        return false;
                                        }
                        }
                        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                        function Check(f) {
                                        var ok=1;
                                        var _alertString="";
                                        var alertString2;
                                        if (f.printername.value.length==0) {
                                                        _alertString += "\n- " 
+ _("Druckername fehlt ");
                                        }
                                        if (f.printqueue.value.length==0) {
                                                        _alertString += "\n- " 
+ _("Queue fehlt");
                                        }
                                        if (_alertString.length==0) {
                                                        document.Aform.submit();
                                        } else {
                                                        alertString2  = _("Form 
not submitted because of the following problem(s)");
                                                        alertString2 += 
"\n------------------------------------------------------------------------------------\n";
                                                        alertString2 += 
_alertString;
                                                        alert(alertString2);
                                        }
                        }
                        </script>
        <div id="bloc25">
                <!-- TMPL_IF NAME="searchfield" -->
                        <h2 class="parameters">Drucker bearbeiten</h2>
                <!-- TMPL_ELSE -->
                        <h2 class="parameters">Drucker hinzuf&uuml;gen</h2>
                <!-- /TMPL_IF -->
        
                        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
name="Aform" method="post">
                                <input type="hidden" name="op" 
value="add_validate">
                                <!-- TMPL_IF NAME="searchfield" -->
                                                
<p><label>Druckername</label><input type="hidden" name="printername" 
value="<!-- TMPL_VAR NAME="searchfield" -->"><!-- TMPL_VAR NAME="searchfield" 
--></p>
                                <!-- TMPL_ELSE -->
                                                
<p><label>Druckername</label><input type="text" name="printername" size="50" 
maxlength="50"></p>
                                <!-- /TMPL_IF -->
                                <p><label>Queue</label><input type="text" 
name="printqueue" size="50" maxlength="50" value="<!-- TMPL_VAR 
NAME="printqueue" -->"> </p>
                                <p><label>Typ</label><input type="text" 
name="printtype" size="50" maxlength="50" value="<!-- TMPL_VAR NAME="printtype" 
-->"> </p>
                                <p><input type="button" value="OK" 
onclick="Check(this.form)" class="button"></p>
                        </form>
        </div>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="add_validate" -->
                Daten gespeichert
                        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                        <input type="submit" value="OK" class="button">
                        </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="delete_confirm" -->
                <table border="0" cellspacing="0" cellpadding="5">
                        <tr bgcolor="#99cc33">
                                <td 
background="/images/background-mem.gif"><b>Drucker</b></td>
                                <td 
background="/images/background-mem.gif"><b><!-- TMPL_VAR NAME="searchfield" 
--></b></td>
                        </tr>
        
                                <form action="<!-- TMPL_VAR NAME="script_name" 
-->" method="post">
                                <input type="hidden" name="op" 
value="delete_confirmed">
                                <input type="hidden" name="searchfield" 
value="<!-- TMPL_VAR NAME="searchfield" -->">
                        
                        <tr>
                                <td>Queue</td>
                                <td><!-- TMPL_VAR NAME="printqueue" --></td>
                        </tr>
                                <tr>
                                <td>Typ</td>
                                <td><!-- TMPL_VAR NAME="printtype" --></td>
                        </tr>
                                <tr>
                                <td colspan="2" align="center">L&ouml;schen 
best&auml;tigen</td>
                        </tr>
                                <tr>
                                <td>
                                        <input type="submit" value="JA">
                                        </form>
                                </td>
                                <td>
                                        <form action="<!-- TMPL_VAR 
NAME="script_name" -->" method="post">
                                        <input type="submit" value="NEIN">
                                        </form>
                                </td>
                        </tr>
                </table>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="delete_confirmed" -->
                Daten gel&ouml;scht
                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                        <input type="submit" value="OK">
                </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="else" -->
                        <form action="<!-- TMPL_VAR NAME="script_name">" 
method="post">
                                        <input type="text" name="description" 
value="<!-- TMPL_VAR NAME="searchfield" -->">
                                        <input type="reset" name="reset" 
value="l&ouml;schen">
                        </form>
        
                <!-- TMPL_IF NAME="searchfield" -->
                        You searched for <b><!-- TMPL_VAR NAME="searchfield" 
--></b>
                <!-- /TMPL_IF -->
        
                <table border="0" cellspacing="0" cellpadding="5">
                        <tr bgcolor="#99cc33">
                                <td 
background="/images/background-mem.gif"><b>Name</b></td>
                                <td 
background="/images/background-mem.gif"><b>Queue</b></td>
                                <td 
background="/images/background-mem.gif"><b>Typ</b></td>
                                <td background="/images/background-mem.gif"> 
</td>
                                <td background="/images/background-mem.gif"> 
</td>
                        </tr>
                        <!-- TMPL_LOOP NAME="loop" -->
                        <tr bgcolor="<!-- TMPL_VAR NAME="toggle" -->">
                                <td><!-- TMPL_VAR NAME="printername" --></td>
                                <td><!-- TMPL_VAR NAME="printqueue" --></td>
                                <td><!-- TMPL_VAR NAME="printtype" --></td>
                                <td><a href="<!-- TMPL_VAR NAME="script_name" 
-->?op=add_form&amp;searchfield=<!-- TMPL_VAR NAME="printername" -->" 
class="button">Bearbeiten</a></td>
                                                        <td><a href="<!-- 
TMPL_VAR NAME="script_name" -->?op=delete_confirm&amp;searchfield=<!-- TMPL_VAR 
NAME="printername" -->" class="button">L&ouml;schen</a></td>
                        </tr>
                        <!-- /TMPL_LOOP -->
                </table>
        
                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                        <input type="hidden" name="op" value="add_form">
                
                <!-- TMPL_IF NAME="offsetgtzero" -->
                        <a href="<!-- TMPL_VAR NAME="script_name" 
-->?offset=<!-- TMPL_VAR NAME="prevpage" -->">&lt;&lt; Prev</a>
                <!-- /TMPL_IF -->
        
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        
                <!-- TMPL_IF NAME="ltcount" -->
                        <a href="<!-- TMPL_VAR NAME="script_name" 
-->?offset=<!-- TMPL_VAR NAME="nextpage" -->">N&auml;chster &gt;&gt;</a>      
                <!-- /TMPL_iF -->
        
                        <br>
                <input type="submit" class="button" value="Drucker 
hinzuf&uuml;gen" alt="Drucker hinzuf&uuml;gen">
                <br>
                        </form>
        
        <!-- /TMPL_IF -->
</div>

<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->
<div id="mainbloc">
        <!-- TMPL_IF NAME="add_form" -->
                <script language="javascript" type="text/javascript">
                        function _(s) { return s } // dummy function for gettext
                        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                        function isNotNull(f,noalert) {
                                        if (f.value.length ==0) {
                                                return false;
                                        }
                                        return true;
                        }
                        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                        function toUC(f) {
                                var x=f.value.toUpperCase();
                                f.value=x;
                                return true;
                        }
                        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                        function isNum(v,maybenull) {
                        var n = new Number(v.value);
                        if (isNaN(n)) {
                                        return false;
                                        }
                        if (maybenull==0 && v.value=='') {
                                        return false;
                        }
                        return true;
                        }
                        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                        function isDate(f) {
                                        var t = Date.parse(f.value);
                                        if (isNaN(t)) {
                                                        return false;
                                        }
                        }
                        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                        function Check(f) {
                                        var ok=1;
                                        var _alertString="";
                                        var alertString2;
                                        if (f.word.value.length==0) {
                                                        _alertString += "\n- " 
+ _("Wort fehlt");
                                        }
                                        if (_alertString.length==0) {
                                                        document.Aform.submit();
                                        } else {
                                                        alertString2  = _("Form 
not submitted because of the following problem(s)");
                                                        alertString2 += 
"\n------------------------------------------------------------------------------------\n";
                                                        alertString2 += 
_alertString;
                                                        alert(alertString2);
                                        }
                        }
                        </script>
        
                        <!-- TMPL_IF NAME="searchfield" -->
                                        <h1>Wort bearbeiten</h1>
                        <!-- TMPL_ELSE -->
                                        <h1>Wort hinzugef&uuml;gt</h1>
                        <!-- /TMPL_IF -->
                        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
name="Aform" method="post">
                        <input type="hidden" name="op" value="add_validate">
                        <!-- TMPL_IF NAME="searchfield" -->
                                <p>
                                        <label>Wort</label>
                                        <label>
                                                <input type="hidden" 
name="word" value="<!-- TMPL_VAR NAME="searchfield" -->"><!-- TMPL_VAR 
NAME="searchfield" -->
                                        </label>
                                </p>
                        <!-- TMPL_ELSE -->
                                <p>
                                        <label>Wort</label>
                                        <input type="text" name="word" 
size="80" maxlength="250" onblur="toUC(this)">
                                </p>
                        <!-- /TMPL_IF -->
                                        <p>
                                                <td><input type="button" 
value="OK" onclick="Check(this.form)" class="button"></td>
                                        </p>
                        </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="add_validate" -->
                        Daten gespeichert
                        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                        <input type="submit" value="OK">
                        </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="delete_confirm" -->
                <p>L&Ouml;SCHEN von <!-- TMPL_VAR NAME="searchfield" --> 
BEST&Auml;TIGEN</p>
                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                        <input type="hidden" name="op" value="delete_confirmed">
                        <input type="hidden" name="searchfield" value="<!-- 
TMPL_VAR NAME="searchfield" -->">
                        <input type="submit" value="JA" class="button">
                </form>
                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                        <input type="submit" value="NEIN" class="button">
                </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="delete_confirmed" -->
                        Daten gel&ouml;scht
                        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                                        <input type="submit" value="OK" 
class="button">
                        </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="else" -->
                <h1 class="parameters">Verwaltung Stopwortliste</h1>
                <b>ACHTUNG : &Auml;ndern Sie etwas in dieser Tabelle, mu&szlig; 
Ihr Administrator das Skript misc/rebuildnonmarc.pl ausf&uuml;hren.</b>
                        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                                        <input type="text" name="searchfield" 
value="<!-- TMPL_VAR NAME="searchfield" -->">
                                        <input type="submit" name="ok" 
value="OK" class="button">
                        </form>
        
                        <!-- TMPL_IF NAME="searchfield" -->
                                        You searched for <b><!-- TMPL_VAR 
NAME="searchfield" --></b>
                        <!-- /TMPL_IF -->
        
                        <table class="small">
                                <tr>
                                        <th>Wort</th>
                                        <th> </th>
                                </tr>
                                <!-- TMPL_LOOP NAME="loop" -->
                                        <tr bgcolor="<!-- TMPL_VAR 
NAME="toggle" -->">
                                                <td><!-- TMPL_VAR NAME="word" 
--></td>
                                                <td><a href="<!-- TMPL_VAR 
NAME="script_name" -->?op=delete_confirm&amp;searchfield=<!-- TMPL_VAR 
NAME="word" -->" class="button">L&ouml;schen</a></td>
                                        </tr>
                                <!-- /TMPL_LOOP -->
                        </table>
                        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                                <input type="hidden" name="op" value="add_form">
                                <!-- TMPL_IF NAME="offsetgtzero" -->
                                                <a href="<!-- TMPL_VAR 
NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="prevpage" -->" 
class="button">&lt;&lt; Prev</a>
                                <!-- /TMPL_IF -->
                                <!-- TMPL_IF NAME="ltcount" -->
                                        <a href="<!-- TMPL_VAR 
NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="nextpage" -->" 
class="button">N&auml;chster &gt;&gt;</a>
                                <!-- /TMPL_iF -->
                                <input type="submit" class="button" 
value="Stopwort hinzuf&uuml;gen" alt="Stopwort hinzuf&uuml;gen">
                        </form>
        <!-- /TMPL_IF -->
</div>

<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->
<div id="mainbloc">
        <script language="JavaScript" type="text/javascript">
                function _(s) { return s } // dummy function for gettext
                //
                function isNotNull(f,noalert) {
                        if (f.value.length ==0) {
        return false;
                        }
                        return true;
                }
                //
                function toUC(f) {
                        var x=f.value.toUpperCase();
                        f.value=x;
                        return true;
                }
                //
                function isNum(v,maybenull) {
                var n = new Number(v.value);
                if (isNaN(n)) {
                        return false;
                        }
                if (maybenull==0 && v.value=='') {
                        return false;
                }
                return true;
                }
                //
                function isDate(f) {
                        var t = Date.parse(f.value);
                        if (isNaN(t)) {
                                return false;
                        }
                }
                //
                function Check(f) {
                        var ok=1;
                        var _alertString="";
                        var alertString2;
                        if (f.variable.value.length==0) {
                                _alertString += "\n- " + _("variable missing");
                        }
                        if (f.value.value.length==0) {
                                _alertString += "\n- " + _("value missing");
                        }
                        if (_alertString.length==0) {
                                document.Aform.submit();
                        } else {
                                alertString2  = _("Form not submitted because 
of the following problem(s)");
                                alertString2 += 
"\n------------------------------------------------------------------------------------\n";
                                alertString2 += _alertString;
                                alert(alertString2);
                        }
                }
                </script>
        
        <!-- TMPL_IF NAME="add_form" -->
        
                <!-- TMPL_IF NAME="modify" -->
                        <h1>Systemwert bearbeiten</h1>
                <!-- TMPL_ELSE -->
                        <h1>Systemwert hinzuf&uuml;gen</h1>
                <!-- /TMPL_IF -->
                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
name="Aform" method="post">
                <div id="bloc25">
                        <h2 class="parameters"><input type="text" 
name="explanation" size="60" value="<!-- TMPL_VAR NAME="explanation" 
escape="HTML" -->"></h2>
                        <input type="hidden" name="op" value="add_validate">
                        <p>
                        <!-- TMPL_IF NAME="searchfield" -->
                                <label>Variable</label><!-- TMPL_VAR 
NAME="searchfield" --><input type="hidden" name="variable" value="<!-- TMPL_VAR 
NAME="searchfield" -->">
                        <!-- TMPL_ELSE -->
                                <label>Variable</label><input type="text" 
name="variable" size="60">
                        <!-- /TMPL_IF -->
                        </p>
                        <p><label>Wert</label>
                                <!-- TMPL_IF NAME="type-free" -->
                                        <input type="text" name="value" 
value="<!-- TMPL_VAR NAME="value" escape="HTML" -->" size="<!-- TMPL_VAR 
NAME="fieldlength" -->">
                                <!-- /TMPL_IF -->
                                <!-- TMPL_IF NAME="type-textarea" -->
                                        <textarea name="value" 
rows="<!--TMPL_VAR NAME="rows" -->" cols="<!-- TMPL_VAR NAME="cols" -->"><!-- 
TMPL_VAR NAME="value" escape="HTML" --></textarea>
                                <!-- /TMPL_IF -->
                                <!-- TMPL_IF NAME="type-choice" -->
                                        <select name="value">
                                                <!-- TMPL_LOOP NAME="options" 
-->
                                                        <option value="<!-- 
TMPL_VAR NAME="option" -->" <!-- TMPL_IF NAME="selected" -->selected<!-- 
/TMPL_IF -->><!-- TMPL_VAR NAME="option" --></option>
                                                <!-- /TMPL_LOOP -->
                                        </select>
                                <!-- /TMPL_IF -->
                                <!-- TMPL_IF NAME="type-yesno" -->
                                        <input type="radio" name="value" 
value="1"<!-- TMPL_IF NAME="value-yes" --> checked<!-- /TMPL_IF -->>Ja <input 
type="radio" name="value" value="0"<!-- TMPL_IF NAME="value-no" --> checked<!-- 
/TMPL_IF -->>Nein
                                <!-- /TMPL_IF -->
        
                        </p>
                        <p><label>&nbsp;</label><input type="submit" value="OK" 
class="button"></p>
                </div>
                <div id="bloc25">
                        <h2 class="parameters">Koha intern (es besthet keine 
Notwendikeit zur &Auml;nderung der folgenden Defaultwerte</h2>
                        <p>Variable type: <input type="text" name="preftype" 
value="<!--TMPL_VAR NAME="preftype" -->" size="40" maxlength="40"> (Choice, 
YesNo,Integer,Textarea,Float,Themes,Languages)</p>
                        Variable options :<input type="text" name="prefoptions" 
value="<!-- TMPL_VAR NAME="prefoptions" -->" size="80" maxlength="80"> (choice 
list for Choice (separated by |) and cols|rows for Texarea)
                </div>
                </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="add_validate" -->
        
                Daten gespeichert
                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                <input type="submit" value="OK">
                </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="delete_confirm" -->
        
        <table border="0" cellspacing="0" cellpadding="2">
                <tr valign="top" bgcolor="#99cc33">
                        <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b>Variable</b></td>
                        <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b><!-- TMPL_VAR NAME="searchfield" --></b></td>
                </tr>
                <tr><td>Wert</td><td><!-- TMPL_VAR NAME="Tvalue" --></td></tr>
                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post"><input type="hidden" name="op" value="delete_confirmed"><input 
type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->">
                <tr><td colspan="2" align="center">L&ouml;schen 
best&auml;tigen</td></tr>
                <tr><td><input type="submit" value="JA"></form></td><td><form 
action="<!-- TMPL_VAR NAME="script_name" -->" method="post"><input 
type="submit" value="NEIN"></form></td></tr>
        </table>
        
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="delete_confirmed" -->
        
                Daten gel&ouml;scht
                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                <input type="submit" value="OK">
                </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="else" -->
        <h1>Systemvorgaben Administration</h1>
        <form action="/cgi-bin/koha/admin/systempreferences.pl" method="post">
                <input type="text" name="searchfield" value="">
                <input type="reset" name="reset" value="l&ouml;schen">
        </form>
        <!-- TMPL_VAR NAME="searchfield" -->
        <table border="0" cellspacing="0" cellpadding="2">
        <tr valign="top" bgcolor="#99cc33">
                <th>Variable</th>
                <th>Wert</th>
                <th colspan="3">Erkl&auml;rung</th>
        </tr>
        <!-- TMPL_LOOP NAME="loop" -->
        <!-- TMPL_IF NAME="toggle" --><tr valign="top" class="hilighted"><!-- 
TMPL_ELSE --><tr valign="top"><!-- /TMPL_IF -->
                <td><!-- TMPL_VAR NAME="variable" --></td>
                <td><!-- TMPL_VAR NAME="value" --></td>
                <td><!-- TMPL_VAR NAME="explanation" --></td>
                <td><a href="<!-- TMPL_VAR NAME="edit" -->"><img src="<!-- 
TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" 
-->/images/fileopen.png"  width="32" hspace="0" vspace="0" 
border="0"><br>Bearbeiten</a></td>
                <td><a href="<!-- TMPL_VAR NAME="delete" -->"><img src="<!-- 
TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" 
-->/images/edittrash.png" width="32" hspace="0" vspace="0" 
border="0"><br>L&ouml;schen</a></td>
        </tr>
        <!-- /TMPL_LOOP -->
        <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
        <input type="hidden" name="op" value="add_form">
        </table>
        <table width="40%">
                <tr>
                        <td width="50%"><!-- TMPL_VAR NAME="previous" --></td>
                        <td width="50%"><!-- TMPL_VAR NAME="next" --></td>
                </tr>
        </table>
        </form>
        
        <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
                <input type="hidden" name="op" value="add_form">
                <input type="submit" class="button" value="Systemwert 
hinzuf&uuml;gen">
        </form>
        
        <!-- /TMPL_IF -->
</div>

<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->
<div id="mainbloc">
<!-- TMPL_IF NAME="detail_form" -->
        <!-- ---------------------------------------------------------------- 
-->
        <font size="6"><em>Thesaurus-Management</em></font><br />
        <table border="0" cellspacing="0" cellpadding="2">
        <tr valign="top" bgcolor="#99cc33">
                <td  background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b>Werte bezogen auf <!-- TMPL_VAR NAME="stdlib" 
--> (<!-- TMPL_VAR NAME="category" -->)</b></td>
        </tr>
        </table>
        <br/><br/>
        <table border="0" cellspacing="0" cellpadding="2">
        <tr valign="top" bgcolor="#99cc33">
                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b>Andere Form</b></td>
                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif">&nbsp;</td>
                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif">&nbsp;</td>
        <!-- TMPL_LOOP NAME="loop" -->
        </tr valign="top" bgcolor="<!-- TMPL_VAR NAME="bgcolor" -->">
                <td><!-- TMPL_VAR NAME="freelib" --></td>
                <td><a href="<!-- TMPL_VAR NAME="edit" -->">Bearbeiten</a></td>
                <td><a href="<!-- TMPL_VAR NAME="delete" 
-->">L&ouml;schen</a></td>
        </tr>
        <!-- /TMPL_LOOP -->
        <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
        <input type="hidden" name="op" value="add_form">
        </table>
        <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
        <input type="hidden" name="op" value="add_form">
        <input type="hidden" name="category" value="<!-- TMPL_VAR 
NAME="category" -->">
        <input type="hidden" name="stdlib" value="<!-- TMPL_VAR NAME="stdlib" 
-->">
        <br><input type="image" src="<!-- TMPL_VAR NAME="interface" -->/<!-- 
TMPL_VAR NAME="theme" -->/images/filenew.png" title="Thesauruseintrag 
hinzuf&uuml;gen" alt="Hinzuf&uuml;gen" border="0"><br>
        </form>
<!-- /TMPL_IF -->

<!-- TMPL_IF NAME="add_form" -->
<!-- ------------------------------------------------------------------------ 
-->
<h1><!-- TMPL_IF NAME="search_category" -->&Auml;ndern<!-- TMPL_ELSE 
-->Hinzuf&uuml;gen<!-- /TMPL_IF --></h1>
        <form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" 
method="post">
        <!-- TMPL_IF NAME="search_category" -->
                <input type="hidden" name="op" value="mod_validate">
        <!-- TMPL_ELSE -->
                <input type="hidden" name="op" value="add_validate">
        <!-- /TMPL_IF -->
        <table cellpadding="3" cellspacing="3">
        <tr>
                <td>Kategorie</td>
                <td><!-- TMPL_VAR NAME="category" --></td>
        </tr>
        <tr>
                <td>Authority lib</td>
                <!-- TMPL_IF NAME="id" -->
                        <td><!-- TMPL_VAR NAME="father" --><!-- TMPL_VAR 
NAME="stdlib" --><input type="hidden" name="stdlib" value="<!-- TMPL_VAR 
NAME="stdlib" -->" ></td>
                <!-- TMPL_ELSE -->
                        <td><!-- TMPL_VAR NAME="father" --><input type="text" 
name="stdlib" value="<!-- TMPL_VAR NAME="stdlib" escape=HTML -->" 
maxlength="80" size="80"></td>
                <!-- /TMPL_IF -->
        </tr>
        <tr>
                <td>Other lib</td>
                <td><!-- TMPL_VAR NAME="father" --><input type="text" 
name="freelib" value="<!-- TMPL_VAR NAME="freelib" escape=HTML -->" 
maxlength="80" size="80"></td>
        </tr>
        <tr>
                <td>&nbsp;</td>
                <td><input type="hidden" name="id" value="<!-- TMPL_VAR 
NAME="id" -->">
                        <input type="hidden" name="father" value="<!-- TMPL_VAR 
NAME="father" escape=HTML -->">
                        <input type="hidden" name="branch" value="<!-- TMPL_VAR 
NAME="branch" escape=HTML -->">
                        <input type="hidden" name="search_category" value="<!-- 
TMPL_VAR NAME="search_category" -->">
                        <input type="hidden" name="searchstring" value="<!-- 
TMPL_VAR NAME="searchstring" escape=HTML -->">
                        <input type="hidden" name="offset" value="<!-- TMPL_VAR 
NAME="offset" -->">
                        <input type="submit" value="OK"></td>
        </tr>
        </table>
        </form>
<!-- /TMPL_IF -->


<!-- TMPL_IF NAME="delete_confirm" -->
<!-- ------------------------------------------------------------------------ 
-->
        <table border="0" cellspacing="0" cellpadding="2">
                <tr valign="top" bgcolor="#99cc33">
                        <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b>lib</b></td>
                        <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b><!-- TMPL_VAR NAME="search_category" 
--></b></td>
                </tr>
                <tr><td>Wert</td><td><!-- TMPL_VAR NAME="Tvalue" --></td></tr>
                <tr><td>
                        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                                <input type="hidden" name="op" 
value="delete_confirmed">
                                <input type="hidden" name="id" value="<!-- 
TMPL_VAR NAME="id" -->">
                                <input type="hidden" name="search_category" 
value="<!-- TMPL_VAR NAME="search_category" -->">
                </tr></td>
                <tr><td colspan="2" align="center">L&Ouml;SCHUNG DIESES 
EINTRAGS BEST&Auml;TIGEN <b>and all entries depending on this one</b></td></tr>
                <tr><td><input type="submit" value="JA"></form></td>
                                <td><form action="<!-- TMPL_VAR 
NAME="script_name" -->" method="post"><input type="submit" 
value="NEIN"></form></td></tr>
        </table>
<!-- /TMPL_IF -->

<!-- ------------------------------------------------------------------------ 
-->
<!-- TMPL_IF NAME="else" -->
        <h1>Thesaurus-Management</h1>
        <p>Management von Thesauri und Normdateien<br />
        <ul>
                <b>Dig</b>: see data depending on this one<br />
                <b>Related</b>: see other forms of this authority entry</p>
        </ul>
        <form action="/cgi-bin/koha/admin/thesaurus.pl" method="post">
                <!-- TMPL_VAR NAME="tab_list" -->
                <input type="text" name="searchstring" value="<!-- TMPL_VAR 
NAME="searchstring" -->">
                <input type="submit" value="OK" class="button parameters">
                <a href="thesaurus.pl?op=add_form" class="button 
parameters">Neue Kategorie...</a>
        </form>
        <!-- TMPL_LOOP NAME="hierarchy_loop" -->
                <a href="thesaurus.pl?branch=<!-- TMPL_VAR NAME="branch" 
-->&amp;search_category=<!-- TMPL_VAR NAME="category" -->"><!-- TMPL_VAR 
NAME="string" --></a><br />
        <!-- /TMPL_LOOP -->
        <table border="0" cellspacing="0" cellpadding="0">
        <tr valign="top" bgcolor="#99cc33">
                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif" width="5%">&nbsp;</td>
                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b>Free form</b></td>
                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif"><b>Authority</b></td>
                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif" width="5%"><b>Dig</b></td>
                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif" width="10%"><b>Related</b></td>
                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif" width="5%"><b>Bearbeiten</b></td>
                <td background="<!-- TMPL_VAR NAME="themelang" 
-->/images/background-mem.gif" width="5%"><b>L&ouml;schen</b></td>
        <!-- TMPL_LOOP NAME="loop" -->
        </tr valign="top" bgcolor="<!-- TMPL_VAR NAME="bgcolor" -->">
                <td>&nbsp;</td>
                <td><!-- TMPL_VAR NAME="freelib" --></td>
                <td><!-- TMPL_VAR NAME="father" --> <!-- TMPL_VAR NAME="stdlib" 
--></td>
                <td><!-- TMPL_VAR NAME="dig" -->Dig</a>&nbsp;&nbsp;</td>
                <td><!-- TMPL_VAR NAME="related" -->Related</a></td>
                <td><a href="<!-- TMPL_VAR NAME="edit" -->"><img src="<!-- 
TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" 
-->/images/fileopen.png"  width="32" hspace="0" vspace="0" border="0"></a></td>
                <td><a href="<!-- TMPL_VAR NAME="delete" -->"><img src="<!-- 
TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" 
-->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0"></a></td>
        </tr>
        <!-- /TMPL_LOOP -->
        <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
        <input type="hidden" name="op" value="add_form">
        </table>
        <p>
                <a href="<!-- TMPL_VAR NAME="previous" -->" class="button 
parameters">Vorheriger</a> <a href="<!-- TMPL_VAR NAME="next" -->" 
class="button parameters"> N&auml;chster</a>
                </tr>
        </p>
        <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
        <input type="hidden" name="op" value="add_form">
        <input type="hidden" name="category" value="<!-- TMPL_VAR 
NAME="category" -->">
        <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" 
-->">
        <input type="hidden" name="father" value="<!-- TMPL_VAR NAME="father" 
-->">
        <br><input type="submit" class="button" value="Hinzuf&uuml;gen" 
title="Thesaurus-Eintrag hinzuf&uuml;gen" alt="Thesaurus-Eintrag 
hinzuf&uuml;gen"><br>
        </form>


<!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->
<div id="mainbloc">
        <!-- TMPL_IF NAME="add_form" -->
                <script language="javascript" type="text/javascript">
                        function _(s) { return s } // dummy function for gettext
                        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                        function isNotNull(f,noalert) {
                                        if (f.value.length ==0) {
                                                return false;
                                        }
                                        return true;
                        }
                        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                        function toUC(f) {
                                        var x=f.value.toUpperCase();
                                        f.value=x;
                                        return true;
                        }
                        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                        function isNum(v,maybenull) {
                        var n = new Number(v.value);
                        if (isNaN(n)) {
                                        return false;
                                        }
                        if (maybenull==0 && v.value=='') {
                                        return false;
                        }
                        return true;
                        }
                        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                        function isDate(f) {
                                        var t = Date.parse(f.value);
                                        if (isNaN(t)) {
                                                return false;                   
    
                                        }
                        }
                        
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                        function Check(f) {
                                        var ok=1;
                                        var _alertString="";
                                        var alertString2;
                                        if (f.searchfield.value.length==0) {
                                                        _alertString += "\n- " 
+ _("Sitename fehlt");
                                        }
                                        if (f.host.value.length==0) {
                                                        _alertString += "\n- " 
+ _("Host fehlt");
                                        }
                                        if (f.port.value.length==0) {
                                                        _alertString += "\n- " 
+ _("Port fehlt");
                                        }
                                        if (f.db.value.length==0) {
                                                        _alertString += "\n- " 
+ _("Datenbank fehlt");
                                        }
                                        if (isNaN(f.port.value)) {
                                                        _alertString += "\n- " 
+ _("Port mu&szlig; eine Zahl sein");
                                        }
                                        if (isNaN(f.rank.value)) {
                                                        _alertString += "\n- " 
+ _("Rang mu&szlig; eine Zahl sein");
                                        }
                                        if (isNaN(f.checked.value) || 
f.checked.value<0 || f.checked.value>1) {
                                                        _alertString += "\n- " 
+ _("checked must be 0 or 1");
                                        }
                                        if (_alertString.length==0) {
                                                        document.Aform.submit();
                                        } else {
                                                        alertString2  = _("Form 
not submitted because of the following problem(s)");
                                                        alertString2 += 
"\n------------------------------------------------------------------------------------\n";
                                                        alertString2 += 
_alertString;
                                                        alert(alertString2);
                                        }
                        }
                </script>
                <!-- TMPL_IF NAME="searchfield" -->
                                <h1>Z39.50-Server &auml;ndern</h1>
                <!-- TMPL_ELSE -->
                                <h1>Z39.50-Server hinzuf&uuml;gen</h1>
                <!-- /TMPL_IF -->
                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
name="Aform" method="post">
                        <input type="hidden" name="op" value="add_validate">
                        <!-- TMPL_IF NAME="searchfield" -->
                                <p>
                                        <label class="label100">Z39.50 
Server</label>
                                        <input type="hidden" name="searchfield" 
value="<!-- TMPL_VAR NAME="searchfield" -->"><!-- TMPL_VAR NAME="searchfield" 
-->
                                </p>
                        <!-- TMPL_ELSE -->
                                <p>
                                        <label class="label100">Z39.50 
Server</label>
                                        <input type="text" name="searchfield" 
size="100" maxlength="100" onblur="toUC(this)">
                                </p>
                        <!-- /TMPL_IF -->
                        <p>
                                <label class="label100">Hostname</label>
                                <input type="text" name="host" size="30" 
value="<!-- TMPL_VAR NAME="host" -->">
                        </p>
                        <p>
                                <label class="label100">Port</label>
                                <input type="text" name="port" size="5" 
value="<!-- TMPL_VAR NAME="port" -->" onblur="isNum(this)">
                        </p>
                        <p>
                                <label class="label100">Database</label>
                                <input type="text" name="db" value="<!-- 
TMPL_VAR NAME="db" -->">
                        </p>
                        <p>
                                <label class="label100">Userid</label>
                                <input type="text" name="userid" value="<!-- 
TMPL_VAR NAME="userid" -->">
                        </p>
                        <p>
                                <label class="label100">Password</label>
                                <input type="text" name="password" value="<!-- 
TMPL_VAR NAME="password" -->">
                        </p>
                        <p>
                                <label class="label100">Pr&uuml;fen (wird 
standardma&auml;&szlig;ig durchsucht)</label>
                                <input type="text" size="1" name="checked" 
value="<!-- TMPL_VAR NAME="checked" -->" onblur="isNum(this)">
                        </p>
                        <p>
                                <label class="label100">Rang 
(Anzeigereihenfolge)</label>
                                <input type="text" name="rank" size="4" 
value="<!-- TMPL_VAR NAME="rank" -->" onblur="isNum(this)">
                        </p>
                        <p>
                                <label class="label100">Syntax (z3950 kann 
S&auml;tze in diversen Formaten senden. Bitte ein Format w&auml;hlen)</label>
                                <select name="syntax">
                                        <option value="MARC21">MARC21</option>
                                        <option value="UNIMARC">UNIMARC</option>
                                </select>
                        </p>
                        <input type="button" value="OK" 
onclick="Check(this.form)" class="button">
                </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="add_validate" -->
                Daten gespeichert
                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                        <input type="submit" value="OK" class="button">
                </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="delete_confirm" -->
                <!-- TMPL_VAR NAME="reqsel" -->
                        <table>
                        <tr>
                                <th>Site</th>
                                <th><!-- TMPL_VAR NAME="searchfield" --></th>
                        </tr>
                        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                                <input type="hidden" name="op" 
value="delete_confirmed">
                                <input type="hidden" name="searchfield" 
value="<!-- TMPL_VAR NAME="searchfield" -->">
                        <tr>
                                <td>Hostname</td>
                                <td><!-- TMPL_VAR NAME="host" --></td>
                        </tr>
                        <tr>
                                <td>Port</td>
                                <td><!-- TMPL_VAR NAME="port" --></td>
                        </tr>
                        <tr>
                                <td>Database</td>
                                <td><!-- TMPL_VAR NAME="db" --></td>
                        </tr>
                        <tr>
                                <td>Userid</td>
                                <td><!-- TMPL_VAR NAME="userid" --></td>
                        </tr>
                        <tr>
                                <td>Password</td>
                                <td><!-- TMPL_VAR NAME="password" --></td>
                        </tr>
                        <tr>
                                <td>Gepr&uuml;ft</td>
                                <td><!-- TMPL_VAR NAME="checked" --></td>
                        </tr>
                        <tr>
                                <td>Rang</td>
                                <td><!-- TMPL_VAR NAME="rank" --></td>
                        </tr>
                        <tr>
                                <td colspan="2" align="center">L&ouml;schen 
best&auml;tigen</td>
                        </tr>
                        <tr>
                                <td><input type="submit" value="JA"></form></td>
                                <td><form action="<!-- TMPL_VAR 
NAME="script_name" -->" method="post"><input type="submit" 
value="NEIN"></form></td>
                        </tr>
                </table>
        <!-- /TMPL_IF -->

        <!-- TMPL_IF NAME="delete_confirmed" -->
                        Daten gel&ouml;scht
                        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                                        <input type="submit" value="OK">
                        </form>
        <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="else" -->
                        <h1 class="parameters">Admin Z39.50 Server</h1>
                        <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                                <input type="text" name="description" 
value="<!-- TMPL_VAR NAME="searchfield" -->">
                                <input type="submit" name="ok" value="OK" 
class="button">
                        </form>
                        <!-- TMPL_IF NAME="searchfield" -->
                                You searched for <b><!-- TMPL_VAR 
NAME="searchfield" --></b>
                        <!-- /TMPL_IF -->
                        <table>
                                <tr>
                                        <th>Site</th>
                                        <th>Hostname</th>
                                        <th>Port</th>
                                        <th>Database</th>
                                        <th>Userid</th>
                                        <th>Password</th>
                                        <th>Gepr&uuml;ft</th>
                                        <th>Rang</th>
                                        <th>Syntax</th>
                                        <th> </td>
                                        <th> </td>
                                </tr>
                                <!-- TMPL_LOOP NAME="loop" -->
                                <tr bgcolor="<!-- TMPL_VAR NAME="toggle" -->">
                                        <td><!-- TMPL_VAR NAME="name" --></td>
                                        <td><!-- TMPL_VAR NAME="host" --></td>
                                        <td><!-- TMPL_VAR NAME="port" --></td>
                                        <td><!-- TMPL_VAR NAME="db" --></td>
                                        <td><!-- TMPL_VAR NAME="userid" --></td>
                                        <td><!-- TMPL_VAR NAME="password" 
--></td>
                                        <td><!-- TMPL_VAR NAME="checked" 
--></td>
                                        <td><!-- TMPL_VAR NAME="rank" --></td>
                                        <td><!-- TMPL_VAR NAME="syntax" --></td>
                                        <td><a href="<!-- TMPL_VAR 
NAME="script_name" -->?op=add_form&amp;searchfield=<!-- TMPL_VAR NAME="name" 
-->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" 
-->/images/fileopen.png" alt="Bearbeiten" title="bearbeiten" 
border="0"></a></td>
                                        <td><a href="<!-- TMPL_VAR 
NAME="script_name" -->?op=delete_confirm&amp;searchfield=<!-- TMPL_VAR 
NAME="name" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR 
NAME="theme" -->/images/edittrash.png" alt="L&ouml;schen" title="l&ouml;schen" 
border="0"></a></td>
                                </tr>
                                <!-- /TMPL_LOOP -->
                </table>
                <form action="<!-- TMPL_VAR NAME="script_name" -->" 
method="post">
                        <input type="hidden" name="op" value="add_form">
                        <!-- TMPL_IF NAME="offsetgtzero" -->
                                        <a href="<!-- TMPL_VAR 
NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="prevpage" -->" 
class="button">&lt;&lt; Prev</a>
                        <!-- /TMPL_IF -->
                        <!-- TMPL_IF NAME="ltcount" -->
                                        <a href="<!-- TMPL_VAR 
NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="nextpage" -->" 
class="button">N&auml;chster &gt;&gt;</a>
                        <!-- /TMPL_iF -->
                        <input type="submit" class="button" alt="Z39.50-Server 
hinzuf&uuml;gen" value="Z39.50-Server hinzuf&uuml;gen">
                </form>
        
        <!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->




reply via email to

[Prev in Thread] Current Thread [Next in Thread]