Bug 10459: Add tests for borrowers.updated_on
[koha.git] / cataloguing / value_builder / normarc_field_008.pl
index d58757b..b626d37 100755 (executable)
@@ -4,18 +4,18 @@
 #
 # This file is part of Koha.
 #
-# Koha is free software; you can redistribute it and/or modify it under the
-# terms of the GNU General Public License as published by the Free Software
-# Foundation; either version 2 of the License, or (at your option) any later
-# version.
+# Koha is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
 #
-# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
-# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
-# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
+# Koha is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
 #
-# You should have received a copy of the GNU General Public License along with
-# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
-# Suite 330, Boston, MA  02111-1307 USA
+# You should have received a copy of the GNU General Public License
+# along with Koha; if not, see <http://www.gnu.org/licenses>.
 
 use strict;
 use C4::Auth;
@@ -25,14 +25,6 @@ use C4::Context;
 use C4::Search;
 use C4::Output;
 
-=head1 FUNCTIONS
-
-=head2 plugin_parameters
-
-Other parameters added when the plugin is called by the dopop function
-
-=cut
-
 # find today's date
 my ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime(time);
 
@@ -40,11 +32,6 @@ $year += 1900;
 $mon  += 1;
 my $dateentered = substr($year, 2, 2) . sprintf("%0.2d", $mon) . sprintf("%0.2d", $mday);
 
-sub plugin_parameters {
-    my ($dbh, $record, $tagslib, $i, $tabloop) = @_;
-    return "";
-}
-
 sub plugin_javascript {
     my $lang = C4::Context->preference('DefaultLanguageField008' );
     $lang = "eng" unless $lang;
@@ -65,10 +52,6 @@ function Focus$function_name(subfield_managed) {
     return 1;
 }
 
-function Blur$function_name(subfield_managed) {
-       return 1;
-}
-
 function Clic$function_name(i) {
        defaultvalue=document.getElementById(\"$field_number\").value;
        defaultvalue=defaultvalue.replace(/ /g, \"+\");
@@ -188,5 +171,3 @@ sub plugin {
     );
     output_html_with_http_headers $input, $cookie, $template->output;
 }
-
-1;