[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/catalogue ... [rel_3_0]
From: |
Antoine Farnault |
Subject: |
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/catalogue ... [rel_3_0] |
Date: |
Tue, 21 Nov 2006 14:38:40 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_3_0
Changes by: Antoine Farnault <toins> 06/11/21 14:38:40
Modified files:
koha-tmpl/intranet-tmpl/prog/en/catalogue: advsearch.tmpl
Log message:
Adding a search field works now (sanOp #27)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/catalogue/advsearch.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.9&r2=1.1.2.10
Patches:
Index: advsearch.tmpl
===================================================================
RCS file:
/sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/catalogue/Attic/advsearch.tmpl,v
retrieving revision 1.1.2.9
retrieving revision 1.1.2.10
diff -u -b -r1.1.2.9 -r1.1.2.10
--- advsearch.tmpl 16 Nov 2006 09:08:15 -0000 1.1.2.9
+++ advsearch.tmpl 21 Nov 2006 14:38:39 -0000 1.1.2.10
@@ -75,10 +75,10 @@
<option value="se" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR
NAME="selected" -->"<!-- /TMPL_IF -->> Series
Title</option>
</select>
- <input size="30" name="q" title="Enter search terms" value=""/>
+ <input type="text" size="30" name="q" title="Enter search terms"
value=""/>
<!-- TMPL_IF NAME="expanded_options" -->
<!-- TMPL_IF NAME="scan_index" --><!-- TMPL_VAR NAME="scan_index"
--><!-- /TMPL_IF -->
- <!-- TMPL_IF NAME="add_field" --><a href="" title="Add another
field">[+]</a><!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="add_field" --><a href="JavaScript:add_field();"
id="ButtonPlus" title="Add another field">[+]</a><!-- /TMPL_IF -->
<!-- /TMPL_IF -->
</p>
@@ -443,4 +443,18 @@
</div>
</form>
+<script type="text/JavaScript" language="JavaScript">
+ /**
+ * Function add_field();
+ * This function allows to display a new field to search.
+ */
+ function add_field() {
+ var ButtonPlus = document.getElementById('ButtonPlus');
+ var line = ButtonPlus.parentNode;
+ var dad = line.parentNode;
+ dad.appendChild(line.cloneNode(true));
+ line.removeChild(ButtonPlus);
+ }
+</script>
+
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/catalogue ... [rel_3_0], paul poulain, 2006/11/02
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/catalogue ... [rel_3_0], paul poulain, 2006/11/02
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/catalogue ... [rel_3_0], paul poulain, 2006/11/02
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/catalogue ... [rel_3_0], Antoine Farnault, 2006/11/02
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/catalogue ... [rel_3_0], Antoine Farnault, 2006/11/14
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/catalogue ... [rel_3_0], Antoine Farnault, 2006/11/14
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/catalogue ... [rel_3_0], paul poulain, 2006/11/15
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/catalogue ... [rel_3_0], paul poulain, 2006/11/15
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/catalogue ... [rel_3_0], paul poulain, 2006/11/16
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/catalogue ... [rel_3_0],
Antoine Farnault <=
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/catalogue ... [rel_3_0], Antoine Farnault, 2006/11/22
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/catalogue ... [rel_3_0], Antoine Farnault, 2006/11/22
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/catalogue ... [rel_3_0], paul poulain, 2006/11/24
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/catalogue ... [rel_3_0], Antoine Farnault, 2006/11/24