Revision c87eeb08
Added by Phil Davis over 8 years ago
src/usr/local/www/index.php | ||
---|---|---|
74 | 74 |
} |
75 | 75 |
|
76 | 76 |
if ($x > 0) { |
77 |
$savemsg = sprintf(gettext("%s has detected a crash report or programming bug. Click <a href='crash_reporter.php'>here</a> for more information."), $g['product_name']); |
|
77 |
$savemsg = sprintf(gettext("%s has detected a crash report or programming bug."), $g['product_name']) . " "; |
|
78 |
if (isAllowedPage("/crash_reporter.php")) { |
|
79 |
$savemsg .= sprintf(gettext("Click <a href='crash_reporter.php'>here</a> for more information.")); |
|
80 |
} else { |
|
81 |
$savemsg .= sprintf(gettext("Contact the system administrator for more information.")); |
|
82 |
} |
|
78 | 83 |
$class = "warning"; |
79 | 84 |
} |
80 | 85 |
} |
Also available in: Unified diff
Fix #7043 Do not display crash reporter link when no crash_reporter access