[Koha-cvs] koha cataloguing/thesaurus_popup.pl koha-tmpl/i... [rel_3_0]
Antoine Farnault
antoine at koha-fr.org
Tue Sep 26 17:30:56 CEST 2006
CVSROOT: /sources/koha
Module name: koha
Branch: rel_3_0
Changes by: Antoine Farnault <toins> 06/09/26 15:30:56
Modified files:
cataloguing : thesaurus_popup.pl
Added files:
koha-tmpl/intranet-tmpl/prog/en/cataloguing:
thesaurus_popup.tmpl
Removed files:
koha-tmpl/intranet-tmpl/prog/en: thesaurus_popup.tmpl
Log message:
moving thesaurus_popup.tmpl to cataloguing/thesaurus_popup.pl
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/cataloguing/thesaurus_popup.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1&r2=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/cataloguing/thesaurus_popup.tmpl?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/thesaurus_popup.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.1&r2=0
Patches:
Index: cataloguing/thesaurus_popup.pl
===================================================================
RCS file: /sources/koha/koha/cataloguing/Attic/thesaurus_popup.pl,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -b -r1.1 -r1.1.2.1
--- cataloguing/thesaurus_popup.pl 17 Jan 2006 16:40:54 -0000 1.1
+++ cataloguing/thesaurus_popup.pl 26 Sep 2006 15:30:56 -0000 1.1.2.1
@@ -70,7 +70,7 @@
$search_string=$insert;
}
my ($template, $loggedinuser, $cookie)
- = get_template_and_user({template_name => "thesaurus_popup.tmpl",
+ = get_template_and_user({template_name => "cataloguing/thesaurus_popup.tmpl",
query => $input,
type => "intranet",
authnotrequired => 0,
Index: koha-tmpl/intranet-tmpl/prog/en/cataloguing/thesaurus_popup.tmpl
===================================================================
RCS file: koha-tmpl/intranet-tmpl/prog/en/cataloguing/thesaurus_popup.tmpl
diff -N koha-tmpl/intranet-tmpl/prog/en/cataloguing/thesaurus_popup.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ koha-tmpl/intranet-tmpl/prog/en/cataloguing/thesaurus_popup.tmpl 26 Sep 2006 15:30:56 -0000 1.1.2.1
@@ -0,0 +1,42 @@
+ <html>
+ <head>
+ <title>Thesaurus value builder for category <!-- TMPL_VAR name="category" --></title>
+ </head>
+ <body>
+ <form name="f_pop" action="cataloguing/thesaurus_popup.pl" method="post">
+ <textarea name="result" rows=10 cols=60><!-- TMPL_VAR name="result" --></textarea></br>
+ <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="nohierarchy" value="<!-- TMPL_VAR NAME="nohierarchy" -->">
+ <input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
+ <input type="hidden" name="op" value="search">
+ <input type="submit" value="Search">
+ <input type="button" value="OK" onClick="javascript:report()">
+ </form>
+<!-- TMPL_IF name="search_string" -->
+ <form name="f2_pop" action="cataloguing/thesaurus_popup.pl" method="post">
+ <!-- TMPL_VAR name="select_list" -->
+ <input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->"> <input type="hidden" name="nohierarchy" value="<!-- TMPL_VAR NAME="nohierarchy" -->">
+ <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 -->
+ <form name="f3_pop" action="cataloguing/thesaurus_popup.pl" method="post">
+ <input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
+ <input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->">
+ <input type="hidden" name="nohierarchy" value="<!-- TMPL_VAR NAME="nohierarchy" -->">
+ <input type="hidden" name="op" value="add">
+ insert a new authority : <input type="text" name="insert">
+ <input type="submit" name="NEW" value="NEW">
+ </form>
+ <script>
+ function report() {
+ opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value= document.f_pop.result.value;
+ self.close();
+ return false;
+ }
+ </script>
+ </body>
+ </html>
Index: koha-tmpl/intranet-tmpl/prog/en/thesaurus_popup.tmpl
===================================================================
RCS file: koha-tmpl/intranet-tmpl/prog/en/thesaurus_popup.tmpl
diff -N koha-tmpl/intranet-tmpl/prog/en/thesaurus_popup.tmpl
--- koha-tmpl/intranet-tmpl/prog/en/thesaurus_popup.tmpl 1 Sep 2006 08:08:49 -0000 1.1.2.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,42 +0,0 @@
- <html>
- <head>
- <title>Thesaurus value builder for category <!-- TMPL_VAR name="category" --></title>
- </head>
- <body>
- <form name="f_pop" action="cataloguing/thesaurus_popup.pl" method="post">
- <textarea name="result" rows=10 cols=60><!-- TMPL_VAR name="result" --></textarea></br>
- <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="nohierarchy" value="<!-- TMPL_VAR NAME="nohierarchy" -->">
- <input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
- <input type="hidden" name="op" value="search">
- <input type="submit" value="Search">
- <input type="button" value="OK" onClick="javascript:report()">
- </form>
-<!-- TMPL_IF name="search_string" -->
- <form name="f2_pop" action="cataloguing/thesaurus_popup.pl" method="post">
- <!-- TMPL_VAR name="select_list" -->
- <input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->"> <input type="hidden" name="nohierarchy" value="<!-- TMPL_VAR NAME="nohierarchy" -->">
- <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 -->
- <form name="f3_pop" action="cataloguing/thesaurus_popup.pl" method="post">
- <input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
- <input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->">
- <input type="hidden" name="nohierarchy" value="<!-- TMPL_VAR NAME="nohierarchy" -->">
- <input type="hidden" name="op" value="add">
- insert a new authority : <input type="text" name="insert">
- <input type="submit" name="NEW" value="NEW">
- </form>
- <script>
- function report() {
- opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value= document.f_pop.result.value;
- self.close();
- return false;
- }
- </script>
- </body>
- </html>
More information about the Koha-cvs
mailing list