Changeset 11109
- Timestamp:
- 01/25/11 01:55:59 (2 years ago)
- Files:
-
- modules/branches/2.9/announcement/install.php (modified) (1 diff)
- modules/branches/2.9/backup/install.php (modified) (1 diff)
- modules/branches/2.9/cidlookup/install.php (modified) (1 diff)
- modules/branches/2.9/conferences/install.php (modified) (1 diff)
- modules/branches/2.9/core/install.php (modified) (1 diff)
- modules/branches/2.9/daynight/install.php (modified) (1 diff)
- modules/branches/2.9/directory/install.php (modified) (1 diff)
- modules/branches/2.9/directory/uninstall.php (modified) (1 diff)
- modules/branches/2.9/endpointman/install.php (modified) (1 diff)
- modules/branches/2.9/fax/install.php (modified) (1 diff)
- modules/branches/2.9/findmefollow/install.php (modified) (1 diff)
- modules/branches/2.9/framework/install.php (modified) (1 diff)
- modules/branches/2.9/fw_ari/install.php (modified) (1 diff)
- modules/branches/2.9/fw_fop/install.php (modified) (1 diff)
- modules/branches/2.9/fw_langpacks/install.php (modified) (1 diff)
- modules/branches/2.9/iaxsettings/install.php (modified) (1 diff)
- modules/branches/2.9/ivr/install.php (modified) (1 diff)
- modules/branches/2.9/manager/install.php (modified) (1 diff)
- modules/branches/2.9/outroutemsg/install.php (modified) (1 diff)
- modules/branches/2.9/parking/install.php (modified) (1 diff)
- modules/branches/2.9/phpagiconf/install.php (modified) (1 diff)
- modules/branches/2.9/pinsets/install.php (modified) (1 diff)
- modules/branches/2.9/queues/install.php (modified) (1 diff)
- modules/branches/2.9/recordings/install.php (modified) (1 diff)
- modules/branches/2.9/restart/install.php (modified) (1 diff)
- modules/branches/2.9/ringgroups/install.php (modified) (1 diff)
- modules/branches/2.9/sipsettings/install.php (modified) (1 diff)
- modules/branches/2.9/sipstation/install.php (modified) (1 diff)
- modules/branches/2.9/timeconditions/install.php (modified) (1 diff)
- modules/branches/2.9/vmblast/install.php (modified) (1 diff)
- modules/branches/2.9/voicemail/install.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.9/announcement/install.php
r8342 r11109 17 17 // Copyright 2006 Greg MacLellan 18 18 // 19 if (! function_exists("out")) {20 function out($text) {21 echo $text."<br />";22 }23 }24 25 if (! function_exists("outn")) {26 function outn($text) {27 echo $text;28 }29 }30 31 19 global $db; 32 20 global $amp_conf; modules/branches/2.9/backup/install.php
r11027 r11109 25 25 global $db; 26 26 global $amp_conf; 27 28 if (! function_exists("out")) {29 function out($text) {30 echo $text."<br />";31 }32 }33 34 if (! function_exists("outn")) {35 function outn($text) {36 echo $text;37 }38 }39 27 40 28 $autoincrement = (($amp_conf["AMPDBENGINE"] == "sqlite") || ($amp_conf["AMPDBENGINE"] == "sqlite3")) ? "AUTOINCREMENT":"AUTO_INCREMENT"; modules/branches/2.9/cidlookup/install.php
r8664 r11109 18 18 global $db; 19 19 global $amp_conf; 20 21 if (! function_exists("out")) {22 function out($text) {23 echo $text."<br />";24 }25 }26 27 if (! function_exists("outn")) {28 function outn($text) {29 echo $text;30 }31 }32 20 33 21 $autoincrement = (($amp_conf["AMPDBENGINE"] == "sqlite") || ($amp_conf["AMPDBENGINE"] == "sqlite3")) ? "AUTOINCREMENT":"AUTO_INCREMENT"; modules/branches/2.9/conferences/install.php
r9099 r11109 1 1 <?php 2 if (! function_exists("out")) {3 function out($text) {4 echo $text."<br />";5 }6 }7 8 if (! function_exists("outn")) {9 function outn($text) {10 echo $text;11 }12 }13 14 2 global $db; 15 3 global $amp_conf; modules/branches/2.9/core/install.php
r11057 r11109 31 31 _("In-Call Asterisk Toggle Call Recording"); 32 32 _("In-Call Asterisk Disconnect Code"); 33 }34 35 if (! function_exists("out")) {36 function out($text) {37 echo $text."<br />";38 }39 }40 41 if (! function_exists("outn")) {42 function outn($text) {43 echo $text;44 }45 33 } 46 34 modules/branches/2.9/daynight/install.php
r11026 r11109 5 5 global $db; 6 6 global $amp_conf; 7 8 if (! function_exists("out")) {9 function out($text) {10 echo $text."<br />";11 }12 }13 14 if (! function_exists("outn")) {15 function outn($text) {16 echo $text;17 }18 }19 7 20 8 $sql = "CREATE TABLE IF NOT EXISTS daynight modules/branches/2.9/directory/install.php
r10867 r11109 1 1 <?php 2 2 global $db, $amp_conf; 3 4 if (! function_exists("out")) {5 function out($text) {6 echo $text."<br />";7 }8 }9 10 if (! function_exists("outn")) {11 function outn($text) {12 echo $text;13 }14 }15 3 16 4 $autoincrement = (($amp_conf["AMPDBENGINE"] == "sqlite") || ($amp_conf["AMPDBENGINE"] == "sqlite3")) ? "AUTOINCREMENT":"AUTO_INCREMENT"; modules/branches/2.9/directory/uninstall.php
r10867 r11109 1 1 <?php 2 if (! function_exists("out")) {3 function out($text) {4 echo $text."<br />";5 }6 }7 8 if (! function_exists("outn")) {9 function outn($text) {10 echo $text;11 }12 }13 2 outn(_('dropping directory_details, directory_entries..')); 14 3 sql('DROP TABLE IF EXISTS directory_details, directory_entries'); modules/branches/2.9/endpointman/install.php
r11086 r11109 7 7 * @package Endpoint Manager 8 8 */ 9 10 // Leaving these conditional functions for now since this module is used 11 // by some earlier releases of FreePBX which may not have them. 12 // 9 13 if (! function_exists("out")) { 10 14 function out($text) { modules/branches/2.9/fax/install.php
r10609 r11109 4 4 if (false) { 5 5 _("Dial System FAX"); 6 }7 8 if (! function_exists("out")) {9 function out($text) {10 echo $text."<br />";11 }12 }13 14 if (! function_exists("outn")) {15 function outn($text) {16 echo $text;17 }18 6 } 19 7 modules/branches/2.9/findmefollow/install.php
r6892 r11109 8 8 global $amp_conf; 9 9 global $astman; 10 11 if (! function_exists("out")) {12 function out($text) {13 echo $text."<br />";14 }15 }16 17 if (! function_exists("outn")) {18 function outn($text) {19 echo $text;20 }21 }22 10 23 11 $sql = " modules/branches/2.9/framework/install.php
r10867 r11109 7 7 foreach ($errors as $error) { 8 8 echo "$error<br />"; 9 }10 }11 12 if (! function_exists('out')) {13 function out($text) {14 echo $text."<br>";15 }16 }17 18 if (! function_exists('outn')) {19 function outn($text) {20 echo $text;21 }22 }23 24 if (! function_exists('error')) {25 function error($text) {26 echo "[ERROR] ".$text."<br>";27 }28 }29 30 if (! function_exists('fatal')) {31 function fatal($text) {32 echo "[FATAL] ".$text."<br>";33 exit(1);34 }35 }36 37 if (! function_exists('debug')) {38 function debug($text) {39 global $debug;40 41 if ($debug) echo "[DEBUG-preDB] ".$text."<br>";42 9 } 43 10 } modules/branches/2.9/fw_ari/install.php
r9488 r11109 23 23 foreach ($errors as $error) { 24 24 echo "$error<br />"; 25 }26 }27 28 if (! function_exists('out')) {29 function out($text) {30 echo $text."<br>";31 }32 }33 34 if (! function_exists('outn')) {35 function outn($text) {36 echo $text;37 }38 }39 40 if (! function_exists('error')) {41 function error($text) {42 echo "[ERROR] ".$text."<br>";43 }44 }45 46 if (! function_exists('fatal')) {47 function fatal($text) {48 echo "[FATAL] ".$text."<br>";49 exit(1);50 }51 }52 53 if (! function_exists('debug')) {54 function debug($text) {55 global $debug;56 57 if ($debug) echo "[DEBUG-preDB] ".$text."<br>";58 25 } 59 26 } modules/branches/2.9/fw_fop/install.php
r10011 r11109 23 23 foreach ($errors as $error) { 24 24 echo "$error<br />"; 25 }26 }27 28 if (! function_exists('out')) {29 function out($text) {30 echo $text."<br>";31 }32 }33 34 if (! function_exists('outn')) {35 function outn($text) {36 echo $text;37 }38 }39 40 if (! function_exists('error')) {41 function error($text) {42 echo "[ERROR] ".$text."<br>";43 }44 }45 46 if (! function_exists('fatal')) {47 function fatal($text) {48 echo "[FATAL] ".$text."<br>";49 exit(1);50 }51 }52 53 if (! function_exists('debug')) {54 function debug($text) {55 global $debug;56 57 if ($debug) echo "[DEBUG-preDB] ".$text."<br>";58 25 } 59 26 } modules/branches/2.9/fw_langpacks/install.php
r9488 r11109 9 9 } 10 10 } 11 12 if (! function_exists('out')) {13 function out($text) {14 echo $text."<br>";15 }16 }17 18 if (! function_exists('outn')) {19 function outn($text) {20 echo $text;21 }22 }23 24 if (! function_exists('error')) {25 function error($text) {26 echo "[ERROR] ".$text."<br>";27 }28 }29 30 if (! function_exists('fatal')) {31 function fatal($text) {32 echo "[FATAL] ".$text."<br>";33 exit(1);34 }35 }36 37 if (! function_exists('debug')) {38 function debug($text) {39 global $debug;40 41 if ($debug) echo "[DEBUG-preDB] ".$text."<br>";42 }43 }44 45 11 global $amp_conf; 46 12 modules/branches/2.9/iaxsettings/install.php
r9435 r11109 22 22 global $db; 23 23 global $amp_conf; 24 25 if (! function_exists("out")) {26 function out($text) {27 echo $text."<br />";28 }29 }30 31 if (! function_exists("outn")) {32 function outn($text) {33 echo $text;34 }35 }36 24 37 25 $sql = <<< END modules/branches/2.9/ivr/install.php
r9798 r11109 1 1 <?php 2 3 2 require_once dirname(__FILE__)."/functions.inc.php"; 4 5 if (! function_exists("out")) {6 function out($text) {7 echo $text."<br />";8 }9 }10 11 if (! function_exists("outn")) {12 function outn($text) {13 echo $text;14 }15 }16 3 17 4 global $db; modules/branches/2.9/manager/install.php
r8803 r11109 1 1 <?php 2 3 2 global $db; 4 3 global $amp_conf; 5 6 if (! function_exists("out")) {7 function out($text) {8 echo $text."<br />";9 }10 }11 12 if (! function_exists("outn")) {13 function outn($text) {14 echo $text;15 }16 }17 18 4 19 5 $autoincrement = (($amp_conf["AMPDBENGINE"] == "sqlite") || ($amp_conf["AMPDBENGINE"] == "sqlite3")) ? "AUTOINCREMENT":"AUTO_INCREMENT"; modules/branches/2.9/outroutemsg/install.php
r8059 r11109 12 12 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 13 //GNU General Public License for more details. 14 15 if (! function_exists("out")) {16 function out($text) {17 echo $text."<br />";18 }19 }20 21 if (! function_exists("outn")) {22 function outn($text) {23 echo $text;24 }25 }26 14 27 15 global $db; modules/branches/2.9/parking/install.php
r11026 r11109 1 1 <?php 2 if (! function_exists("out")) {3 function out($text) {4 echo $text."<br />";5 }6 }7 8 if (! function_exists("outn")) {9 function outn($text) {10 echo $text;11 }12 }13 14 2 global $db; 15 3 global $amp_conf; modules/branches/2.9/phpagiconf/install.php
r6277 r11109 1 1 <?php 2 3 if (! function_exists("out")) {4 function out($text) {5 echo $text."<br />";6 }7 }8 9 if (! function_exists("outn")) {10 function outn($text) {11 echo $text;12 }13 }14 15 2 global $db; 16 3 global $amp_conf; modules/branches/2.9/pinsets/install.php
r10179 r11109 3 3 global $db; 4 4 global $amp_conf; 5 6 if (! function_exists("out")) {7 function out($text) {8 echo $text."<br />";9 }10 }11 12 if (! function_exists("outn")) {13 function outn($text) {14 echo $text;15 }16 }17 5 18 6 $autoincrement = (($amp_conf["AMPDBENGINE"] == "sqlite") || ($amp_conf["AMPDBENGINE"] == "sqlite3")) ? "AUTOINCREMENT":"AUTO_INCREMENT"; modules/branches/2.9/queues/install.php
r11026 r11109 9 9 $fcc->update(); 10 10 unset($fcc); 11 12 if (! function_exists("out")) {13 function out($text) {14 echo $text."<br />";15 }16 }17 18 if (! function_exists("outn")) {19 function outn($text) {20 echo $text;21 }22 }23 11 24 12 $results = array(); modules/branches/2.9/recordings/install.php
r11032 r11109 9 9 global $amp_conf; 10 10 global $db; 11 12 if (! function_exists("out")) {13 function out($text) {14 echo $text."<br />";15 }16 }17 18 if (! function_exists("outn")) {19 function outn($text) {20 echo $text;21 }22 }23 11 24 12 $recordings_astsnd_path = isset($amp_conf['ASTVARLIBDIR'])?$amp_conf['ASTVARLIBDIR']:'/var/lib/asterisk'; modules/branches/2.9/restart/install.php
r10103 r11109 1 1 <?php 2 3 if (! function_exists("out")) {4 function out($text) {5 echo $text."<br />";6 }7 }8 9 if (! function_exists("outn")) {10 function outn($text) {11 echo $text;12 }13 }14 2 global $amp_conf; 15 3 modules/branches/2.9/ringgroups/install.php
r6822 r11109 1 1 <?php 2 3 if (! function_exists("out")) {4 function out($text) {5 echo $text."<br />";6 }7 }8 9 if (! function_exists("outn")) {10 function outn($text) {11 echo $text;12 }13 }14 2 15 3 global $db; modules/branches/2.9/sipsettings/install.php
r9437 r11109 22 22 global $db; 23 23 global $amp_conf; 24 25 if (! function_exists("out")) {26 function out($text) {27 echo $text."<br />";28 }29 }30 31 if (! function_exists("outn")) {32 function outn($text) {33 echo $text;34 }35 }36 24 37 25 $sql = <<< END modules/branches/2.9/sipstation/install.php
r10179 r11109 9 9 global $db; 10 10 global $amp_conf; 11 12 if (! function_exists("out")) {13 function out($text) {14 echo $text."<br />";15 }16 }17 if (! function_exists("outn")) {18 function outn($text) {19 echo $text;20 }21 }22 11 23 12 /* Delete all occurences of the specified trunk from all routes that may use it modules/branches/2.9/timeconditions/install.php
r11026 r11109 38 38 } 39 39 } 40 41 if (! function_exists("out")) {42 function out($text) {43 echo $text."<br />";44 }45 }46 47 if (! function_exists("outn")) {48 function outn($text) {49 echo $text;50 }51 }52 40 53 41 if($amp_conf["AMPDBENGINE"] == "sqlite3") { modules/branches/2.9/vmblast/install.php
r9798 r11109 6 6 7 7 global $db; 8 9 if (! function_exists("out")) {10 function out($text) {11 echo $text."<br />";12 }13 }14 15 if (! function_exists("outn")) {16 function outn($text) {17 echo $text;18 }19 }20 8 21 9 outn(_("Upgrading vmblast to add audio_label field..")); modules/branches/2.9/voicemail/install.php
r10874 r11109 22 22 _("Dial Voicemail"); 23 23 _("Voicemail Admin"); 24 }25 26 if (! function_exists("out")) {27 function out($text) {28 echo $text."<br />";29 }30 }31 if (! function_exists("outn")) {32 function outn($text) {33 echo $text;34 }35 24 } 36 25
