diff options
Diffstat (limited to 'config/freeswitch/freeswitch_extensions.tmp')
-rw-r--r-- | config/freeswitch/freeswitch_extensions.tmp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/config/freeswitch/freeswitch_extensions.tmp b/config/freeswitch/freeswitch_extensions.tmp index 3b25e98e..5c0db6a3 100644 --- a/config/freeswitch/freeswitch_extensions.tmp +++ b/config/freeswitch/freeswitch_extensions.tmp @@ -4,7 +4,7 @@ freeswitch_extensions.php Copyright (C) 2008 Mark J Crane All rights reserved. - + FreeSWITCH (TM) http://www.freeswitch.org/ @@ -83,21 +83,21 @@ include("head.inc"); <td class="tabcont" > <form action="freeswitch_extensions.php" method="post" name="iform" id="iform"> -<?php +<?php if ($config_change == 1) { write_config(); - $config_change = 0; + $config_change = 0; } -//if ($savemsg) print_info_box($savemsg); +//if ($savemsg) print_info_box($savemsg); //if (file_exists($d_hostsdirty_path)): echo"<p>"; //print_info_box_np("The FreeSWITCH extensions have been changed.<br>You must apply the changes in order for them to take effect."); //echo"<br />"; -//endif; +//endif; ?> - <table width="100%" border="0" cellpadding="6" cellspacing="0"> + <table width="100%" border="0" cellpadding="6" cellspacing="0"> <tr> <td><p><span class="vexpl"><span class="red"><strong>Extensions<br> </strong></span> @@ -126,24 +126,24 @@ if ($config_change == 1) { </tr> - <?php - + <?php + $i = 0; if (count($a_extensions) > 0) { foreach ($a_extensions as $ent) { - + ?> <tr> <td class="listr" ondblclick="document.location='freeswitch_extensions_edit.php?id=<?=$i;?>';"> <?=$ent['extension'];?> - </td> + </td> <td class="listr" ondblclick="document.location='freeswitch_extensions_edit.php?id=<?=$i;?>';"> <?=$ent['vm-mailto'];?> </td> <td class="listr" ondblclick="document.location='freeswitch_extensions_edit.php?id=<?=$i;?>';"> <?=$ent['callgroup'];?> - </td> + </td> <td class="listbg" ondblclick="document.location='freeswitch_extensions_edit.php?id=<?=$i;?>';"> <font color="#FFFFFF"><?=htmlspecialchars($ent['description']);?> </td> @@ -156,16 +156,16 @@ if ($config_change == 1) { </table> </td> </tr> - <?php + <?php - $i++; + $i++; } } ?> <tr> <td class="list" colspan="4"></td> - <td class="list"> + <td class="list"> <table border="0" cellspacing="0" cellpadding="1"> <tr> <td width="17"></td> @@ -181,7 +181,7 @@ if ($config_change == 1) { <td class="list"></td> </tr> </table> - + </form> |