Bug 5132 - Misspelled words: Acquistion Succesfully professionnal
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / rotating_collections / editCollections.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Tools &rsaquo; Rotating Collections &rsaquo; Edit Collections</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body>
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
8
9 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating Collections</a> &rsaquo; Edit Collections</div>
10
11 <div id="doc3">
12 <div id="bd">
13         <div class="yui-gb">
14       <h1>Rotating Collections: Edit Collections</h1>
15
16 <!--
17       <!-- TMPL_IF NAME="previousActionCreate" -->
18         <!-- TMPL_IF NAME="createSuccess" -->
19           <div>Collection '<!-- TMPL_VAR NAME="createdTitle" -->' Created Successfully!</div>
20         <!-- TMPL_ELSE -->
21           <div>Collection '<!-- TMPL_VAR NAME="createdTitle" -->' Failed To Be Created!</div>
22           <div>Reason: <strong><!-- TMPL_VAR NAME="failureMessage" --></strong></div>
23         <!-- /TMPL_IF -->
24       <!-- /TMPL_IF -->
25
26       <!-- TMPL_IF NAME="previousActionDelete" -->
27         <!-- TMPL_IF NAME="DeleteSuccess" -->
28           <div>Collection Deleted Successfully!</div>
29         <!-- TMPL_ELSE -->
30           <div>Collection Failed To Be Deleted!</div>
31         <!-- /TMPL_IF -->
32       <!-- /TMPL_IF -->
33 -->
34
35       <!-- TMPL_IF NAME="previousActionUpdate" -->
36         <!-- TMPL_IF NAME="updateSuccess" -->
37           <div>Collection '<!-- TMPL_VAR NAME="updatedTitle" -->' Updated Successfully!</div>
38         <!-- TMPL_ELSE -->
39           <div>Collection '<!-- TMPL_VAR NAME="updatedTitle" -->' Failed To Be Updated!</div>
40           <div>Reason: <strong><!-- TMPL_VAR NAME="failureMessage" --></strong></div>
41         <!-- /TMPL_IF -->
42       <!-- /TMPL_IF -->
43
44       <div>
45         <!-- TMPL_IF NAME="collectionsLoop" -->
46           <table>
47             <tr>
48               <th>Title</th>
49               <th>Description</th>
50               <th>Holding Library</th>
51               <td></td>
52               <td></td>
53             </tr>
54             <!-- TMPL_LOOP NAME="collectionsLoop" -->
55               <tr>
56                 <td><!-- TMPL_VAR NAME="colTitle" --></td>
57                 <td><!-- TMPL_VAR NAME="colDesc" --></td>
58                 <td><!-- TMPL_VAR NAME="colBranchcode" --></td>
59                 <td><a href="editCollections.pl?action=edit&colId=<!-- TMPL_VAR NAME="colId" -->">Edit</a></td>
60                 <td><a href="editCollections.pl?action=delete&colId=<!-- TMPL_VAR NAME="colId" -->">Delete</a></td>
61               </tr>
62             <!-- /TMPL_LOOP -->
63           </table>
64         <!-- TMPL_ELSE -->
65           There are no Collections currently defined.
66         <!-- /TMPL_IF -->
67       </div>    
68
69       <div>
70         <br />
71
72         <!-- TMPL_IF NAME="previousActionEdit" -->
73           <h1>Edit Collection</h1>
74         <!-- TMPL_ELSE -->
75           <h1>Create New Collection</h1>
76         <!-- /TMPL_IF -->
77
78         <form action="editCollections.pl" method="post">
79           <!-- TMPL_IF NAME="previousActionEdit" -->
80             <input type="hidden" name="action" value="update" />
81             <input type="hidden" name="colId" value="<!-- TMPL_VAR NAME="editColId" -->" />
82           <!-- TMPL_ELSE -->
83             <input type="hidden" name="action" value="create" />
84           <!-- /TMPL_IF -->
85
86           <table>
87             <tr>
88               <td>
89                 <label for="title">Title: </label>
90               </td>
91               <td>
92                <input type="text" name="title" <!-- TMPL_IF NAME="editColTitle" --> value="<!-- TMPL_VAR NAME="editColTitle" -->" <!-- /TMPL_IF --> />
93               </td>
94             </tr>
95         
96             <tr>
97               <td>
98                 <label for="description">Description: </label>
99               </td>
100               <td>
101                 <input type="text" size="50" name="description" <!-- TMPL_IF NAME="editColDescription" --> value="<!-- TMPL_VAR NAME="editColDescription" -->" <!-- /TMPL_IF --> />
102               </td>
103             </tr>
104
105             <tr>
106               <td colspan="2">
107                 <!-- TMPL_IF NAME="previousActionEdit" -->
108                   <input type="submit" value="Update" />
109                 <!-- TMPL_ELSE -->
110                   <input type="submit" value="Create" />
111                 <!-- /TMPL_IF -->
112               </td>
113             </tr>
114           </table>
115         </form>
116       </div>
117
118       <div>
119         <br/>
120         <input type="button" value="Return to Rotating Collections Home" onclick="window.location.href='rotatingCollections.pl'">
121       </div>
122
123 </div>
124 </div>
125 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
126