diff options
author | mcrane <mctch@yahoo.com> | 2009-04-19 02:04:35 -0600 |
---|---|---|
committer | mcrane <mctch@yahoo.com> | 2009-04-19 02:04:35 -0600 |
commit | 9917ec285689b2088a8143af0e21a303d736b828 (patch) | |
tree | 5829c2a2fe76e329ae841db22ba2888c403a3c1d /config/freeswitch/freeswitch_public_includes.tmp | |
parent | 439e960cad49bffbe4ad306fe119bc4ac7d02366 (diff) | |
download | pfsense-packages-9917ec285689b2088a8143af0e21a303d736b828.tar.gz pfsense-packages-9917ec285689b2088a8143af0e21a303d736b828.tar.bz2 pfsense-packages-9917ec285689b2088a8143af0e21a303d736b828.zip |
FreeSWITCH remove trailing white spaces.
Diffstat (limited to 'config/freeswitch/freeswitch_public_includes.tmp')
-rw-r--r-- | config/freeswitch/freeswitch_public_includes.tmp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/config/freeswitch/freeswitch_public_includes.tmp b/config/freeswitch/freeswitch_public_includes.tmp index c1ef5086..1947d8ff 100644 --- a/config/freeswitch/freeswitch_public_includes.tmp +++ b/config/freeswitch/freeswitch_public_includes.tmp @@ -4,7 +4,7 @@ freeswitch_public_includes.php Copyright (C) 2008 Mark J Crane All rights reserved. - + FreeSWITCH (TM) http://www.freeswitch.org/ @@ -41,7 +41,7 @@ require("/usr/local/pkg/freeswitch.inc"); //default //enabled //descr - + //freeswitchpublicincludedetails //publicincludeid @@ -53,7 +53,7 @@ require("/usr/local/pkg/freeswitch.inc"); //tagorder //1-20 //fieldtype - + //fielddata @@ -63,7 +63,7 @@ $a_public_includes_details = &$config['installedpackages']['freeswitchpublicincl if ($_GET['act'] == "del") { if ($_GET['type'] == 'publicincludes') { - + if ($a_public_includes[$_GET['id']]) { $publicincludeid = $a_public_includes[$_GET['id']][publicincludeid]; @@ -71,7 +71,7 @@ if ($_GET['act'] == "del") { $extensionname = $a_public_includes[$_GET['id']][extensionname]; $order = $a_public_includes[$_GET['id']][order]; $publicincludefilename = $order."_".$extensionname.".xml"; - + //delete the public include details. aka. child data if (count($a_public_includes_details) > 0) { $i=0; @@ -81,17 +81,17 @@ if ($_GET['act'] == "del") { //echo "child id: ".$i."<br />\n"; unset($a_public_includes_details[$i]); } - $i++; + $i++; } } } - + //if the public include xml file exists then delete it if (file_exists("/usr/local/freeswitch/conf/public/default/".$publicincludefilename)) { unlink("/usr/local/freeswitch/conf/public/default/".$publicincludefilename); } - - unset($publicincludefilename); + + unset($publicincludefilename); unset($a_public_includes[$_GET['id']]); write_config(); sync_package_freeswitch_public_includes(); @@ -136,7 +136,7 @@ include("head.inc"); <td class="tabcont" > <form action="freeswitch_public_includes.php" method="post" name="iform" id="iform"> -<?php +<?php //echo "<pre>"; @@ -146,28 +146,28 @@ include("head.inc"); //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 recordings have been changed.<br>You must apply the changes in order for them to take effect."); //echo"<br />"; -//endif; +//endif; ?> <br /> <br /> - <table width="100%" border="0" cellpadding="0" cellspacing="0"> + <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td><span class="vexpl"><span class="red"><strong>Public </strong></span></span> </td> <td align='right'> <input type='button' value='public.xml' alt='' onclick="document.location.href='/pkg_edit.php?xml=freeswitch_public.xml&id=0';"> - </td> + </td> </tr> <tr> <td colspan='2'> @@ -175,14 +175,14 @@ include("head.inc"); The public dialplan is used to route incoming calls to destinations based on conditions and context. It can send incoming calls to IVRs, extensions, external numbers, and scripts. </span> </td> - + </tr> </table> <br /> <br /> - <br /> - + <br /> + <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="20%" class="listhdrr">Extension Name</td> @@ -199,9 +199,9 @@ include("head.inc"); </td> </tr> - <?php + <?php $i = 0; - if (count($a_public_includes) > 0) { + if (count($a_public_includes) > 0) { foreach ($a_public_includes as $ent) { if (strlen($ent['extensionname'].$ent['enabled']) > 0) { ?> @@ -227,7 +227,7 @@ include("head.inc"); </table> </td> </tr> - <?php + <?php } //end if strlen $i++; } //end for each @@ -250,7 +250,7 @@ include("head.inc"); <td class="list"></td> </tr> </table> - + </form> /usr/local/freeswitch/conf/dialplan/public/ |