[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/fr thesaurus_popup.tmpl,1.2,1.3
Paul POULAIN
tipaul at users.sourceforge.net
Fri Nov 14 23:01:17 CET 2003
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/fr
In directory sc8-pr-cvs1:/tmp/cvs-serv26385/koha-tmpl/intranet-tmpl/default/fr
Modified Files:
thesaurus_popup.tmpl
Log Message:
minor fixes in thesaurus_popup & authorities.pm
NEW plugin : the plugin that manages 60X field in UNIMARC (i think it's the same in marc21). Used to search a thesaurus entry & parse bibliothesaurus table for category NC (Common Name in french).
The user can enter a search term, and see entries corresponding. If the search is a real entry in the thesaurus, and this entry has dependencies, they are shown too.
For example, if the thesaurus contains :
Geo -- Europe -- France -- Marseille
Geo -- Europe -- France -- Paris
Hist -- Europe -- France -- Revolution
A search on "France"
shows
Geo --Europe --France and Hist -- Europe -- France on the left panel
When the user clic on Geo -- Europe -- France,
Marseille & Paris are shown on the right panel.
When the user selects a value, it's reported to the MARC editor.
NOTE : template ONLY IN FRENCH (but it's 11PM for instance, & i plan to go to bed :-) )
Index: thesaurus_popup.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/fr/thesaurus_popup.tmpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** thesaurus_popup.tmpl 5 Sep 2003 11:28:06 -0000 1.2
--- thesaurus_popup.tmpl 14 Nov 2003 22:00:44 -0000 1.3
***************
*** 8,26 ****
<br/><input type="button" value="OK" onClick="javascript:report()">
<p>
! <input type="text" name="search_string" value="<TMPL_VAR name="search_string">">
<input type="hidden" name="category" value="<TMPL_VAR name="category">">
<input type="hidden" name="index" value="<TMPL_VAR name="index">">
<input type="hidden" name="op" value="search">
! <input type="submit" value="Rechercher">
</p>
</form>
<TMPL_IF name="search_string">
<form name="f2_pop" action="thesaurus_popup.pl" method="post">
! <TMPL_VAR name="select_list">
<input type="hidden" name="category" value="<TMPL_VAR name="category">">
<input type="hidden" name="index" value="<TMPL_VAR name="index">">
<input type="hidden" name="op" value="select">
<input type="hidden" name="result" value="<TMPL_VAR name="result">">
! <input type="submit" name="OK" value="Sélectionner">
</form>
</TMPL_IF>
--- 8,35 ----
<br/><input type="button" value="OK" onClick="javascript:report()">
<p>
! Rechercher : <input type="text" name="search_string" value="<TMPL_VAR name="search_string">">
<input type="hidden" name="category" value="<TMPL_VAR name="category">">
<input type="hidden" name="index" value="<TMPL_VAR name="index">">
<input type="hidden" name="op" value="search">
! <input type="submit" value="OK">
</p>
</form>
+ <form name="f2_pop" action="thesaurus_popup.pl" method="post">
+ Descendre : <TMPL_VAR name="dig_list">
+ <input type="hidden" name="category" value="<TMPL_VAR name="category">">
+ <input type="hidden" name="index" value="<TMPL_VAR name="index">">
+ <input type="hidden" name="op" value="select">
+ <input type="hidden" name="result" value="<TMPL_VAR name="result">">
+ <input type="submit" name="OK" value="OK">
+ </form>
+
<TMPL_IF name="search_string">
<form name="f2_pop" action="thesaurus_popup.pl" method="post">
! Sélectionner : <TMPL_VAR name="select_list">
<input type="hidden" name="category" value="<TMPL_VAR name="category">">
<input type="hidden" name="index" value="<TMPL_VAR name="index">">
<input type="hidden" name="op" value="select">
<input type="hidden" name="result" value="<TMPL_VAR name="result">">
! <input type="submit" name="OK" value="OK">
</form>
</TMPL_IF>
More information about the Koha-cvs
mailing list