Added ability to show config for other clients
This commit is contained in:
parent
35f7fae20a
commit
b55ee4c636
|
@ -127,6 +127,15 @@
|
||||||
$ldapxml .= "</LdapConfig>";
|
$ldapxml .= "</LdapConfig>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if ($_SESSION["ldap"]["gs_other_client"]["numeric"] > 0){
|
||||||
|
$otherclient = "Registrar/Server:".$_SESSION['domain_name'].":".$_SESSION['provision']['line_sip_port']['numeric'].;
|
||||||
|
$otherclient .= "Username:".$username.
|
||||||
|
$otherclient .= "Password:".$field['password'].
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
// Use Default settings to set these
|
// Use Default settings to set these
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -210,6 +219,10 @@
|
||||||
echo "<img src=\"data:image/jpeg;base64,".base64_encode($ldapimage)."\" style='margin-top: 30px; padding: 5px; background: white; max-width: 100%;'>\n";
|
echo "<img src=\"data:image/jpeg;base64,".base64_encode($ldapimage)."\" style='margin-top: 30px; padding: 5px; background: white; max-width: 100%;'>\n";
|
||||||
echo "<p>LDAP QR Code</p>\n";
|
echo "<p>LDAP QR Code</p>\n";
|
||||||
}
|
}
|
||||||
|
if ($_SESSION["ldap"]["gs_other_client"]["numeric"] > 0){
|
||||||
|
|
||||||
|
echo "<p>"$otherclient"</p>\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "</div>\n";
|
echo "</div>\n";
|
||||||
|
|
Loading…
Reference in New Issue