[interchange-cvs] interchange - docelic modified code/UserTag/var.tag

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Fri Sep 24 08:01:48 EDT 2004


User:      docelic
Date:      2004-09-24 12:01:48 GMT
Modified:  code/UserTag var.tag
Log:
Documented it in xmldocs, fixed header

Revision  Changes    Path
1.8       +6 -11     interchange/code/UserTag/var.tag


rev 1.8, prev_rev 1.7
Index: var.tag
===================================================================
RCS file: /var/cvs/interchange/code/UserTag/var.tag,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- var.tag	11 Feb 2004 22:06:06 -0000	1.7
+++ var.tag	24 Sep 2004 12:01:48 -0000	1.8
@@ -1,18 +1,12 @@
-# [var name=variablename global=1|2 filter=somefilter]
-#
-# This tag allows access to variables within other variables (or
-# anywhere else, but in regular pages the direct non-tag notations
-# shown on the right-hand side below are faster).
-#
-# [var VARIABLE]   is equivalent to __VARIABLE__
-# [var VARIABLE 1] is equivalent to @@VARIABLE@@
-# [var VARIABLE 2] is equivalent to @_VARIABLE_@
-#
+# Copyright 2002 Interchange Development Group (http://www.icdevgroup.org)
+# Licensed under the GNU GPL v2. See file LICENSE for details.
+# $Id: var.tag,v 1.8 2004/09/24 12:01:48 docelic Exp $
+
 UserTag var Interpolate 1
 UserTag var Order name global filter
 UserTag var Routine <<EOR
 sub {
-    my ($key, $global, $filter) = @_;
+	my ($key, $global, $filter) = @_;
 	my $value;
 	if ($global and $global != 2) {
 		$value = $Global::Variable->{$key};
@@ -32,3 +26,4 @@
 	return $value;
 }
 EOR
+








More information about the interchange-cvs mailing list