Commit Graph

28 Commits

Author SHA1 Message Date
Harry G. Coin bda6861f88 \r\n --> \n
Cause all the .php files containing lines ending with \r\n to instead end with \n.

DYI with:

find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
Harry G. Coin 8abe003a71 The goal is to increase confidence in fusionpbx, one step is to run by default with error_reporting (E_ALL ^ E_NOTICE);
So, please find in this set numerous small changes which eliminate numerous php warning messages.

Also, a small bug fix in an sql statistics routine, naming a count(*) field as count, so displaying correct detail.

If any of the proposed changes are omitted, the relevant page will experience php warnings.

There are no doubt fusionpbx pages I've yet to visit that still generate warnings, this set is nearly certainly not comprehensive.
2016-04-25 20:19:58 -05:00
FusionPBX ddcb4cab28 Revert "Revert "Revert "search selects""" 2016-03-24 22:25:18 -06:00
FusionPBX d7b95e462b Revert "Revert "search selects"" 2016-03-24 22:03:37 -06:00
FusionPBX f9096f9cf1 Revert "search selects" 2016-03-24 22:02:41 -06:00
blackc2004 c2e1755931 search selects 2016-03-22 15:42:46 -07:00
markjcrane fa081456b1 Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"]. 2016-01-17 00:01:13 -07:00
markjcrane 3853bd85dc Complete adding application hangup. 2016-01-12 23:16:45 -07:00
markjcrane f0b57b1516 Add hangup to the destination select list. 2016-01-12 21:07:49 -07:00
markjcrane 59bfdde8d8 Fix the order by for the destinations class. 2015-08-15 23:24:57 -06:00
markjcrane 8ca1eaf93e Give precedence to number_alias over extension in destinations class that generates the destination select list. 2015-08-15 21:49:27 -06:00
markjcrane ea03a6bc28 Make the destinations class easier to read. 2015-08-15 19:58:47 -06:00
reliberate 361e20e6de Destinations (Class): Enable preferred number formatting for Destination options. 2015-08-14 20:32:56 -06:00
markjcrane 7a7895e9ef Fix the label for the custom select destination. 2015-08-14 10:33:18 -06:00
markjcrane 0aacb224aa If select_found is false then show the custom select. 2015-08-14 10:15:31 -06:00
markjcrane 144e22094e Add translations for check_voicemail, company_directory and record. 2015-08-10 10:09:37 -06:00
markjcrane ade62be0f1 Change $name to ${name} 2015-08-09 12:14:47 -06:00
markjcrane 5c11a3f103 Change array from ['result']['field'] to ['field']. 2015-08-09 12:00:42 -06:00
markjcrane 078cef0a78 Add Other options to the list of destinations. 2015-08-09 11:20:08 -06:00
markjcrane c0a0cb308b If there is no item in the group of destinations then don't the group name. 2015-08-07 19:50:06 -05:00
markjcrane 2ceb8ce4c3 Add an empty select option and finish moving to $this->destinations array. 2015-08-06 15:30:43 -05:00
markjcrane 8cc1d98598 Move the destinations array generation into the constructor and add selected support. 2015-08-06 12:11:26 -05:00
markjcrane e413e61a3b Use the same array consistently. 2015-08-06 00:25:38 -05:00
markjcrane 944216a372 Change domain_name to domain_uuid. 2015-08-06 00:13:57 -05:00
markjcrane 9110c877e7 Remove the round brackets. 2015-08-05 17:30:18 -05:00
markjcrane 3caaf665b3 Add the database connection. 2015-08-05 17:24:37 -05:00
markjcrane 70b96ad053 A few minor adjustments to the new class. 2015-08-05 17:02:34 -05:00
markjcrane cab4d65600 Initial commit a new php destinations class. Builds a list of destinations dynamically. Typically this contains extensions, ivr menus, ring groups, voicemail and more. 2015-08-05 16:43:22 -05:00