29 Commits

Author SHA1 Message Date
FusionPBX
d68e292e0f Update destinations.php
Simplify the label for the Destination select list when it doesn't match any of the preset destinations.
2016-09-02 09:26:07 -06:00
Harry G. Coin
91a92d8e5e \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
89e5ecbcdf 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
eb81998165 Revert "Revert "Revert "search selects""" 2016-03-24 22:25:18 -06:00
FusionPBX
90242c0c60 Revert "Revert "search selects"" 2016-03-24 22:03:37 -06:00
FusionPBX
68e728b0b6 Revert "search selects" 2016-03-24 22:02:41 -06:00
blackc2004
128026f3e8 search selects 2016-03-22 15:42:46 -07:00
markjcrane
23b4b7c9bf Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"]. 2016-01-17 00:01:13 -07:00
markjcrane
d513ddf1ea Complete adding application hangup. 2016-01-12 23:16:45 -07:00
markjcrane
b422117500 Add hangup to the destination select list. 2016-01-12 21:07:49 -07:00
markjcrane
bdebe75d78 Fix the order by for the destinations class. 2015-08-15 23:24:57 -06:00
markjcrane
74804cea64 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
47921ff596 Make the destinations class easier to read. 2015-08-15 19:58:47 -06:00
reliberate
0adcd1c0d8 Destinations (Class): Enable preferred number formatting for Destination options. 2015-08-14 20:32:56 -06:00
markjcrane
1756b6064f Fix the label for the custom select destination. 2015-08-14 10:33:18 -06:00
markjcrane
6b665af51c If select_found is false then show the custom select. 2015-08-14 10:15:31 -06:00
markjcrane
01ce7bdb88 Add translations for check_voicemail, company_directory and record. 2015-08-10 10:09:37 -06:00
markjcrane
47c09b99c6 Change $name to ${name} 2015-08-09 12:14:47 -06:00
markjcrane
16b73d63d8 Change array from ['result']['field'] to ['field']. 2015-08-09 12:00:42 -06:00
markjcrane
bf8a24d5ee Add Other options to the list of destinations. 2015-08-09 11:20:08 -06:00
markjcrane
07e884d494 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
ef24c2178e Add an empty select option and finish moving to $this->destinations array. 2015-08-06 15:30:43 -05:00
markjcrane
8319533034 Move the destinations array generation into the constructor and add selected support. 2015-08-06 12:11:26 -05:00
markjcrane
c4bd1a0e72 Use the same array consistently. 2015-08-06 00:25:38 -05:00
markjcrane
b04e958d5b Change domain_name to domain_uuid. 2015-08-06 00:13:57 -05:00
markjcrane
51169dd358 Remove the round brackets. 2015-08-05 17:30:18 -05:00
markjcrane
88f4348be2 Add the database connection. 2015-08-05 17:24:37 -05:00
markjcrane
c128c0fc71 A few minor adjustments to the new class. 2015-08-05 17:02:34 -05:00
markjcrane
a3a1d4a1dd 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