Changeset 4365 for modules/branches/2.3/dashboard
- Timestamp:
- 07/12/07 00:18:22 (6 years ago)
- Files:
-
- modules/branches/2.3/dashboard/page.index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.3/dashboard/page.index.php
r4362 r4365 80 80 switch ($status) { 81 81 case "ok": 82 $status_text = "OK";82 $status_text = _("OK"); 83 83 $class = "graphok"; 84 84 break; 85 85 case "warn": 86 $status_text = "Warn";86 $status_text = _("Warn"); 87 87 $class = "graphwarn"; 88 88 break; 89 89 case "error": 90 $status_text = "ERROR";90 $status_text = _("ERROR"); 91 91 $class = "grapherror"; 92 break; 93 case "disabled": 94 $status_text = "Disabled"; 95 $class = ""; 92 96 break; 93 97 } … … 272 276 $out .= draw_status_box(_("Op Panel"), "ok", _('FOP Operator Panel Server is running')); 273 277 } else { 274 $out .= draw_status_box(_("Op Panel"), "warn", _('FOP Operator Panel Server is not running, you will not be able to use the operator panel, but the system will run fine without it.')); 278 if (isset($amp_conf['FOPRUN']) && $amp_conf['FOPRUN']) { 279 // it should be running 280 $out .= draw_status_box(_("Op Panel"), "warn", _('FOP Operator Panel Server is not running, you will not be able to use the operator panel, but the system will run fine without it.')); 281 } else { 282 $out .= draw_status_box(_("Op Panel"), "disabled", _('FOP Operator Panel is disabled in amportal.conf')); 283 } 275 284 } 276 285
