[freeside-commits] branch master updated. 085c3997c33b6aeb55eed0fee6db11b243a20081

Ivan ivan at 420.am
Fri Feb 6 16:51:15 PST 2015


The branch, master has been updated
       via  085c3997c33b6aeb55eed0fee6db11b243a20081 (commit)
      from  fbd41fb4bec0be8b74abf112bb70c7528342931a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 085c3997c33b6aeb55eed0fee6db11b243a20081
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Fri Feb 6 16:51:13 2015 -0800

    ng selfservice contact login, RT#27943

diff --git a/ng_selfservice/index.php b/ng_selfservice/index.php
index ec54686..540f1f8 100644
--- a/ng_selfservice/index.php
+++ b/ng_selfservice/index.php
@@ -10,6 +10,7 @@ extract($login_info);
 $error = $_GET['error'];
 if ( $error ) {
   $username = $_GET['username'];
+  $email    = $_GET['email'];
   $domain   = $_GET['domain'];
 }
 
@@ -22,23 +23,23 @@ if ( $error ) {
 
 <TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=2 CELLPADDING=0>
 
-<TR>
-  <TH ALIGN="right">Username </TH>
-  <TD>
-    <INPUT TYPE="text" NAME="username" VALUE="<? echo htmlspecialchars($username); ?>"><? if ( $single_domain ) { echo '@'.$single_domain; } ?>
-  </TD>
-</TR>
-
 <? if ( $single_domain ) { ?>
 
+  <TR>
+    <TH ALIGN="right">Username </TH>
+    <TD>
+      <INPUT TYPE="text" NAME="username" VALUE="<? echo htmlspecialchars($username); ?>"><? if ( $single_domain ) { echo '@'.$single_domain; } ?>
+    </TD>
+<  /TR>
+
   <INPUT TYPE="hidden" NAME="domain" VALUE="<? echo $single_domain ?>">
 
 <? } else { ?>
 
   <TR>
-    <TH ALIGN="right">Domain </TH>
+    <TH ALIGN="right">Email address </TH>
     <TD>
-      <INPUT TYPE="text" NAME="domain" VALUE="<? echo htmlspecialchars($domain); ?>">
+      <INPUT TYPE="text" NAME="email" VALUE="<? echo htmlspecialchars($email); ?>">
     </TD>
   </TR>
 

-----------------------------------------------------------------------

Summary of changes:
 ng_selfservice/index.php |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)




More information about the freeside-commits mailing list