Skip to content

Commit c0f2dd5

Browse files
committedJul 13, 2012
Fix missing use statement in WebGUI::Wizard::Setup
1 parent 476ddbd commit c0f2dd5

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed
 

‎lib/WebGUI/Wizard/Setup.pm

+17-15
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@ package WebGUI::Wizard::Setup;
33
use strict;
44
use base 'WebGUI::Wizard';
55

6+
use WebGUI::Wizard::HomePage;
7+
68
=head1 NAME
79
810
WebGUI::Wizard::Setup -- Initial site setup
911
1012
=head1 DESCRIPTION
1113
12-
A WebGUI::Wizard to perform initial site setup tasks like defining the Admin
14+
A WebGUI::Wizard to perform initial site setup tasks like defining the Admin
1315
account, entering basic information, and choosing a default style.
1416
1517
=head1 METHODS
@@ -27,7 +29,7 @@ sub _get_steps {
2729

2830
#----------------------------------------------------------------------------
2931

30-
=head2 canView ( )
32+
=head2 canView ( )
3133
3234
A user can view this wizard if the site is newly created or if they are the
3335
admin user
@@ -39,13 +41,13 @@ sub canView {
3941
my $session = $self->session;
4042

4143
# Only specialState="init" or admin user
42-
return $session->setting->get('specialState') eq 'init'
44+
return $session->setting->get('specialState') eq 'init'
4345
|| $session->user->getId eq '3';
4446
}
4547

4648
#----------------------------------------------------------------------------
4749

48-
=head2 wrapStyle ( $output )
50+
=head2 wrapStyle ( $output )
4951
5052
Wrap the output in the wizard style.
5153
@@ -81,11 +83,11 @@ body {
8183
}
8284
8385
h1 {
84-
position: absolute;
86+
position: absolute;
8587
top: 10px;
8688
padding: 0;
8789
margin: 0;
88-
padding-left: 120px;
90+
padding-left: 120px;
8991
9092
background: url(' . $session->url->extras('wg.png') . ') no-repeat;
9193
line-height: 100px;
@@ -125,7 +127,7 @@ h1 {
125127

126128
#----------------------------------------------------------------------------
127129

128-
=head2 www_adminAccount ( )
130+
=head2 www_adminAccount ( )
129131
130132
Display the form to configure the admin account
131133
@@ -179,7 +181,7 @@ sub www_adminAccount {
179181

180182
#----------------------------------------------------------------------------
181183

182-
=head2 www_adminAccountSave ( )
184+
=head2 www_adminAccountSave ( )
183185
184186
Process the form and update the Admin account
185187
@@ -225,7 +227,7 @@ sub www_adminAccountSave {
225227

226228
#----------------------------------------------------------------------------
227229

228-
=head2 www_companyInformation ( )
230+
=head2 www_companyInformation ( )
229231
230232
Enter basic company information
231233
@@ -268,7 +270,7 @@ sub www_companyInformation {
268270

269271
#----------------------------------------------------------------------------
270272

271-
=head2 www_companyInformationSave ( )
273+
=head2 www_companyInformationSave ( )
272274
273275
Update the company information
274276
@@ -286,7 +288,7 @@ sub www_companyInformationSave {
286288

287289
#----------------------------------------------------------------------------
288290

289-
=head2 www_siteStats ( )
291+
=head2 www_siteStats ( )
290292
291293
Opt-in to the global WebGUI statistics
292294
@@ -321,7 +323,7 @@ sub www_siteStats {
321323

322324
#----------------------------------------------------------------------------
323325

324-
=head2 www_siteStatsSave ( )
326+
=head2 www_siteStatsSave ( )
325327
326328
Opt-in to the global WebGUI statistics
327329
@@ -337,7 +339,7 @@ sub www_siteStatsSave {
337339

338340
#----------------------------------------------------------------------------
339341

340-
=head2 www_defaultStyle ( )
342+
=head2 www_defaultStyle ( )
341343
342344
Choose the default site style
343345
@@ -349,7 +351,7 @@ sub www_defaultStyle {
349351

350352
#----------------------------------------------------------------------------
351353

352-
=head2 www_defaultStyleSave ( )
354+
=head2 www_defaultStyleSave ( )
353355
354356
Save the default style to all existing pages and the user function style
355357
@@ -369,7 +371,7 @@ sub www_defaultStyleSave {
369371

370372
#----------------------------------------------------------------------------
371373

372-
=head2 www_cleanup ( )
374+
=head2 www_cleanup ( )
373375
374376
Give the user a choice to do the Home Page wizard
375377

0 commit comments

Comments
 (0)
Please sign in to comment.