Initial review in upgrading templates to 2.2
authoroleonard <oleonard>
Wed, 27 Oct 2004 15:35:03 +0000 (15:35 +0000)
committeroleonard <oleonard>
Wed, 27 Oct 2004 15:35:03 +0000 (15:35 +0000)
koha-tmpl/intranet-tmpl/npl/en/members/deletemem.tmpl [new file with mode: 0644]
koha-tmpl/intranet-tmpl/npl/en/members/member.tmpl

diff --git a/koha-tmpl/intranet-tmpl/npl/en/members/deletemem.tmpl b/koha-tmpl/intranet-tmpl/npl/en/members/deletemem.tmpl
new file mode 100644 (file)
index 0000000..f50b44b
--- /dev/null
@@ -0,0 +1,21 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Cannot Delete Patron<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE NAME="masthead.inc" -->
+<!-- TMPL_INCLUDE NAME="members-topmenu.inc" -->
+<!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
+
+<div id="main">
+       <div class="error">
+       <h3>Cannot Delete Patron</h3>
+               <!-- TMPL_IF name="ItemsOnIssues" -->
+                       <p>Patron has <!-- TMPL_VAR name="ItemsOnIssues" --> item(s) checked out.</p>
+               <!-- /TMPL_IF -->
+               <!-- TMPL_IF name="charges -->
+                       <p>Patron has <!-- TMPL_VAR name="charges" --> in fines.</p>
+               <!-- /TMPL_IF -->
+               <!-- TMPL_IF name="guarantees" -->
+                       <p>Patron's record has child accounts attached.</p>
+               <!-- /TMPL_IF -->
+               <form action="/cgi-bin/koha/members/moremember.pl" method="get"><input type="hidden" value="<!-- TMPL_VAR NAME="bornum" -->" name="bornum" /><input type="submit" class="submit" value="&lt;&lt; Return to Patron Record" /></form>
+       </div>
+</div>
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
index 6d2c5df..7d0b37c 100644 (file)
   <!-- /TMPL_LOOP -->
   <!-- TMPL_ELSE --><td colspan="6">No results found</td><!-- /TMPL_IF -->
 </table></div>
-<div class="tabitem"><form action="/cgi-bin/koha/simpleredirect.pl" method="post">
-<input type="submit" class="submit" value="Add New Patron" />
-<input type="hidden" name="chooseform" value="adult" />
-</form> <form action="/cgi-bin/koha/simpleredirect.pl" method="post">
-<input type="submit" class="submit" value="Add New Institution" />
-<input type="hidden" name="chooseform" value="organisation" />
-</form> </div>
+<div class="tabitem"><form action="/cgi-bin/koha/members/memberentry.pl" method="post"><input type="hidden" name="categorycode" value="" /><input type="hidden" name="actionType" value="Add" />
+       <input type="submit" class="submit" value="Add New Patron" /></form>
+       <form action="/cgi-bin/koha/members/memberentry.pl" method="post"><input type="hidden" name="categorycode" value="I" /><input type="hidden" name="actionType" value="Add" /><input type="submit" class="submit" value="Add New Institution" /></form>
+       </div>
 </div>
 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
\ No newline at end of file