From cc6d7da804b83d437a62fcc93efcc26b2cc14b30 Mon Sep 17 00:00:00 2001 From: "renater.salaun" <renater.salaun@047e039d-479c-447e-8a29-aa6bf4a09bab> Date: Mon, 13 Oct 2014 07:18:44 +0000 Subject: [PATCH] Rename get_sp_list to account_wizard git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@21 047e039d-479c-447e-8a29-aa6bf4a09bab --- bin/account-manager-web.pl | 8 ++++---- .../web/{get_sp_list.tt2.html => account_wizard.tt2.html} | 0 templates/web/content.tt2.html | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) rename templates/web/{get_sp_list.tt2.html => account_wizard.tt2.html} (100%) diff --git a/bin/account-manager-web.pl b/bin/account-manager-web.pl index d7c1f51..3bc880c 100755 --- a/bin/account-manager-web.pl +++ b/bin/account-manager-web.pl @@ -33,7 +33,7 @@ my %format = ( ); my %actions = ('select_sp' => {'title_en' => 'Select your Service Provider' }, - 'get_sp_list' => {'title_en' => 'Select your Service Provider' }, + 'account_wizard' => {'title_en' => 'Select your Service Provider' }, 'generate_token' => {'title_en' => 'Generate an authentication token'}, 'validate_token' => {'title_en' => 'Validate an authentication token'}, ); @@ -110,7 +110,7 @@ sub new { }else { ## Default action &IdPAccountManager::Tools::do_log('info', "Default action"); - $request->{'action'} = 'get_sp_list'; + $request->{'action'} = 'account_wizard'; } bless $request, $pkg; @@ -229,8 +229,8 @@ sub respond { } } -## Return the list of known SPs -sub req_get_sp_list { +## Return the list of known SPs first +sub req_account_wizard { my $self = shift; &IdPAccountManager::Tools::do_log('info', ""); diff --git a/templates/web/get_sp_list.tt2.html b/templates/web/account_wizard.tt2.html similarity index 100% rename from templates/web/get_sp_list.tt2.html rename to templates/web/account_wizard.tt2.html diff --git a/templates/web/content.tt2.html b/templates/web/content.tt2.html index 3e97142..9432566 100644 --- a/templates/web/content.tt2.html +++ b/templates/web/content.tt2.html @@ -7,9 +7,9 @@ An error occured [% END %] -[% ELSIF action == 'get_sp_list' %] +[% ELSIF action == 'account_wizard' %] [% TRY %] - [% PROCESS 'templates/web/get_sp_list.tt2.html' %] + [% PROCESS 'templates/web/account_wizard.tt2.html' %] [% CATCH %] An error occured [% END %] -- GitLab