[Koha-cvs] koha/koha-tmpl/opac-tmpl/prog/en opac-main.tmpl [rel_3_0]

paul poulain paul at koha-fr.org
Thu Jan 11 15:36:44 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	paul poulain <tipaul>	07/01/11 14:36:44

Modified files:
	koha-tmpl/opac-tmpl/prog/en: opac-main.tmpl 

Log message:
	adding Opac Browser feature : the build_browser_and_cloud.pl script will :
	- fill the browser table, that enable browsing, digit by digit of a given category, the catalogue. A complete dewey classification is provided in the script, active only for french libraries, of course (although, for instance, the script check that the catalogue is in english for developping convenience)
	- fill the tags table, that contains the subject cloud.
	
	The cloud part is a copy of the previous build_tags.pl script that can be deleted : those 2 scripts require to parse all the catalogue to extract interesting data, so they are long. It's useless to parse the catalogue twice !
	
	The commit also add the systempreference to hide/show the OpacBrowse in database & in systempref management script.
	
	IMPROVEMENTS to do :
	- the script that builds the tables can be improved to update only last week biblios (at the price of a small error in value links, but it's not a problem).
	- add, in parameters section, a place to edit browser descriptions. The build script has to be updated to to avoid deleting existing browser descriptions.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/prog/en/opac-main.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.11&r2=1.1.2.12

Patches:
Index: opac-main.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/prog/en/opac-main.tmpl,v
retrieving revision 1.1.2.11
retrieving revision 1.1.2.12
diff -u -b -r1.1.2.11 -r1.1.2.12
--- opac-main.tmpl	10 Jan 2007 17:15:51 -0000	1.1.2.11
+++ opac-main.tmpl	11 Jan 2007 14:36:44 -0000	1.1.2.12
@@ -31,6 +31,9 @@
     <input type="submit" value="Search" class="submit" /> <i>(<a href="/cgi-bin/koha/opac-search.pl">more search options</a>)</i>
     </li>
     </form>
+    <!-- TMPL_IF name="OpacBrowser" -->
+        <li><a href="/cgi-bin/koha/opac-browser.pl">Browse the Catalogue</a>, through a hierarchy of subjects</li>
+    <!-- /TMPL_IF -->
     <!-- TMPL_IF name="OpacAuthorities" -->
         <li>Query the <a href="/cgi-bin/koha/opac-authorities-home.pl">authorities</a></li>
     <!-- /TMPL_IF -->





More information about the Koha-cvs mailing list