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:
Michael Kaufmann
2022-10-23 20:43:21 +02:00
parent 996976d9f3
commit a55cd86a4c
3 changed files with 4 additions and 4 deletions

View File

@@ -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'

View File

@@ -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 {

View File

@@ -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',