Changeset 4628 for freepbx/branches
- Timestamp:
- 08/02/07 13:49:43 (6 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.3/amp_conf/htdocs/admin/config.php
r4623 r4628 400 400 if ($quietmode) { 401 401 // send the output buffer 402 ob_end_flush();402 @ob_end_flush(); 403 403 } else { 404 404 $admin_template = $template = array(); 405 406 407 405 $admin_template['content'] = ob_get_contents(); 408 ob_end_clean();406 @ob_end_clean(); 409 407 410 408 // build the admin interface (with menu) freepbx/branches/2.3/amp_conf/htdocs/admin/functions.inc.php
r4623 r4628 1394 1394 1395 1395 function tagClosed($parser, $name) { 1396 $this->arrOutput[count($this->arrOutput)-2]['children'][] = $this->arrOutput[count($this->arrOutput)-1];1396 @$this->arrOutput[count($this->arrOutput)-2]['children'][] = $this->arrOutput[count($this->arrOutput)-1]; 1397 1397 array_pop($this->arrOutput); 1398 1398 } … … 1401 1401 $array = array(); 1402 1402 foreach (array_keys($items) as $idx) { 1403 $items[$idx]['name'] = strtolower($items[$idx]['name']);1403 @$items[$idx]['name'] = strtolower($items[$idx]['name']); 1404 1404 1405 1405 $multi = false; … … 1869 1869 $extext .= sprintf(_("%s (current: %s)"), $mod['name'].' '.$mod['online_version'], $mod['local_version'])."\n"; 1870 1870 } 1871 $notifications->add_update('freepbx', 'NEWUPDATES', $text, $extext, '', $ reset_value);1871 $notifications->add_update('freepbx', 'NEWUPDATES', $text, $extext, '', $passive_value); 1872 1872 } else { 1873 1873 $notifications->delete('freepbx', 'NEWUPDATES'); freepbx/branches/2.3/amp_conf/htdocs/admin/page.modules.php
r4450 r4628 17 17 // can't go online if external management is on 18 18 $online = (isset($_REQUEST['online']) && !EXTERNAL_PACKAGE_MANAGEMENT) ? $_REQUEST['online'] : false; 19 // fix php errors from undefined variable. Not sure if we can just change the reference below to use 20 // online since it changes values so just setting to what we decided it is here. 21 $_REQUEST['online'] = $online ? 1 : 0; 19 22 $moduleaction = isset($_REQUEST['moduleaction'])?$_REQUEST['moduleaction']:false; 20 23 /*
