First german contribution to 2.2.2
[koha.git] / koha-tmpl / intranet-tmpl / default / de / bull / subscription-add.tmpl
1 <!-- TMPL_INCLUDE NAME="bull-top.inc" -->
2 <!--------------------------MAIN BODY OF PAGE-------------------------->
3 <div id="mainbloc">
4 <!-- TMPL_IF name="mod" -->
5         <h1 class="bull">Abos bearbeiten</h1>
6         <form method="post" name="f" action="subscription-detail.pl">
7                 <input type="hidden" name="op" value="modsubscription">
8                 <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->">
9 <!-- TMPL_ELSE -->
10         <h1 class="bull">Abonnement hinzuf&uuml;gen</h1>
11         <form method="post" name="f">
12 <!-- /TMPL_IF -->
13 <div id="bloc25">
14         <h2 class="bull">Abo-Informationen</h2>
15                 <input type="hidden" name="op" value="addsubscription">
16                 <input type="hidden" name="user" value="<!-- TMPL_VAR name="user" -->">
17                 <p>Bibliothekar</td><td> <!-- TMPL_VAR name="user" --></p>
18                 <p><label>Lieferant</label><input type="text" name="aqbooksellerid" value="<!-- TMPL_VAR name="aqbooksellerid" -->" size=4> (<input type="text" name="aqbooksellername" value="<!-- TMPL_VAR name="aqbooksellername" -->" disabled readonly>)<a href="#" onClick="FindAcqui(f)">...</a></p>
19                 <p><label>Biblio</label><input type="text" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" size=4> (<input type="text" name="title" value="<!-- TMPL_VAR name="bibliotitle" -->" disabled readonly>)<a href="#" onClick="Plugin(f)">...</a></p>
20                 <p><label>Bemerkung</label><textarea name="notes" cols="30" rows="2"><!-- TMPL_VAR name="notes" --></textarea></p>
21                 <p class="problem">Warnung</p>
22                 <ul>
23                         <li>Denken Sie daran, da&szlig; vor dem Anlegen eines Abos ein Biblio angelegt sein mu&szlig;</li>
24                         <li>Ebenfalls m&uuml;ssen Sie einen Lieferanten ausgew&auml;hlt haben, wenn Sie versp&auml;tete Lieferungen sehen wollen</li>
25                 </ul>
26 </div>
27 <div id="bloc25">
28         <h2 class="bull">Planung</h2>
29         <p><label class="label100">Anfangsdatum</label> <input type="text" name="startdate" value="<!-- TMPL_VAR name="startdate" -->" size=13 maxlength=10></p>
30         <p><label class="label100">Frequenz (*)</label>
31                         <select name="periodicity" size="1">
32                                 <option value="" selected>Unbekannt</option>
33                                 <!-- TMPL_IF name="periodicity1" -->
34                                         <option value="1" selected>1/Tag</option>
35                                 <!-- TMPL_ELSE -->
36                                         <option value="1">1/Tag</option>
37                                 <!-- /TMPL_IF -->
38                                 <!-- TMPL_IF name="periodicity2" -->
39                                         <option value="2" selected>1/Woche</option>
40                                 <!-- TMPL_ELSE -->
41                                         <option value="2">1/Woche</option>
42                                 <!-- /TMPL_IF -->
43                                 <!-- TMPL_IF name="periodicity3" -->
44                                         <option value="3" selected>1/2 weeks (2/month)</option>
45                                 <!-- TMPL_ELSE -->
46                                         <option value="3">1/2 weeks (2/months)</option>
47                                 <!-- /TMPL_IF -->
48                                 <!-- TMPL_IF name="periodicity4" -->
49                                         <option value="4" selected>1/3 Wochen</option>
50                                 <!-- TMPL_ELSE -->
51                                         <option value="4">1/3 Wochen</option>
52                                 <!-- /TMPL_IF -->
53                                 <!-- TMPL_IF name="periodicity5" -->
54                                         <option value="5" selected>1/Monat</option>
55                                 <!-- TMPL_ELSE -->
56                                         <option value="5">1/Monat</option>
57                                 <!-- /TMPL_IF -->
58                                 <!-- TMPL_IF name="periodicity6" -->
59                                         <option value="6" selected>1/2 months (6/year)</option>
60                                 <!-- TMPL_ELSE -->
61                                         <option value="6">1/2 months (6/year)</option>
62                                 <!-- /TMPL_IF -->
63                                 <!-- TMPL_IF name="periodicity7" -->
64                                         <option value="7" selected>1/3 months (1/quarter)</option>
65                                 <!-- TMPL_ELSE -->
66                                         <option value="7">1/3 months (1/quarter)</option>
67                                 <!-- /TMPL_IF -->
68                                 <!-- periodicity8 is 1/quarter, exactly like periodicity7 -->
69                                 <!-- TMPL_IF name="periodicity9" -->
70                                         <option value="9" selected>2/years</option>
71                                 <!-- TMPL_ELSE -->
72                                         <option value="9">2/years</option>
73                                 <!-- /TMPL_IF -->
74                                 <!-- TMPL_IF name="periodicity10" -->
75                                         <option value="10" selected>1/Jahr</option>
76                                 <!-- TMPL_ELSE -->
77                                         <option value="10">1/Jahr</option>
78                                 <!-- /TMPL_IF -->
79                                 <!-- TMPL_IF name="periodicity11" -->
80                                         <option value="11" selected>1/2 Jahre</option>
81                                 <!-- TMPL_ELSE -->
82                                         <option value="11">1/2 Jahre</option>
83                                 <!-- /TMPL_IF -->
84                         </select>
85         </p>
86         <p><label class="label100">Lieferung am</label>
87                         <select name="dow" size="1">
88                                 <option value="">Keine</option>
89                                 <!-- TMPL_IF name="dow1" -->
90                                         <option value="1" selected>Montag</option>
91                                 <!-- TMPL_ELSE -->
92                                         <option value="1">Montag</option>
93                                 <!-- /TMPL_IF -->
94                                 <!-- TMPL_IF name="dow2" -->
95                                         <option value="2" selected>Dienstag</option>
96                                 <!-- TMPL_ELSE -->
97                                         <option value="2">Dienstag</option>
98                                 <!-- /TMPL_IF -->
99                                 <!-- TMPL_IF name="dow3" -->
100                                         <option value="3" selected>Mittwoch</option>
101                                 <!-- TMPL_ELSE -->
102                                         <option value="3">Mittwoch</option>
103                                 <!-- /TMPL_IF -->
104                                 <!-- TMPL_IF name="dow4" -->
105                                         <option value="4" selected>Donnerstag</option>
106                                 <!-- TMPL_ELSE -->
107                                         <option value="4">Donnerstag</option>
108                                 <!-- /TMPL_IF -->
109                                 <!-- TMPL_IF name="dow5" -->
110                                         <option value="5" selected>Freitag</option>
111                                 <!-- TMPL_ELSE -->
112                                         <option value="5">Freitag</option>
113                                 <!-- /TMPL_IF -->
114                                 <!-- TMPL_IF name="dow6" -->
115                                         <option value="6" selected>Samstag</option>
116                                 <!-- TMPL_ELSE -->
117                                         <option value="6">Samstag</option>
118                                 <!-- /TMPL_IF -->
119                                 <!-- TMPL_IF name="dow7" -->
120                                         <option value="7" selected>Sonntag</option>
121                                 <!-- TMPL_ELSE -->
122                                         <option value="7">Sonntag</option>
123                                 <!-- /TMPL_IF -->
124                         </select>
125 </div>
126 <div id="bloc25">
127         <h2 class="bull">Abo-Dauer</h2>
128         <p>* 1 Feld ausf&uuml;llen</p>
129         <ul>
130                 <p><label class="label100">Anzahl der Hefte</label><input type="text" name="numberlength" value="<!-- TMPL_VAR name="numberlength" -->"></p>
131                 <p><label class="label100">Anzahl der Wochen</label><input type="text" name="weeklength" value="<!-- TMPL_VAR name="weeklength" -->"></p>
132                 <p><label class="label100">Anzahl der Monate</label><input type="text" name="monthlength" value="<!-- TMPL_VAR name="monthlength" -->"></p>
133         </ul>
134 </div>
135 <div id="bloc25">
136         <h2 class="bull">Numbering calculation</h2>
137         <p>
138                 <p>Numbering formula: <input type="text" name="numberingmethod" value="<!-- TMPL_VAR name="numberingmethod" -->"></p>
139                 <table class="small">
140                         <tr>
141                                 <th class="bull">&nbsp;</th>
142                                 <th class="bull">X</th>
143                                 <th class="bull">Y</th>
144                                 <th class="bull">Z</th>
145                         </tr>
146                         <tr>
147                                 <td class="bull">Hinzuf&uuml;gen</td>
148                                 <td>
149                                         <input type="text" name="add1" value="<!-- TMPL_VAR name="add1" -->">
150                                 </td>
151                                 <td>
152                                         <input type="text" name="add2" value="<!-- TMPL_VAR name="add2" -->">
153                                 </td>
154                                 <td>
155                                         <input type="text" name="add3" value="<!-- TMPL_VAR name="add3" -->">
156                                 </td>
157                         </tr>
158                         <tr>
159                                 <td class="bull">Einmal alle</td>
160                                 <td><input type="text" name="every1" value="<!-- TMPL_VAR name="every1" -->"></td>
161                                 <td><input type="text" name="every2" value="<!-- TMPL_VAR name="every2" -->"></td>
162                                 <td><input type="text" name="every3" value="<!-- TMPL_VAR name="every3" -->"></td>
163                         </tr>
164                         <tr>
165                                 <td class="bull">Wenn mehr als</td>
166                                 <td><input type="text" name="whenmorethan1" value="<!-- TMPL_VAR name="whenmorethan1" -->"></td>
167                                 <td><input type="text" name="whenmorethan2" value="<!-- TMPL_VAR name="whenmorethan2" -->"></td>
168                                 <td><input type="text" name="whenmorethan3" value="<!-- TMPL_VAR name="whenmorethan3" -->"></td>
169                         </tr>
170                         <!-- TMPL_IF name="mod" -->
171                         <tr>
172                                 <td class="bull">The loop is for instance</td>
173                                 <td><input type="text" name="innerloop1" value="<!-- TMPL_VAR name="innerloop1" -->"></td>
174                                 <td><input type="text" name="innerloop2" value="<!-- TMPL_VAR name="innerloop2" -->"></td>
175                                 <td><input type="text" name="innerloop3" value="<!-- TMPL_VAR name="innerloop3" -->"></td>
176                         </tr>
177                         <!-- /TMPL_IF -->
178                         <tr>
179                                 <td class="bull">Zur&uuml;cksetzen auf</td>
180                                 <td><input type="text" name="setto1" value="<!-- TMPL_VAR name="setto1" -->"></td>
181                                 <td><input type="text" name="setto2" value="<!-- TMPL_VAR name="setto2" -->"></td>
182                                 <td><input type="text" name="setto3" value="<!-- TMPL_VAR name="setto3" -->"></td>
183                         </tr>
184                         <tr>
185                                 <td class="bull">
186                                         <!-- TMPL_IF name="mod" -->
187                                                 Last value
188                                         <!-- TMPL_ELSE -->
189                                                 Beginnt mit
190                                         <!-- /TMPL_IF -->
191                                 </td>
192                                 <td><input type="text" name="lastvalue1" value="<!-- TMPL_VAR name="lastvalue1" -->"></td>
193                                 <td><input type="text" name="lastvalue2" value="<!-- TMPL_VAR name="lastvalue2" -->"></td>
194                                 <td><input type="text" name="lastvalue3" value="<!-- TMPL_VAR name="lastvalue3" -->"></td>
195                         </tr>
196                 </table>
197         </p>
198 </div>
199 <!-- TMPL_IF name="mod" -->
200         <input type="button" value="Abonnement speichern" onclick="Check(this.form)" accesskey="w" class="button bull">
201 <!-- TMPL_ELSE -->
202         <input type="button" value="Abonnement hinzuf&uuml;gen" onclick="Check(this.form)" accesskey="w" class="button bull">
203 <!-- /TMPL_IF -->
204 </div>
205
206 </form>
207 <!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
208
209 <script language="JavaScript" type="text/javascript">
210
211 function Plugin(f)
212 {
213          window.open("subscription-bib-search.pl","Find a bib index",'width=500,height=400,toolbar=false,scrollbars=yes');
214 }
215
216 function FindAcqui(f)
217 {
218          window.open("acqui-search.pl","Find a supplier",'width=500,height=400,toolbar=false,scrollbars=yes');
219 }
220
221
222 function Check(f)
223 {
224         if (f.startdate.value.length != 0 && 
225                         f.numberlength.value+f.weeklength.value+f.monthlength.value > 0)
226                 {
227                         document.f.submit();
228                 }
229 else
230 {
231         alert('field marked with * are mandatory');
232 }
233         return false;
234 }
235 </script>