mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
HTML5 input tags for xmpp_profile_edit
This commit is contained in:
@@ -56,7 +56,7 @@ function show_advanced_config() {
|
||||
<?php echo $text['label-profile_name']?>:
|
||||
</td>
|
||||
<td width="70%" class='vtable' align='left'>
|
||||
<input class='formfld' type='text' name='profile_name' maxlength='255' value="<?php echo $profile['profile_name']; ?>">
|
||||
<input class='formfld' type='text' name='profile_name' maxlength='255' value="<?php echo $profile['profile_name']; ?>" required='required'>
|
||||
<br />
|
||||
<?php echo $text['description-profile_name']?>
|
||||
</td>
|
||||
@@ -67,7 +67,7 @@ function show_advanced_config() {
|
||||
<?php echo $text['label-username']?>:
|
||||
</td>
|
||||
<td class='vtable' align='left'>
|
||||
<input class='formfld' type='text' name='profile_username' autocomplete='off' maxlength='255' value="<?php echo $profile['profile_username'];?>">
|
||||
<input class='formfld' type='text' name='profile_username' autocomplete='off' maxlength='255' value="<?php echo $profile['profile_username'];?>" required='required'>
|
||||
<br />
|
||||
<?php echo $text['description-username']?>
|
||||
</td>
|
||||
@@ -78,7 +78,7 @@ function show_advanced_config() {
|
||||
<?php echo $text['label-password']?>:
|
||||
</td>
|
||||
<td class='vtable' align='left'>
|
||||
<input class='formfld' type='password' name='profile_password' autocomplete='off' id='profile_password' maxlength='50' onmouseover="this.type='text';" onfocus="this.type='text';" onmouseout="if (!$(this).is(':focus')) { this.type='password'; }" onblur="this.type='password';" value="<?php echo $profile['profile_password'];?>">
|
||||
<input class='formfld' type='password' name='profile_password' autocomplete='off' id='profile_password' maxlength='50' onmouseover="this.type='text';" onfocus="this.type='text';" onmouseout="if (!$(this).is(':focus')) { this.type='password'; }" onblur="this.type='password';" value="<?php echo $profile['profile_password'];?>" required='required'>
|
||||
<br />
|
||||
<?php echo $text['description-password']?>
|
||||
</td>
|
||||
@@ -114,7 +114,7 @@ function show_advanced_config() {
|
||||
<?php echo $text['label-default_exten']?>:
|
||||
</td>
|
||||
<td class='vtable' align='left'>
|
||||
<input class='formfld' type='text' name='default_exten' maxlength='255' value="<?php echo $profile['default_exten'];?>">
|
||||
<input class='formfld' type='text' name='default_exten' maxlength='255' value="<?php echo $profile['default_exten'];?>" required='required'>
|
||||
<br />
|
||||
<?php echo $text['description-default_exten']?>
|
||||
</td>
|
||||
@@ -140,7 +140,7 @@ function show_advanced_config() {
|
||||
<?php echo $text['label-context']?>:
|
||||
</td>
|
||||
<td width='70%' class='vtable' align='left'>
|
||||
<input class='formfld' type='text' name='context' maxlength='255' value="<?php echo $profile['context'];?>">
|
||||
<input class='formfld' type='text' name='context' maxlength='255' value="<?php echo $profile['context'];?>" required='required'>
|
||||
<br />
|
||||
<?php echo $text['description-context']?>
|
||||
</td>
|
||||
@@ -151,7 +151,7 @@ function show_advanced_config() {
|
||||
<?php echo $text['label-rtp_ip']?>:
|
||||
</td>
|
||||
<td class='vtable' align='left'>
|
||||
<input class='formfld' type='text' name='rtp_ip' maxlength='255' value="<?php echo $profile['rtp_ip'];?>">
|
||||
<input class='formfld' type='text' name='rtp_ip' maxlength='255' value="<?php echo $profile['rtp_ip'];?>" required='required'>
|
||||
<br />
|
||||
<?php echo $text['description-rtp_ip']?>
|
||||
</td>
|
||||
@@ -162,7 +162,7 @@ function show_advanced_config() {
|
||||
<?php echo $text['label-ext_rtp_ip']?>:
|
||||
</td>
|
||||
<td class='vtable' align='left'>
|
||||
<input class='formfld' type='text' name='ext_rtp_ip' maxlength='255' value="<?php echo $profile['ext_rtp_ip'];?>">
|
||||
<input class='formfld' type='text' name='ext_rtp_ip' maxlength='255' value="<?php echo $profile['ext_rtp_ip'];?>" required='required'>
|
||||
<br />
|
||||
<?php echo $text['description-ext_rtp_ip']?>
|
||||
</td>
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
Contributor(s):
|
||||
Ken Rice <krice@tollfreegateway.com>
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>
|
||||
*/
|
||||
|
||||
include "root.php";
|
||||
@@ -242,4 +243,4 @@ if ($fp) {
|
||||
|
||||
include "update_complete.php";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user