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]),
|
'listing' => Listing::format($collection, $dns_list_data, 'dns_list', ['domain_id' => $domain_id]),
|
||||||
'actions_links' => [
|
'actions_links' => [
|
||||||
[
|
[
|
||||||
'class' => 'btn-secondary',
|
'class' => 'btn-outline-secondary',
|
||||||
'href' => $linker->getLink([
|
'href' => $linker->getLink([
|
||||||
'section' => 'domains',
|
'section' => 'domains',
|
||||||
'page' => 'domains',
|
'page' => 'domains',
|
||||||
@@ -136,7 +136,7 @@ UI::view('user/dns-editor.html.twig', [
|
|||||||
'icon' => 'fa-solid fa-pen'
|
'icon' => 'fa-solid fa-pen'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'class' => 'btn-secondary',
|
'class' => 'btn-outline-primary',
|
||||||
'href' => $linker->getLink(['section' => 'domains', 'page' => 'domains']),
|
'href' => $linker->getLink(['section' => 'domains', 'page' => 'domains']),
|
||||||
'label' => lng('menue.domains.domains'),
|
'label' => lng('menue.domains.domains'),
|
||||||
'icon' => 'fa-solid fa-globe'
|
'icon' => 'fa-solid fa-globe'
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ class TrafficCron extends FroxlorCron
|
|||||||
// Fork failed
|
// Fork failed
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
} else {
|
} else if (!defined('CRON_NOFORK_FLAG')) {
|
||||||
if (extension_loaded('pcntl')) {
|
if (extension_loaded('pcntl')) {
|
||||||
$msg = "PHP compiled with pcntl but pcntl_fork function is not available.";
|
$msg = "PHP compiled with pcntl but pcntl_fork function is not available.";
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ if ($action == '' || $action == 'view') {
|
|||||||
'editid' => $id,
|
'editid' => $id,
|
||||||
'actions_links' => [
|
'actions_links' => [
|
||||||
[
|
[
|
||||||
'class' => 'btn-secondary',
|
'class' => 'btn-outline-secondary',
|
||||||
'href' => $linker->getLink([
|
'href' => $linker->getLink([
|
||||||
'section' => 'domains',
|
'section' => 'domains',
|
||||||
'page' => 'domains',
|
'page' => 'domains',
|
||||||
|
|||||||
Reference in New Issue
Block a user