summaryrefslogtreecommitdiff
path: root/rt/html/Elements/QueryString
diff options
context:
space:
mode:
authorivan <ivan>2004-11-11 12:13:50 +0000
committerivan <ivan>2004-11-11 12:13:50 +0000
commitb8cfd0780aa40bb07f3215bf9cb58011f5e32a35 (patch)
tree5b5deb6f64cf6eb9f4630675725b59e7bfad137a /rt/html/Elements/QueryString
parent0a2e57727e8f00fdc8ec4596619fb206c95fa919 (diff)
parentc582e92888b4a5553e1b4e5214cf35217e4a0cf0 (diff)
This commit was generated by cvs2svn to compensate for changes in r3874,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'rt/html/Elements/QueryString')
-rw-r--r--rt/html/Elements/QueryString7
1 files changed, 7 insertions, 0 deletions
diff --git a/rt/html/Elements/QueryString b/rt/html/Elements/QueryString
new file mode 100644
index 000000000..36c467938
--- /dev/null
+++ b/rt/html/Elements/QueryString
@@ -0,0 +1,7 @@
+<%init>
+my @params;
+while ( (my $key, my $value) = each %ARGS ){
+ push @params, $key."=".$m->interp->apply_escapes($value,'u');
+}
+return(join('&',@params));
+</%init>