Changeset 11029
- Timestamp:
- 01/19/11 21:45:43 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.9/core/page.advancedsettings.php
r11026 r11029 6 6 } 7 7 8 // TODO: provide error info if errors were detected9 // change to json so we can send back info like what it was updated to10 // and other useful stuff11 //12 8 if($var['action'] === 'setkey') { 13 9 header("Content-type: application/json"); … … 42 38 echo '<div id="main_page">'; 43 39 echo "<h2>"._("FreePBX Advanced Settings")."</h2>"; 44 echo '<p>'._("<b>IMPORTANT:</b> Use extreme caution when making changes!").'</p>'._("Some of these settings can render your system inoperable. You are urged to backup before making any changes. There may be more settings available then are currently shown. You can increase the of visible settings by changing the AS_DISPLAY_DETAIL_LEVEL under Advanced Settings Details. The settings shown at higher levels are less commonly use and can be more risky to change. Once you have made a change you must save it by checking the green check box that appears. You can restore to default settingsby clicking on the icon to the right of the values.");40 echo '<p>'._("<b>IMPORTANT:</b> Use extreme caution when making changes!").'</p>'._("Some of these settings can render your system inoperable. You are urged to backup before making any changes. There may be more settings available then are currently shown. You can increase the of visible settings by changing the 'Display Detail Level under Advanced Settings Details. The settings shown at higher levels are less commonly use and are more risky to change. Once changed you must save the setting by checking the green check box that appears. You can restore the default setting by clicking on the icon to the right of the values."); 45 41 46 42 $conf = $freepbx_conf->get_conf_settings(); … … 56 52 foreach ($conf as $c){ 57 53 58 // TODO: localization by module here, put in the gettext with the module info and try that first like other places59 //60 54 if ($c['level'] > $display_level || $c['hidden'] && !$display_hidden || $c['readonly'] && !$display_readonly) { 61 55 continue; … … 139 133 echo '</td>'; 140 134 if(!$c['readonly']){ 141 //echo '<td><input type="image" class="adv_set_default" src="images/default-option.png" data-key="'.$c['keyword'].'" data-default="'.$c['defaultval'].'" name="default" title="'._('Revert to Default').'"></td>';142 135 echo '<td><input type="image" class="adv_set_default" src="images/default-option.png" data-key="'.$c['keyword'].'" data-default="'.$c['defaultval'].'" title="'._('Revert to Default').'"' 143 136 . 'data-type="' . (($c['type'] == CONF_TYPE_BOOL) ? 'BOOL' : '') . '" ' … … 153 146 echo '</table>'; 154 147 155 // Ugly, but I need to display the whole help text within the page148 // Provide enough padding at the bottom (<br />) so that the tooltip from the last setting does not get cut off. 156 149 ?> 157 150 <br /><br /> <br />
