[Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en/includes doc-he... [dev_week]
Joshua Ferraro
jmf at kados.org
Mon Jul 24 07:44:30 CEST 2006
CVSROOT: /sources/koha
Module name: koha
Branch: dev_week
Changes by: Joshua Ferraro <kados> 06/07/24 05:44:30
Modified files:
koha-tmpl/opac-tmpl/npl/en/includes: doc-head-close.inc
Added files:
koha-tmpl/opac-tmpl/npl/en/includes: opac-facets.inc
Log message:
moving facets into their own include for now to help
organize things better
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/npl/en/includes/doc-head-close.inc?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.11.2.2&r2=1.1.2.11.2.3
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/npl/en/includes/opac-facets.inc?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
Patches:
Index: doc-head-close.inc
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/npl/en/includes/doc-head-close.inc,v
retrieving revision 1.1.2.11.2.2
retrieving revision 1.1.2.11.2.3
diff -u -b -r1.1.2.11.2.2 -r1.1.2.11.2.3
--- doc-head-close.inc 24 Jul 2006 05:26:19 -0000 1.1.2.11.2.2
+++ doc-head-close.inc 24 Jul 2006 05:44:30 -0000 1.1.2.11.2.3
@@ -23,7 +23,7 @@
</style>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="opacfacets" -->
-<!-- TMPL_INCLUDE NAME="opacfacets.inc" -->
+<!-- TMPL_INCLUDE NAME="opac-facets.inc" -->
<!-- /TMPL_IF -->
<script language="javascript" type="text/javascript">
function Help() {
Index: opac-facets.inc
===================================================================
RCS file: opac-facets.inc
diff -N opac-facets.inc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ opac-facets.inc 24 Jul 2006 05:44:30 -0000 1.1.2.1
@@ -0,0 +1,95 @@
+<!-- Tigra Menus -->
+<style type="text/css">
+.intd td {
+ padding: 0;
+}
+i_txt0_0 {
+ color: #000000;
+ font-size: 14px;
+}
+td .intd {
+ width: 100px;
+}
+.intd table {
+ border-collapse: separate;
+ margin : 0;
+ padding : 0;
+}
+.ctrl {
+ padding:0;
+}
+</style>
+<script type="text/javascript" language="javascript" src="<!-- TMPL_VAR NAME="themelang" -->/includes/tigra/tree.js"></script>
+<script type="text/javascript" language="javascript" src="<!-- TMPL_VAR NAME="themelang" -->/includes/tigra/tree_tpl.js"></script>
+<script type="text/javascript" language="javascript">
+
+<!-- TMPL_IF NAME="total" -->
+
+var LIMITS_TREE = [
+['Further limit search to', null,
+
+ <!-- TMPL_IF NAME=branchloop -->
+ ['Branch', 'null',
+ <!-- TMPL_LOOP NAME=branchloop -->
+ ['<!-- TMPL_VAR NAME=branchname -->','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and branch=<!-- TMPL_VAR NAME=value -->'],
+ <!-- /TMPL_LOOP -->
+ ],
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME=itemtypeloop -->
+ ['Collection Code', 'null',
+ <!-- TMPL_LOOP NAME=itemtypeloop -->
+ ['<!-- TMPL_VAR NAME=description -->','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and collection=<!-- TMPL_VAR NAME=value -->'],
+ <!-- /TMPL_LOOP -->
+ ],
+ <!-- /TMPL_IF -->
+
+ ['Format', 'null',
+ ['Regular Print','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and material-category=t and material-designation=a'],
+ ['Large Print','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and material-category=t and material-designation=b'],
+ ['Braille','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and material-category=t and material-designation=b'],
+ ['Manuscript','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and material-category=t and material-designation=a'],
+ ['Microform','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and material-category=t and material-designation=a'],
+ ['CD Audio','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and material-category=t and material-designation=a'],
+ ['Cassette Recording','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and material-category=t and material-designation=a'],
+ ['LP Recording','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and material-category=t and material-designation=a'],
+ ['Videocassette (VHS)','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and material-category=v and material-designation=f'],
+ ['Videodisk (DVD)','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and material-category=v and material-designation=d'],
+ ['CD-ROM (Computer)','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and material-category=c and material-designation=o'],
+ ],
+ ['Audience', 'null',
+ ['Easy','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and (audience=a or audience=b)' ],
+ ['Juvenile','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and (audience=j or audience=c)' ],
+ ['Young Adult','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and audience=d' ],
+ ['Adult','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and audience=e' ],
+ ],
+ ['Content', 'null',
+ ['Fiction',''],
+ ['Non-Fiction',''],
+ ['Biography',''],
+ ['Mystery',''],
+ ['Thesis/Dissertation',''],
+ ['Musical Recording',''],
+ ['non-Musical Recording',''],
+ ],
+ ['Language', 'null',
+ ['中文','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and language=chi'],
+ ['deutsch','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and language=ger'],
+ ['english','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and language=eng'],
+ ['español','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and language=spa'],
+ ['français','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and language=fre'],
+ ['italiano','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and language=ita'],
+ ['日本語','/cgi-bin/koha/opac-zoomsearch.pl?op=get_results&ccl_query=<!-- TMPL_VAR NAME=searchdesc --> and language=jpn'],
+ ],
+
+ ],
+];
+<!-- TMPL_ELSE -->
+var LIMITS_TREE = '';
+<!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="facets" -->
+<!-- TMPL_VAR NAME="facets" -->
+<!-- TMPL_ELSE -->
+<!-- TMPL_VAR NAME="default_facets" -->
+<!-- /TMPL_IF -->
+</script>
+<!-- /Tigra -->
More information about the Koha-cvs
mailing list