[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/members mor... [dev_week]
From: |
Kyle Hall |
Subject: |
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/members mor... [dev_week] |
Date: |
Wed, 25 Apr 2007 14:15:10 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: dev_week
Changes by: Kyle Hall <kylemhall> 07/04/25 14:15:10
Modified files:
koha-tmpl/intranet-tmpl/npl/en/members: moremember.tmpl
Added files:
koha-tmpl/intranet-tmpl/npl/en/members:
clubsAndServices-enroll.tmpl
clubsAndServices.tmpl
Log message:
Added intranet patron clubs and services management for NPL templates.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/members/moremember.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.5.2.10.2.7&r2=1.5.2.10.2.8
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/members/clubsAndServices-enroll.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/members/clubsAndServices.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
Patches:
Index: moremember.tmpl
===================================================================
RCS file:
/sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/members/Attic/moremember.tmpl,v
retrieving revision 1.5.2.10.2.7
retrieving revision 1.5.2.10.2.8
diff -u -b -r1.5.2.10.2.7 -r1.5.2.10.2.8
--- moremember.tmpl 3 Oct 2006 14:16:17 -0000 1.5.2.10.2.7
+++ moremember.tmpl 25 Apr 2007 14:15:10 -0000 1.5.2.10.2.8
@@ -19,6 +19,12 @@
<!-- TMPL_UNLESS NAME="unvalidlibrarian"--><!-- TMPL_IF
NAME="CAN_user_permission" --><form
action="/cgi-bin/koha/members/member-flags.pl" method="post"><input
type="hidden" name="member" value="<!-- TMPL_VAR name=bornum -->" /> <input
type="submit" class="submit" value="Modify Privileges" /></form><!-- /TMPL_IF
--><!-- /TMPL_UNLESS -->
+<!-- TMPL_UNLESS NAME="unvalidlibrarian"-->
+ <form action="/cgi-bin/koha/members/clubsAndServices.pl?bornum=<!-- TMPL_VAR
name="bornum" -->" >
+ <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR
name="bornum" -->">
+ <input type="submit" class="submit" value="Clubs & Services">
+ </form>
+<!-- /TMPL_UNLESS -->
<!-- TMPL_UNLESS NAME="unvalidlibrarian"--><form
action="/cgi-bin/koha/members/deletemem.pl?member=<!-- TMPL_VAR name="bornum"
-->" onclick="confirm_deletion(); return false;"><input type="hidden"
name="borrowernumber" value="<!-- TMPL_VAR name="bornum" -->"><input
type="submit" class="cancel" value="Delete"></form><!-- /TMPL_UNLESS -->
@@ -209,6 +215,13 @@
<!-- TMPL_IF NAME="intranetreadinghistory" --><h1>Reading Record</h1>
<form class="inline" action="/cgi-bin/koha/readingrec.pl" method="get"><input
type="hidden" name="bornum" value="<!-- TMPL_VAR name="bornum" -->" /> <input
type="submit" class="submit" value="View Patron's Reading Record" /></form><!--
/TMPL_IF -->
+<!-- TMPL_UNLESS NAME="unvalidlibrarian"-->
+ <form action="/cgi-bin/koha/members/clubsAndServices.pl?bornum=<!-- TMPL_VAR
name="bornum" -->" >
+ <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR
name="bornum" -->">
+ <input type="submit" class="submit" value="Clubs & Services">
+ </form>
+<!-- /TMPL_UNLESS -->
+
</div>
<script language="JavaScript" type="text/javascript">
Index: clubsAndServices-enroll.tmpl
===================================================================
RCS file: clubsAndServices-enroll.tmpl
diff -N clubsAndServices-enroll.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ clubsAndServices-enroll.tmpl 25 Apr 2007 14:15:10 -0000 1.1.2.1
@@ -0,0 +1,67 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
+Koha -- Patrons: Details for <!-- TMPL_VAR name="surname" -->, <!-- TMPL_VAR
name="firstname" --> (<!-- TMPL_VAR name="cardnumber" -->)
+<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE NAME="masthead.inc" -->
+<!-- TMPL_INCLUDE NAME="members-topmenu.inc" -->
+<!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
+
+<!-- main site -->
+<div id="main">
+<h2>
+ Clubs & Services for <a
href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR
NAME="borrowernumber" -->" >
+ <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!--
TMPL_VAR NAME="cardnumber" -->) </a>
+</h2>
+
+<!-- TMPL_IF NAME="previousActionEnroll" -->
+ <!-- TMPL_IF NAME="enrollSuccess" -->
+ <div>Enrolled Succesfully!</div>
+ <div><a
href="/cgi-bin/koha/members/clubsAndServices.pl?borrowernumber=<!-- TMPL_VAR
NAME="borrowernumber" -->">Back To Clubs & Services</a></div>
+ <!-- TMPL_ELSE -->
+ <div>Failed to Enroll!</div>
+ <div>Reason: <strong><!-- TMPL_VAR NAME="failureMessage" --></strong></div>
+ <div><a
href="/cgi-bin/koha/members/clubsAndServices.pl?borrowernumber=<!-- TMPL_VAR
NAME="borrowernumber" -->">Back To Clubs & Services</a></div>
+ <!-- /TMPL_IF -->
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="caseData1Title" -->
+ <div>
+ <h4>Please Enter The Following Information</h4>
+ <form action="clubsAndServices-enroll.pl" method="post">
+ <table>
+ <!-- TMPL_IF NAME="caseData1Title" -->
+ <tr>
+ <td><label for="data1"><!-- TMPL_VAR NAME="caseData1Title" -->:
</label></td>
+ <td><input type="text" id="data1" name="data1" /></td>
+ <td><i><!-- TMPL_VAR NAME="caseData1Desc" --></i></td>
+ </tr>
+ <!-- /TMPL_IF -->
+
+ <!-- TMPL_IF NAME="caseData2Title" -->
+ <tr>
+ <td><label for="data2"><!-- TMPL_VAR NAME="caseData2Title" -->:
</label></td>
+ <td><input type="text" id="data2" name="data2" /></td>
+ <td><i><!-- TMPL_VAR NAME="caseData2Desc" --></i></td>
+ </tr>
+ <!-- /TMPL_IF -->
+
+ <!-- TMPL_IF NAME="caseData3Title" -->
+ <tr>
+ <td><label for="data3"><!-- TMPL_VAR NAME="caseData3Title" -->:
</label></td>
+ <td><input type="text" id="data3" name="data3" /></td>
+ <td><i><!-- TMPL_VAR NAME="caseData3Desc" --></i></td>
+ </tr>
+ <!-- /TMPL_IF -->
+
+ <input type="hidden" id="casId" name="casId" value="<!-- TMPL_VAR
NAME="casId" -->" />
+ <input type="hidden" id="casaId" name="casaId" value="<!-- TMPL_VAR
NAME="casaId" -->" />
+ <input type="hidden" id="borrowernumber" name="borrowernumber"
value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
+ <input type="hidden" name="action" value="enroll" />
+ <tr><td colspan="3"><input type="submit" value="Enroll" /></td></tr>
+ </table>
+ </form>
+ </div>
+<!-- /TMPL_IF -->
+
+
+
+<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->
Index: clubsAndServices.tmpl
===================================================================
RCS file: clubsAndServices.tmpl
diff -N clubsAndServices.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ clubsAndServices.tmpl 25 Apr 2007 14:15:10 -0000 1.1.2.1
@@ -0,0 +1,75 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
+Koha -- Patrons: Details for <!-- TMPL_VAR name="surname" -->, <!-- TMPL_VAR
name="firstname" --> (<!-- TMPL_VAR name="cardnumber" -->)
+<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE NAME="masthead.inc" -->
+<!-- TMPL_INCLUDE NAME="members-topmenu.inc" -->
+<!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
+
+<!-- main site -->
+<div id="main">
+<h2>
+ Clubs & Services for <a
href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR
NAME="borrowernumber" -->" >
+ <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!--
TMPL_VAR NAME="cardnumber" -->) </a>
+</h2>
+<!-- TMPL_IF NAME="enrolledClubsAndServicesLoop" -->
+ <table>
+ <thead>
+ <tr><th colspan="5">Clubs & Services</th></tr>
+ <tr>
+ <th>Title</th>
+ <th>Description</th>
+ <th>Library</th>
+ <th>Type</th>
+ <th></th>
+ </tr>
+ </thead>
+
+ <tbody>
+ <!-- TMPL_LOOP NAME="enrolledClubsAndServicesLoop" -->
+ <!-- TMPL_IF NAME="odd" --><tr class="highlight"><!-- TMPL_ELSE
--><tr><!-- /TMPL_IF -->
+ <td><!-- TMPL_VAR NAME="title" --></td>
+ <td><!-- TMPL_VAR NAME="description" --></td>
+ <td><!-- TMPL_VAR NAME="branchcode" --></td>
+ <td><!-- TMPL_VAR NAME="type" --></td>
+ <td><a href="clubsAndServices.pl?action=cancel&caseId=<!-- TMPL_VAR
NAME="caseId" -->&borrowernumber=<!-- TMPL_VAR
NAME="borrowernumber"-->">Cancel</a></td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </tbody>
+
+ </table>
+<!-- TMPL_ELSE -->
+ <h4>Patron Is Not Enrolled In Any Clubs Or Services</h4>
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="enrollableClubsAndServicesLoop" -->
+ <table>
+ <thead>
+ <tr><th colspan="5">Enroll In Clubs & Services</th></tr>
+ <tr>
+ <th>Title</th>
+ <th>Description</th>
+ <th>Library</th>
+ <th>Type</th>
+ <th></th>
+ </tr>
+ </thead>
+
+ <tbody>
+ <!-- TMPL_LOOP NAME="enrollableClubsAndServicesLoop" -->
+ <!-- TMPL_IF NAME="odd" --><tr class="highlight"><!-- TMPL_ELSE
--><tr><!-- /TMPL_IF -->
+ <td><!-- TMPL_VAR NAME="title" --></td>
+ <td><!-- TMPL_VAR NAME="description" --></td>
+ <td><!-- TMPL_VAR NAME="branchcode" --></td>
+ <td><!-- TMPL_VAR NAME="type" --></td>
+ <td><a href="clubsAndServices-enroll.pl?casId=<!-- TMPL_VAR
NAME="casId" -->&casaId=<!-- TMPL_VAR NAME="casaId" -->&borrowernumber=<!--
TMPL_VAR NAME="borrowernumber"-->">Enroll</a></td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </tbody>
+
+ </table>
+<!-- TMPL_ELSE -->
+ <h4>There Are No New Clubs Or Services To Enroll In</h4>
+<!-- /TMPL_IF -->
+
+
+<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/members mor... [dev_week],
Kyle Hall <=