X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Fsignup.html;h=def52991e8beb51b6384a3fb76e8eda529878f27;hb=ebeb3e934b36f6bdef358fe1b4264a9afb5a9c3b;hp=42334eadec81e9e1cca6976d806f764e98e77363;hpb=9509e5bfb7f9331303153cac24d7bfecbe2ea9f1;p=freeside.git diff --git a/fs_selfservice/FS-SelfService/cgi/signup.html b/fs_selfservice/FS-SelfService/cgi/signup.html index 42334eade..def52991e 100755 --- a/fs_selfservice/FS-SelfService/cgi/signup.html +++ b/fs_selfservice/FS-SelfService/cgi/signup.html @@ -1,6 +1,17 @@ -<%= $agent || 'ISP' %> Signup form - - -<%= $agent || 'ISP' %> Signup form

-<%= $error %> -
+ + +<%= $OUT .= $body_header + || ''. + ( $agent || ( $signup_service eq 'svc_phone' ? 'ITSP' : 'ISP' ) ). + ' Signup form

'; +%> + +<%= if ( $error ) { + $OUT .= ''. encode_entities($error). + '

'; + } +%> + + + + - + <%= - $OUT = join("\n",map { my $method = $_ ; map { qq|| } qw / payinfo payinfo1 payinfo2 payname paystate paytype paycvv month year type / } @payby); + $OUT = join("\n", + map { + my $method = $_ ; + map { qq|| } + qw( payinfo payinfo1 payinfo2 payname paystate paytype paycvv + month year type ) + } @payby + ); %> <%= - $OUT = join("\n", map { qq|| } qw / promo_code reg_code pkgpart username _password _password2 sec_phrase popnum / ); + $OUT = join("\n", + map { qq|| } + qw( promo_code reg_code pkgpart username _password _password2 + sec_phrase popnum domsvc mac_addr countrycode phonenum + sip_password pin ), + map { ( "tax_$_", "tax_${_}_num" ) } @exempt_groups + ); +%> + +<%= + if ($override_ban_warn) { + $OUT .= 'Are you sure you want to sign up again?

'; + } else { + $OUT .= ''; + } %> Where did you hear about our service? $OUT .= '
+ +

First package - +
+
+<%= + if ( $signup_service eq 'svc_phone' ) { + + $OUT .= ''; + + $OUT .= < + + + +ENDOUT + + } else { + + $OUT .= < - + +ENDOUT + + $OUT .= domainselector( svcpart=>$default_svcpart, domsvc=>$default_domsvc ) + if $default_svcpart; + + $OUT .= < - + - + -<%= - if ( $security_phrase ) { - $OUT .= < -ENDOUT - } else { - $OUT .= ''; +SECPHRASE + } else { + $OUT .= ''; + } + + if ( $nomadix ) { + + warn $mac_addr; + $mac_addr ||= $MA; + warn $mac_addr; + + $OUT .= < +NOMADIX + + } + } -%> -<%= + if ( @svc_acct_pop ) { $OUT .= '
Phone number'. + didselector( 'field' => 'phonenum', + 'svcpart' => $default_svcpart, + ). + '
Voicemail PIN
Username
Password + + + + + +
Re-enter Password
Security Phrase
Access number'. popselector( 'popnum' => $popnum, @@ -294,8 +438,11 @@ ENDOUT } else { $OUT .= popselector(popnum=>$popnum, pops=>\@svc_acct_pop); } + %> +
+ <%= if ( @optional_packages ) { @@ -318,15 +465,39 @@ if ( @optional_packages ) { $OUT = '' } %> - -
- +  +I agree to the Terms of Service. +]; + } +%> +
+ -
+ +<%= $OUT .= $body_footer %> + +