Changeset 11003
- Timestamp:
- 01/17/11 18:45:41 (2 years ago)
- Files:
-
- freepbx/trunk/amp_conf/htdocs/admin/libraries/freepbx_conf.class.php (modified) (3 diffs)
- modules/branches/2.9/backup/install.php (modified) (3 diffs)
- modules/branches/2.9/dashboard/install.php (modified) (4 diffs)
- modules/branches/2.9/daynight/install.php (modified) (1 diff)
- modules/branches/2.9/music/install.php (modified) (1 diff)
- modules/branches/2.9/parking/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/timeconditions/install.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/htdocs/admin/libraries/freepbx_conf.class.php
r11001 r11003 343 343 $attributes['type'] = $vars['type']; 344 344 } 345 if (isset($vars['category']) && $vars['category'] == '' && (!isset($vars['module']) || $vars['module'] == '')) {346 die_freepbx(_("You must set either a category or a module attribute"));347 }348 345 if ($vars['type'] == CONF_TYPE_SELECT) { 349 346 if (!isset($vars['options']) || $vars['options'] == '') { … … 356 353 $attributes['level'] = (int) $vars['level']; 357 354 } 355 if (isset($vars['category']) && $vars['category']) { 356 $attributes['category'] = $vars['category']; 357 } 358 358 $optional = array('readonly', 'hidden', 'emptyok'); 359 359 foreach ($optional as $atrib) { … … 362 362 } 363 363 } 364 $optional = array('description', ' category', 'module');364 $optional = array('description', 'module'); 365 365 foreach ($optional as $atrib) { 366 366 if (isset($vars[$atrib])) { modules/branches/2.9/backup/install.php
r10979 r11003 297 297 $set['level'] = 0; 298 298 $set['module'] = 'backup'; 299 $set['category'] = ' ';299 $set['category'] = 'Backup Module'; 300 300 $set['emptyok'] = 1; 301 301 $set['description'] = 'The From: field for emails when using the backup email feature.'; … … 311 311 $set['level'] = 2; 312 312 $set['module'] = 'backup'; 313 $set['category'] = ' ';313 $set['category'] = 'Backup Module'; 314 314 $set['emptyok'] = 1; 315 315 $set['description'] = 'Specifies that sudo should be used with backup functions, requires proper sudo configuration which can constitute a security compromise when setup.'; … … 325 325 $set['level'] = 2; 326 326 $set['module'] = 'backup'; 327 $set['category'] = ' ';327 $set['category'] = 'Backup Module'; 328 328 $set['emptyok'] = 1; 329 329 $set['description'] = 'Adds some advanced and somewhat unspported features to the backup utility. This needs further clarification (or to be removed?)'; modules/branches/2.9/dashboard/install.php
r10979 r11003 28 28 $set['level'] = 0; 29 29 $set['module'] = 'dashboard'; 30 $set['category'] = ' ';30 $set['category'] = 'GUI Behavior'; 31 31 $set['emptyok'] = 1; 32 32 $set['description'] = 'Update rate in seconds of all sections of the System Status panel except the Info box.'; … … 42 42 $set['level'] = 0; 43 43 $set['module'] = 'dashboard'; 44 $set['category'] = ' ';44 $set['category'] = 'GUI Behavior'; 45 45 $set['emptyok'] = 1; 46 46 $set['description'] = 'Update rate in seconds of the Info section of the System Status panel.'; … … 56 56 $set['level'] = 2; 57 57 $set['module'] = 'dashboard'; 58 $set['category'] = ' ';58 $set['category'] = 'System Setup'; 59 59 $set['emptyok'] = 1; 60 60 $set['description'] = 'SSH port number configured on your system if not using the default port 22, this allows the dashboard monitoring to watch the poper port.'; … … 70 70 $set['level'] = 2; 71 71 $set['module'] = 'dashboard'; 72 $set['category'] = ' ';72 $set['category'] = 'GUI Behavior'; 73 73 $set['emptyok'] = 1; 74 74 $set['description'] = 'Use this to pre-set the scale for maximum calls on the Dashboard display. If not set, the the scale is dynamically sized based on the active calls on the system.'; modules/branches/2.9/daynight/install.php
r10979 r11003 90 90 $set['readonly'] = 0; 91 91 $set['hidden'] = 0; 92 $set['level'] = 0;92 $set['level'] = 1; 93 93 $set['module'] = 'daynight'; 94 $set['category'] = ' ';94 $set['category'] = 'Day Night Module'; 95 95 $set['emptyok'] = 0; 96 96 $set['description'] = 'By default, the Day/Night module will not hook Time Conditions allowing one to associate a daynight manual override with a time condition since time conditions have their own feature code as of version 2.9. If there is already an associaiton configured (on an upgraded system), this will have no affect for the Time Conditions that are effected. Setting this to true reverts the 2.8 and prior behavior by allowing for the use of a daynight toggle to be associated with a time conditon. This can be useful for two scenarios. First, to override a Time Condition without the automatic resetting that occurs with the built in Time Condition overrides. The second use is the ability to associate a single daynight toggle with multiple time conditions thus creating a <b>master switch</b> that can be used to override several possible call flows through different time conditions.'; modules/branches/2.9/music/install.php
r10979 r11003 49 49 $set['readonly'] = 0; 50 50 $set['hidden'] = 0; 51 $set['level'] = 0;51 $set['level'] = 3; 52 52 $set['module'] = 'music'; 53 $set['category'] = ' ';53 $set['category'] = 'System Setup'; 54 54 $set['emptyok'] = 0; 55 55 $set['description'] = 'When set to false, the MP3 files can be loaded and WAV files converted to MP3 in the MoH module. The default behavior of true assumes you have mpg123 loaded as well as sox and will convert MP3 files to WAV. This is highly recommended as MP3 files heavily tax the system and can cause instability on a busy phone system'; modules/branches/2.9/parking/install.php
r10979 r11003 97 97 $set['readonly'] = 0; 98 98 $set['hidden'] = 0; 99 $set['level'] = 0;99 $set['level'] = 3; 100 100 $set['module'] = 'parking'; 101 $set['category'] = ' ';101 $set['category'] = 'System Setup'; 102 102 $set['emptyok'] = 0; 103 103 $set['description'] = 'Set to generate some additional dialplan if using a particular patch that was available in Asterisk 1.2 and 1.4 to add behavior to parking like adding Alert Info and CID prepends to timed out parked calls. This patch is mostly obsoleted and the setting will probably go away at some point when Asterisk 1.6+ parking enhacements are added to the module.'; modules/branches/2.9/queues/install.php
r10979 r11003 524 524 $set['level'] = 3; 525 525 $set['module'] = 'queues'; 526 $set['category'] = ' ';526 $set['category'] = 'System Setup'; 527 527 $set['emptyok'] = 0; 528 528 $set['description'] = 'Setting this flag will generate the required dialplan to integrate with the following Asterisk patch: <b>https://issues.asterisk.org/view.php?id=15168</b>. This setting is obsolete on Asterisk 1.8+ systems where the hint state is now standard and always used. This asterisk patch is only available on Asterisk 1.4, trying to use this setting on Asterisk 1.6 will break some queue behavior and should be avoided'; modules/branches/2.9/recordings/install.php
r10979 r11003 143 143 $set['readonly'] = 0; 144 144 $set['hidden'] = 0; 145 $set['level'] = 0;145 $set['level'] = 3; 146 146 $set['module'] = 'recordings'; 147 $set['category'] = ' ';147 $set['category'] = 'System Setup'; 148 148 $set['emptyok'] = 1; 149 149 $set['description'] = 'Crypt key used by this recordings module when accessing the recording files. Change from the default of "moufdsuu3nma0" if desired.'; modules/branches/2.9/timeconditions/install.php
r10979 r11003 260 260 $set['readonly'] = 0; 261 261 $set['hidden'] = 0; 262 $set['level'] = 0;262 $set['level'] = 1; 263 263 $set['module'] = 'timeconditions'; 264 $set['category'] = ' ';264 $set['category'] = 'Time Condition Module'; 265 265 $set['emptyok'] = 0; 266 266 $set['description'] = 'The polling interval in seconds used by the Time Conditions manintenace task, launched by an Asterisk call file used to update Time Conditions override states as well as keep custom device state hint values up-to-date when being used with BLF. A shorter interval will assure that BLF keys states are accurate. The interval should be less than the shortest configured span between two time condition states, so that a manual overide during such a period is properly reset when the new period starts.'; … … 275 275 $set['readonly'] = 0; 276 276 $set['hidden'] = 0; 277 $set['level'] = 0;277 $set['level'] = 1; 278 278 $set['module'] = 'timeconditions'; 279 $set['category'] = ' ';279 $set['category'] = 'Time Condition Module'; 280 280 $set['emptyok'] = 0; 281 281 $set['description'] = 'If set to false, this will override the execution of the Time Conditons maintenace task launched by call files. If all the feature codes for time conditions are disabled, the maintenance task will not be launched anyhow. Setting this to false would be fairly un-common. You may want to set this temporarily if debugging a system to avoid the periodic dialplan running through the CLI that the maintenance task launches and can be distracting.';
