[freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi signup.html, 1.10, 1.11
Ivan,,,
ivan at wavetail.420.am
Fri Jun 27 01:53:15 PDT 2008
- Previous message: [freeside-commits] freeside/fs_selfservice/FS-SelfService SelfService.pm, 1.32, 1.33
- Next message: [freeside-commits] freeside/httemplate/elements tr-checkboxes-table.html, NONE, 1.1 checkboxes-table.html, 1.3, 1.4 menu.html, 1.44, 1.45 select-agent.html, 1.7, 1.8 select-table.html, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi
In directory wavetail.420.am:/tmp/cvs-serv320/fs_selfservice/FS-SelfService/cgi
Modified Files:
signup.html
Log Message:
adding signup_server-service config
Index: signup.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi/signup.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- signup.html 29 Apr 2007 22:55:14 -0000 1.10
+++ signup.html 27 Jun 2008 08:53:13 -0000 1.11
@@ -1,4 +1,4 @@
-<HTML><HEAD><TITLE><%= $agent || 'ISP' %> Signup form</TITLE></HEAD>
+<HTML><HEAD><TITLE><%= $agent || ( $signup_service eq 'svc_phone' ? 'ITSP' : 'ISP' ) %> Signup form</TITLE></HEAD>
<BODY BGCOLOR="#e8e8e8" onUnload="myclose()">
<script language="JavaScript"><!--
var mywindow = -1;
@@ -256,32 +256,51 @@
</SELECT></TD>
</TR>
+<%=
+ if ( $signup_service eq 'svc_phone' ) {
+
+ $OUT .= '<TR><TD ALIGN="right">Phone number</TD><TD>'.
+ didselector().
+ '</TD></TR>';
+
+ $OUT .= <<ENDOUT;
+<TR>
+ <TD ALIGN="right">Voicemail PIN</TD>
+ <TD><INPUT TYPE="pin" NAME="pin" VALUE="$pin"></TD>
+</TR>
+ENDOUT
+
+ } else {
+
+ $OUT .= <<ENDOUT;
<TR>
<TD ALIGN="right">Username</TD>
- <TD><INPUT TYPE="text" NAME="username" VALUE="<%= $username %>"></TD>
+ <TD><INPUT TYPE="text" NAME="username" VALUE="$username"></TD>
</TR>
<TR>
<TD ALIGN="right">Password</TD>
- <TD><INPUT TYPE="password" NAME="_password" VALUE="<%= $_password %>"></TD>
+ <TD><INPUT TYPE="password" NAME="_password" VALUE="$_password"></TD>
</TR>
<TR>
<TD ALIGN="right">Re-enter Password</TD>
- <TD><INPUT TYPE="password" NAME="_password2" VALUE="<%= $_password2 %>"></TD>
+ <TD><INPUT TYPE="password" NAME="_password2" VALUE="$_password2"></TD>
</TR>
-<%=
- if ( $security_phrase ) {
- $OUT .= <<ENDOUT;
+ENDOUT
+
+ if ( $security_phrase ) {
+ $OUT .= <<SECPHRASE;
<TR>
<TD ALIGN="right">Security Phrase</TD>
<TD><INPUT TYPE="text" NAME="sec_phrase" VALUE="$sec_phrase">
</TD>
</TR>
-ENDOUT
- } else {
- $OUT .= '<INPUT TYPE="hidden" NAME="sec_phrase" VALUE="">';
+SECPHRASE
+ } else {
+ $OUT .= '<INPUT TYPE="hidden" NAME="sec_phrase" VALUE="">';
+ }
+
}
-%>
-<%=
+
if ( @svc_acct_pop ) {
$OUT .= '<TR><TD ALIGN="right">Access number</TD><TD>'.
popselector( 'popnum' => $popnum,
@@ -294,7 +313,9 @@
} else {
$OUT .= popselector(popnum=>$popnum, pops=>\@svc_acct_pop);
}
+
%>
+
</TABLE>
<%=
- Previous message: [freeside-commits] freeside/fs_selfservice/FS-SelfService SelfService.pm, 1.32, 1.33
- Next message: [freeside-commits] freeside/httemplate/elements tr-checkboxes-table.html, NONE, 1.1 checkboxes-table.html, 1.3, 1.4 menu.html, 1.44, 1.45 select-agent.html, 1.7, 1.8 select-table.html, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list