adjust button styles in ssl- and dns-editor; don't show notice about pcntl when using --no-fork
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -125,7 +125,7 @@ UI::view('user/dns-editor.html.twig', [
|
||||
'listing' => Listing::format($collection, $dns_list_data, 'dns_list', ['domain_id' => $domain_id]),
|
||||
'actions_links' => [
|
||||
[
|
||||
'class' => 'btn-secondary',
|
||||
'class' => 'btn-outline-secondary',
|
||||
'href' => $linker->getLink([
|
||||
'section' => 'domains',
|
||||
'page' => 'domains',
|
||||
@@ -136,7 +136,7 @@ UI::view('user/dns-editor.html.twig', [
|
||||
'icon' => 'fa-solid fa-pen'
|
||||
],
|
||||
[
|
||||
'class' => 'btn-secondary',
|
||||
'class' => 'btn-outline-primary',
|
||||
'href' => $linker->getLink(['section' => 'domains', 'page' => 'domains']),
|
||||
'label' => lng('menue.domains.domains'),
|
||||
'icon' => 'fa-solid fa-globe'
|
||||
|
||||
@@ -78,7 +78,7 @@ class TrafficCron extends FroxlorCron
|
||||
// Fork failed
|
||||
return 1;
|
||||
}
|
||||
} else {
|
||||
} else if (!defined('CRON_NOFORK_FLAG')) {
|
||||
if (extension_loaded('pcntl')) {
|
||||
$msg = "PHP compiled with pcntl but pcntl_fork function is not available.";
|
||||
} else {
|
||||
|
||||
@@ -97,7 +97,7 @@ if ($action == '' || $action == 'view') {
|
||||
'editid' => $id,
|
||||
'actions_links' => [
|
||||
[
|
||||
'class' => 'btn-secondary',
|
||||
'class' => 'btn-outline-secondary',
|
||||
'href' => $linker->getLink([
|
||||
'section' => 'domains',
|
||||
'page' => 'domains',
|
||||
|
||||
Reference in New Issue
Block a user