Bug 10676: Fix behaviour of OpacHiddenItems for items.restricted
[koha.git] / C4 / TmplTokenType.pm
index fc674b5..b2ebac8 100644 (file)
@@ -1,10 +1,27 @@
 package C4::TmplTokenType;
 
+# Copyright 2011 Tamil
+#
+# 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 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.
+#
+# 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 warnings; FIXME - Bug 2505
 require Exporter;
 
-use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
+use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
 
 ###############################################################################
 
@@ -21,7 +38,6 @@ The predefined constants are
 
 ###############################################################################
 
-$VERSION = 0.01;
 
 @ISA = qw(Exporter);
 @EXPORT_OK = qw(
@@ -66,15 +82,15 @@ sub to_string {
     return $this->{'name'}
 }
 
-sub TEXT               () { $_text }
-sub TEXT_PARAMETRIZED  () { $_text_parametrized }
-sub CDATA              () { $_cdata }
-sub TAG                        () { $_tag }
-sub DECL               () { $_decl }
-sub PI                 () { $_pi }
-sub DIRECTIVE          () { $_directive }
-sub COMMENT            () { $_comment }
-sub UNKNOWN            () { $_unknown }
+sub TEXT              { $_text }
+sub TEXT_PARAMETRIZED { $_text_parametrized }
+sub CDATA             { $_cdata }
+sub TAG               { $_tag }
+sub DECL              { $_decl }
+sub PI                { $_pi }
+sub DIRECTIVE         { $_directive }
+sub COMMENT           { $_comment }
+sub UNKNOWN           { $_unknown }
 
 ###############################################################################