list-style-type : none;
}
-fieldset.brief div.hint, fieldset.rows div.hint, div.yui-u div.hint {
+.hint {
color : #999999;
font-size : 95%;
+}
+
+fieldset.brief div.hint, fieldset.rows div.hint, div.yui-u div.hint {
+ font-size : 95%;
margin-bottom : .4em;
}
--- /dev/null
+<!-- TMPL_IF NAME="dateformat_us" -->(MM/DD/YYYY)<!-- TMPL_ELSIF NAME="dateformat_metric" -->(DD/MM/YYYY)<!-- TMPL_ELSE -->(YYYY/MM/DD)<!-- /TMPL_IF -->
\ No newline at end of file
<li><label for="from">From: </label>
<input type="text" size="10" id="from" name="from" value="<!-- TMPL_VAR name="from_placed_on" -->" />
<img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="openCalendarFrom" style="cursor: pointer;" alt="Show Calendar" />
+ <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
</li>
<li><label for="to">To: </label>
<input type="text" size="10" id="to" name="to" value="<!-- TMPL_VAR name="to_placed_on" -->" />
dateStatusFunc : disable_to
});
</script>
+ <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
</li>
</ol>
</fieldset>
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
button : "datereceived_button" }
);
- </script> </li>
+ </script>
+ <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div> </li>
</ol>
</fieldset>
<fieldset class="action"><input type="submit" class="button" value="Save" /> <a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!-- TMPL_VAR NAME="supplierid" -->">Cancel</a></fieldset>
singleClick : false
});
</script>
+ <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
</li>
<li>
align : "Tl",
});
</script>
+ <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
</li>
<li>
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha › Administration › Funds<!-- TMPL_IF name="add_form" --> › <!--TMPL_IF NAME="budget_id" -->Modify Fund<!-- TMPL_IF NAME="budget_name" --> '<!-- TMPL_VAR NAME="budget_name" -->'<!-- /TMPL_IF --><!-- TMPL_ELSE -->Add Fund <!-- /TMPL_IF --><!-- /TMPL_IF --></title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
-<!-- TMPL_INCLUDE NAME="calendar.inc" -->
<script type="text/javascript" src="<!-- TMPL_VAR NAME="themelang" -->/js/acq.js"></script>
<!-- TMPL_IF name="add_form" -->
}
);
</script>
+ <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
</li>
<li><label for="contractenddate" class="required">End date *</label>
<input type="text" name="contractenddate" id="contractenddate" value="<!-- TMPL_VAR NAME="contractenddate" -->" maxlength="10" size="10" />
}
);
</script>
+ <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
</li>
</ol>
</fieldset>
$(document).ready(function() {
$('#patronlists > ul').tabs();
$.tablesorter.defaults.widgets = ['zebra'];
- $("#issuest").tablesorter({<!-- TMPL_IF EXPR="dateformat eq 'metric'" -->
+ $("#issuest").tablesorter({<!-- TMPL_IF NAME="dateformat_metric" -->
dateFormat: 'uk',<!-- /TMPL_IF -->
headers: { 1: { sorter: 'articles' },5: { sorter: false },6:{sorter:false},7:{sorter:false},8:{sorter:false}}
});
$("#issuest").bind("sortEnd",function() {
$("#previous").parents("tr").remove(); // 'previous checkouts' header chokes table sorter
});
- $("#holdst").tablesorter({<!-- TMPL_IF EXPR="dateformat eq 'metric'" -->
+ $("#holdst").tablesorter({<!-- TMPL_IF NAME="dateformat_metric" -->
dateFormat: 'uk',<!-- /TMPL_IF -->
sortList: [[0,0]],
headers: { 1: { sorter: 'articles' }}
<input type="text" name="barcode" id="barcode" class="barcode focus" size="14" /> <input type="submit" value="Check Out" />
<!-- TMPL_IF NAME="SpecifyDueDate" --><div class="date-select">
- <div class="hint">Specify Due Date:</div>
+ <div class="hint">Specify Due Date <!-- TMPL_INCLUDE NAME="date-format.inc" -->: </div>
<!-- TMPL_IF NAME="duedatespec" --><input type="text" size="10" id="duedatespec" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" /><!-- TMPL_ELSE --><input type="text" size="10" id="duedatespec" name="duedatespec" value="" />
<!-- /TMPL_IF -->
<img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="Show Calendar" border="0" id="CalendarDueDate" style="cursor: pointer;" />
singleClick : false
});
</script>
+<div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
</li>
<li>
<label for="dateto">Added on or before date</label>
align : "Tl",
});
</script>
+<div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
</li></ol>
</fieldset>
</script>
<!-- TMPL_IF NAME="mandatorydateofbirth" --><span class="required">Required</span><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="ERROR_dateofbirth" --><span class="required">(Error)</span><!-- /TMPL_IF -->
+ <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
</li>
<li>
<!-- TMPL_IF NAME="mandatoryinitials" -->
</script>
<!-- TMPL_IF NAME="mandatorydateenrolled" --><span class="required">Required</span><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="ERROR_dateenrolled" --><span class="required">(Error)</span><!-- /TMPL_IF -->
+ <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
</li>
<li>
<!-- TMPL_IF NAME="mandatorydateexpiry" -->
</script>
<!-- TMPL_IF NAME="mandatorydateexpiry" --><span class="required">Required</span><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="ERROR_dateexpiry" --><span class="required">(Error)</span><!-- /TMPL_IF -->
+ <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
</li>
<li>
<!-- TMPL_IF NAME="mandatoryopacnote" -->
});
//]]>
</script>
+ <span style="display:block;color:#666;font-weight:normal;font-size:90%;"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span>
</p>
<p>
<label>Forgive fines on return: <input type="checkbox" name="exemptfine" value="1" /></label>
);
//]]>
</script>
+ <span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span>
To <input size="10" id="to" name="Filter" type="text" value="" />
<img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="Show Calendar" id="openCalendarTo" style="cursor: pointer;" border="0" />
<script type="text/javascript">
);
//]]>
</script>
+ <span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span>
</td>
</tr>
<tr class="hilighted">
);
//]]>
</script>
+ <span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span>
To <input type="text" size="10" id="toRO" name="Filter" value="" />
<img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="Show Calendar" id="openCalendarToRO" style="cursor: pointer;" border="0" />
<script type="text/javascript">
);
//]]>
</script>
+ <span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span>
</td>
</tr>
<tr>
dateStatusFunc : validate2
}
);
- </script></li>
+ </script><span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span></li>
<li> <label for="fromRO">Check-in date from:</label> <input type="text" readonly="readonly" size="10" id="fromRO" name="Filter" />
<img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" border="0" id="openCalendarFromRO" style="cursor: pointer;" alt="Show Calendar" />
<script language="JavaScript" type="text/javascript">
dateStatusFunc : validate2
}
);
- </script></li>
+ </script><span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span></li>
<li>
<label for="branch">Library: </label>
<select name="Filter" id="branch"><option value="" > Any Library</option>
dateStatusFunc : validate2
});
//]]>
- </script>
+ </script><span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span>
</td>
</tr>
<tr>
dateStatusFunc : validate2
}
);
- </script></li>
+ </script> <span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span></li>
<li><label for="fromRO">Check-in date from</label> <input type="text" readonly="readonly" size="10" id="fromRO" name="Filter" />
<img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="Show Calendar" border="0" id="openCalendarFromRO" style="cursor: pointer;" />
<script language="JavaScript" type="text/javascript">
dateStatusFunc : validate2
}
);
- </script></li>
+ </script> <span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span></li>
<li><label for="branch">Library: </label>
<select name="Filter" id="branch"><option value="" > Any Library</option>
<!--TMPL_LOOP Name="branchloop"-->
align : "Tl"
});
</script>
+<div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
</td>
</tr>
<tr>
align : "Tl"
});
</script>
+<div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
</td>
</tr>
</table></td>
align : "Tl"
});
</script>
+ <span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span>
</td>
</tr>
<!-- TMPL_ELSE -->
align : "Tl"
});
</script>
+ <span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span>
</td>
</tr>
<!-- TMPL_ELSE -->
dateStatusFunc : validate2
}
);
- </script>
+ </script> <span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span>
</td>
</tr>
<tr class="hilighted">
dateStatusFunc : validate2
}
);
- </script>
+ </script> <span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span>
</td>
</tr>
<tr>
dateStatusFunc : validate2
});
//]]>
- </script>
+ </script> <span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span>
</td>
</tr>
<tr class="highlight">
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
}
);
- </script> <span class="required">Required</span></li>
+ </script> <span class="required">Required</span>
+ <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div></li>
</ol>
</fieldset>
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->"
});
//]]>
- </script>
+ </script> <span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span>
<input type="button" value="OK" onclick="filterByDate();" />
</li>
<label for="from">Date: from </label>
<input type="text" size="10" id="from" name="from" value="<!-- TMPL_VAR NAME="filter_date_approved_from" -->" />
<img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" border="0" alt="Show Calendar" style="cursor: pointer;" id="openCalendarFrom" />
- <br />
+ <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
+
<label for="to">...to </label>
<input type="text" size="10" id="to" name="to" value="<!-- TMPL_VAR NAME="filter_date_approved_to" -->" />
<img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" border="0" alt="Show Calendar" style="cursor: pointer;" id="openCalendarTo" />
+ <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
</li>
</ol>
<fieldset class="action"><input type="submit" value="Apply Filter(s)" /></fieldset>
});
//]]>
</script>
-<!-- TMPL_INCLUDE NAME="calendar.inc" -->
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
});
//]]>
</script>
-<!-- TMPL_INCLUDE NAME="calendar.inc" -->
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
});
//]]>
</script>
-<!-- TMPL_INCLUDE NAME="calendar.inc" -->
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
}
);
- </script></p>
+ </script> <span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span></p>
<p><input id="checkissue" type="checkbox" name="checkbox" value="issue" checked="checked" />
<label for="checkissue">Anonymize check-out history older than</label>
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
}
);
- </script></p>
+ </script> <span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span></p>
<!-- hidden here -->
}
);
</script>
+ <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
</li>
</ol>
</fieldset>
}
);
</script>
+ <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
</li>
<li><label for="ignoreissued">Skip copies on loan: </label>
<!-- TMPL_IF NAME="ignoreissued" -->
}
);
</script>
+ <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
</li>
<li>
<label for="expirationdate">Expiration date</label>
}
);
</script>
+ <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
</li>
<li>
<label for="number">Appear in position </label>
});
//]]>
</script>
-
+<div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
</li>
<li><label for="report">Report:</label>
<select name="report" id="report">
</select>
</li>
<li>
- <label for="object">Object</label>
+ <label for="object">Object: </label>
<input type="text" id="object" name="object" value="<!-- TMPL_VAR NAME="object"-->" />
</li>
<li>
<input type="text" id="info" name="info" value="<!-- TMPL_VAR NAME="info"-->" />
</li>
<li>
- <label for="from"> Display from</label> <input type="text" size="10" id="from" name="from" value="<!-- TMPL_VAR NAME="datefrom"-->" />
+ <label for="from"> Display from: </label> <input type="text" size="10" id="from" name="from" value="<!-- TMPL_VAR NAME="datefrom"-->" />
<img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" border="0" alt="Show Calendar" id="openCalendarFrom" style="cursor: pointer;" />
- <label for="to">to</label> <input size="10" id="to" name="to" type="text" value="<!-- TMPL_VAR NAME="dateto"-->" />
+ <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
+ </li>
+ <li>
+ <label for="to">Display to: </label> <input size="10" id="to" name="to" type="text" value="<!-- TMPL_VAR NAME="dateto"-->" />
<img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="openCalendarTo" alt="Show Calendar" style="cursor: pointer;" border="0" />
<script type="text/javascript">
//<![CDATA[
- // function submit_check (from_id,to_id) {
- // var dateFrom = Date_from_syspref(document.getElementById(from_id).value);
- // var dateTo = Date_from_syspref(document.getElementById( to_id).value);
- // var today = new Date();
- // if (dateFrom < dateTo) {
- // alert("The starting date cannot be after the ending date.");
- // document.getElementById(to_id).select();
- // return false;
- // }
- // if (dateFrom > today) {
- // alert("The starting date cannot be in the future.");
- // document.getElementById(from_id).select();
- // return false;
- // }
- // }
-
+
// return true if the date is blocked.
function disable_from(date) {var limit = get_Calendar_limit(date,'to' ); return (limit && limit < date);}
function disable_to (date) {var limit = get_Calendar_limit(date,'from'); return (limit && limit > date);}
-
+
Calendar.setup({
- inputField : "from",
- ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
- button : "openCalendarFrom",
- disableFunc : disable_from,
- dateStatusFunc : disable_from
+ inputField : "from",
+ ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
+ button : "openCalendarFrom",
+ disableFunc : disable_from,
+ dateStatusFunc : disable_from
});
Calendar.setup({
- inputField : "to",
- ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
- button : "openCalendarTo",
- disableFunc : disable_to,
- dateStatusFunc : disable_to
+ inputField : "to",
+ ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
+ button : "openCalendarTo",
+ disableFunc : disable_to,
+ dateStatusFunc : disable_to
});
//]]>
</script>
+ <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
</li>
</ol>
</fieldset>