[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes se... [dev_week]
From: |
Mason James |
Subject: |
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes se... [dev_week] |
Date: |
Wed, 04 Jul 2007 14:14:33 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: dev_week
Changes by: Mason James <sushi> 07/07/04 14:14:33
Modified files:
koha-tmpl/intranet-tmpl/npl/en/barcodes: search.tmpl
Log message:
still busted, but look correct will, fix later
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/search.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.2.2.1&r2=1.1.2.2.2.2
Patches:
Index: search.tmpl
===================================================================
RCS file:
/sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/Attic/search.tmpl,v
retrieving revision 1.1.2.2.2.1
retrieving revision 1.1.2.2.2.2
diff -u -b -r1.1.2.2.2.1 -r1.1.2.2.2.2
--- search.tmpl 4 Jul 2007 12:33:05 -0000 1.1.2.2.2.1
+++ search.tmpl 4 Jul 2007 14:14:33 -0000 1.1.2.2.2.2
@@ -45,38 +45,23 @@
<input type="hidden" name="operator" value="=" />
<input type="text" name="value" id="issn" />
</td>
-<td>
- <img src="<!-- TMPL_VAR Name="themelang" -->/includes/calendar/cal.gif"
border="0" id="openCalendarFrom" style="cursor: pointer;" valign="top">
+
+
+ <td><label for="fromRO">From:</label> <input type="text" size="10"
id="fromRO" name="Filter" />
+ <img src="<!-- TMPL_VAR Name="themelang"
-->/includes/calendar/cal.gif" border="0" id="openCalendarFromRO"
style="cursor: pointer;" />
<script language="JavaScript"
type="text/javascript">
- function validate1(date) {
- var day = date.getDate();
- var month = date.getMonth() + 1;
- var year = date.getFullYear();
- var weekDay = date.getDay();
- var dayMonth = month + '-' + day;
- var dateString = year + '-' + month +
'-' + day;
- var dateTo =
document.getElementById('to').value.split("-");
- var limitDate = new Date(dateTo[0],
(dateTo[1] - 1), dateTo[2]);
- if (date > limitDate) {
- return true;
- } else {
- return false;
- }
- }
+
+
Calendar.setup(
{
- inputField : "from",
+ inputField : "fromRO",
ifFormat : "%Y-%m-%d",
- button : "openCalendarFrom",
- disableFunc : validate1,
- dateStatusFunc : validate1
+ button : "openCalendarFromRO",
}
);
</script>
-</td>
-
</tr>
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes se... [dev_week], Mason James, 2007/07/04
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes se... [dev_week],
Mason James <=
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes se... [dev_week], Mason James, 2007/07/04
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes se... [dev_week], Mason James, 2007/07/04
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes se... [dev_week], Mason James, 2007/07/04
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes se... [dev_week], Mason James, 2007/07/04
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes se... [dev_week], Mason James, 2007/07/04
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes se... [dev_week], Mason James, 2007/07/04
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes se... [dev_week], Mason James, 2007/07/15