[freeside-commits] branch FREESIDE_3_BRANCH updated. e8827baf5db833a6d457c8e2f938b94b129090ff

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


The branch, FREESIDE_3_BRANCH has been updated
       via  e8827baf5db833a6d457c8e2f938b94b129090ff (commit)
      from  c6df7ad114570d49e51ef1f806b83bb7e1a1bca8 (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 e8827baf5db833a6d457c8e2f938b94b129090ff
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Fri Feb 6 16:51:16 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