aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch_dev/v_recordings.tmp
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-08-09 02:12:29 -0600
committermcrane <mctch@yahoo.com>2009-08-09 02:13:29 -0600
commit44f44e817107347cb73bc74a92c60e1a6fc63014 (patch)
treeee0e5e45769516e5e679e192880d8bd551df0817 /config/freeswitch_dev/v_recordings.tmp
parentd7d26e97b3928fb7e98cbf44dcbf4ef3523dbd19 (diff)
downloadpfsense-packages-44f44e817107347cb73bc74a92c60e1a6fc63014.tar.gz
pfsense-packages-44f44e817107347cb73bc74a92c60e1a6fc63014.tar.bz2
pfsense-packages-44f44e817107347cb73bc74a92c60e1a6fc63014.zip
FreeSWITCH dev package replace the rest of the hard coded paths, update wording, fix labels on a few pages, fix wav and mp3 download and play tools.
Diffstat (limited to 'config/freeswitch_dev/v_recordings.tmp')
-rw-r--r--config/freeswitch_dev/v_recordings.tmp22
1 files changed, 18 insertions, 4 deletions
diff --git a/config/freeswitch_dev/v_recordings.tmp b/config/freeswitch_dev/v_recordings.tmp
index 8cfff7d9..23075d79 100644
--- a/config/freeswitch_dev/v_recordings.tmp
+++ b/config/freeswitch_dev/v_recordings.tmp
@@ -30,8 +30,8 @@
require("guiconfig.inc");
require("/usr/local/pkg/v_config.inc");
-$a_recordings = &$config['installedpackages']['freeswitchrecordings']['config'];
-$dir_recordings = $v_recordings_dir.'/recordings/';
+$a_recordings = $config['installedpackages']['freeswitchrecordings']['config'];
+$dir_recordings = $v_recordings_dir.'/';
$dir_music_on_hold_8000 = $v_dir.'/sounds/music/8000/';
if ($_GET['a'] == "download") {
@@ -286,7 +286,14 @@ if ($config_change == 1) {
<form action="" method="POST" enctype="multipart/form-data" name="frmUpload" onSubmit="">
<table border='0'>
<tr>
- <td width='50%'><b>location:</b> <?php echo $dir_recordings; ?></td>
+ <td width='50%'>
+ <?php
+ if ($v_path_show) {
+ echo "<b>location:</b>";
+ echo $dir_recordings;
+ }
+ ?>
+ </td>
<td valign="top" class="label">
<input name="type" type="hidden" value="rec">
</td>
@@ -404,7 +411,14 @@ if ($config_change == 1) {
<form action="" method="POST" enctype="multipart/form-data" name="frmUpload" onSubmit="">
<table border='0'>
<tr>
- <td width='50%'><b>location:</b> <?php echo $dir_music_on_hold_8000; ?></td>
+ <td width='50%'>
+ <?php
+ if ($v_path_show) {
+ echo "<b>location:</b>";
+ echo $dir_music_on_hold_8000;
+ }
+ ?>
+ </td>
<td valign="top" class="label">
<input name="type" type="hidden" value="moh">
</td>