File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 17
17
* Maintainer: Paul White <[email protected] >
18
18
*******************************************************************/
19
19
20
+ // Check for play_audio right off the bat on legacy fpbx
21
+ if ($ tts_legacy_fpbx == true ) {
22
+ if ($ _REQUEST ['action ' ] == "play_audio " ) {
23
+ include_once (dirname (__FILE__ ) . "/play_audio.php " );
24
+ exit ;
25
+ }
26
+ }
27
+
20
28
// Include the crypt helper for our audio player
21
29
require_once (dirname (__FILE__ ) . '/helpers/crypt.helper.php ' );
22
30
31
+ // Include the form helper, just in case this is a pre 2.10 freepbx
32
+ // system which doesn't include it by default
33
+ require_once (dirname (__FILE__ ) . '/helpers/form.helper.php ' );
34
+
23
35
// Reset our page tab order
24
36
$ tabindex = 0 ;
25
37
38
50
$ _REQUEST ['destination ' ] = '' ;
39
51
}
40
52
53
+
41
54
// Process our form variables
42
55
$ tts_vars = texttospeech_process_request ($ _REQUEST );
56
+ texttospeech_debug_prefix ($ tts_vars );
57
+
43
58
44
59
// Handle form actions
45
60
switch ($ action ) {
83
98
// Load our config information from the database
84
99
$ tts_vars = texttospeech_load_entry ($ tts_vars ['id ' ]);
85
100
}
101
+
86
102
break ;
87
103
88
104
}
92
108
// Output rnav list
93
109
include_once (dirname (__FILE__ ) . '/views/rnav.php ' );
94
110
111
+
95
112
// Global table used multiple tiles
96
113
$ table = new CI_Table ;
97
114
137
154
</h6>
138
155
<?php
139
156
157
+
140
158
// Output Javascript
141
159
include_once (dirname (__FILE__ ) . '/views/javascript.php ' );
142
160
You can’t perform that action at this time.
0 commit comments