[Jifty-commit] r5146 - in jifty/trunk: lib/Jifty/Plugin/OAuth
Jifty commits
jifty-commit at lists.jifty.org
Wed Feb 20 15:37:20 EST 2008
Author: sartak
Date: Wed Feb 20 15:37:12 2008
New Revision: 5146
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Plugin/OAuth/View.pm
Log:
r51956 at onn: sartak | 2008-02-20 15:36:28 -0500
Give each OAuth page an OAuth title and subtitle
Modified: jifty/trunk/lib/Jifty/Plugin/OAuth/View.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/OAuth/View.pm (original)
+++ jifty/trunk/lib/Jifty/Plugin/OAuth/View.pm Wed Feb 20 15:37:12 2008
@@ -37,6 +37,10 @@
=cut
template 'oauth' => page {
+ title => 'OAuth',
+ subtitle => 'Information',
+}
+content {
p {
b { a { attr { href => "http://oauth.net/" } "OAuth" } };
outs " is an open protocol to allow secure authentication to users' private data. It's far more secure than users giving out their passwords."
@@ -90,7 +94,10 @@
=cut
-template 'oauth/authorize' => page { title => 'Someone wants stuff!' }
+template 'oauth/authorize' => page {
+ title => 'OAuth',
+ subtitle => 'Someone wants stuff!',
+}
content {
show '/oauth/help';
@@ -134,7 +141,10 @@
=cut
-template 'oauth/authorized' => page { title => 'XXX' }
+template 'oauth/authorized' => page {
+ title => 'OAuth',
+ subtitle => 'Authorized',
+}
content {
my $result = get 'result';
my $callback = $result->content('callback');
More information about the Jifty-commit
mailing list