1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Tools › Rotating Collections › Edit Collections</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
9 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating Collections</a> › Edit Collections</div>
14 <h1>Rotating Collections: Edit Collections</h1>
17 <!-- TMPL_IF NAME="previousActionCreate" -->
18 <!-- TMPL_IF NAME="createSuccess" -->
19 <div>Collection '<!-- TMPL_VAR NAME="createdTitle" -->' Created Successfully!</div>
21 <div>Collection '<!-- TMPL_VAR NAME="createdTitle" -->' Failed To Be Created!</div>
22 <div>Reason: <strong><!-- TMPL_VAR NAME="failureMessage" --></strong></div>
26 <!-- TMPL_IF NAME="previousActionDelete" -->
27 <!-- TMPL_IF NAME="DeleteSuccess" -->
28 <div>Collection Deleted Successfully!</div>
30 <div>Collection Failed To Be Deleted!</div>
35 <!-- TMPL_IF NAME="previousActionUpdate" -->
36 <!-- TMPL_IF NAME="updateSuccess" -->
37 <div>Collection '<!-- TMPL_VAR NAME="updatedTitle" -->' Updated Successfully!</div>
39 <div>Collection '<!-- TMPL_VAR NAME="updatedTitle" -->' Failed To Be Updated!</div>
40 <div>Reason: <strong><!-- TMPL_VAR NAME="failureMessage" --></strong></div>
45 <!-- TMPL_IF NAME="collectionsLoop" -->
50 <th>Holding Library</th>
54 <!-- TMPL_LOOP NAME="collectionsLoop" -->
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>
65 There are no Collections currently defined.
72 <!-- TMPL_IF NAME="previousActionEdit" -->
73 <h1>Edit Collection</h1>
75 <h1>Create New Collection</h1>
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" -->" />
83 <input type="hidden" name="action" value="create" />
89 <label for="title">Title: </label>
92 <input type="text" name="title" <!-- TMPL_IF NAME="editColTitle" --> value="<!-- TMPL_VAR NAME="editColTitle" -->" <!-- /TMPL_IF --> />
98 <label for="description">Description: </label>
101 <input type="text" size="50" name="description" <!-- TMPL_IF NAME="editColDescription" --> value="<!-- TMPL_VAR NAME="editColDescription" -->" <!-- /TMPL_IF --> />
107 <!-- TMPL_IF NAME="previousActionEdit" -->
108 <input type="submit" value="Update" />
110 <input type="submit" value="Create" />
120 <input type="button" value="Return to Rotating Collections Home" onclick="window.location.href='rotatingCollections.pl'">
125 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->