From 32b0ff14cda17d53a18b591185325c5735a0f19b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Kr=C3=B6ll?= Date: Mon, 1 Dec 2008 22:20:34 +0100 Subject: Pass through params to stylesheet --- lib/PAUSE/OpenID/Controller/Root.pm | 5 +++++ root/templates/index.xsl | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/PAUSE/OpenID/Controller/Root.pm b/lib/PAUSE/OpenID/Controller/Root.pm index c37b2c2..ba6db5d 100644 --- a/lib/PAUSE/OpenID/Controller/Root.pm +++ b/lib/PAUSE/OpenID/Controller/Root.pm @@ -32,6 +32,11 @@ sub index :Path :Args(0) { $c->stash->{xml} =< XML + + # Pass through parameters (unchecked for now) + foreach my $key ( keys %{$c->req->params} ) { + $c->stash->{$key} = $c->req->param($key); + } # Hello World $c->forward('PAUSE::OpenID::View::XSLT'); diff --git a/root/templates/index.xsl b/root/templates/index.xsl index adca9c6..c471513 100644 --- a/root/templates/index.xsl +++ b/root/templates/index.xsl @@ -7,7 +7,7 @@ doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" indent="no"/> - + @@ -19,7 +19,7 @@ -

The website '' wants to verify your PAUSE identity.

+

The website '' wants to verify your PAUSE identity.

-- cgit v1.2.3