![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /var/www/html/webtrees/resources/views/modules/custom-css-js/ |
Upload File : |
<?php declare(strict_types=1); use Fisharebest\Webtrees\Http\RequestHandlers\ControlPanel; use Fisharebest\Webtrees\I18N; /** * @var string $body * @var string $head * @var string $title */ ?> <?= view('components/breadcrumbs', ['links' => [route(ControlPanel::class) => I18N::translate('Control panel'), $title]]) ?> <h1><?= $title ?></h1> <form method="post"> <div class="row mb-3"> <label for="head" class="col-sm-3 col-form-label"> <?= I18N::translate('Add content to the end of the <code><head></code> element.') ?> </label> <div class="col-sm-9"> <textarea id="head" name="head" class="form-control font-monospace" dir="ltr" rows="5"><?= e($head) ?></textarea> <p class="text-muted"> <?= I18N::translate('Include the <code><style></style></code> tags.') ?> </p> </div> </div> <div class="row mb-3"> <label for="body" class="col-sm-3 col-form-label"> <?= I18N::translate('Add content to the end of the <code><body></code> element.') ?> </label> <div class="col-sm-9"> <textarea id="body" name="body" class="form-control font-monospace" dir="ltr" rows="5"><?= e($body) ?></textarea> <p class="text-muted"> <?= I18N::translate('Include the <code><script></script></code> tags.') ?> </p> </div> </div> <button type="submit" class="btn btn-primary"> <?= view('icons/save') ?> <?= I18N::translate('save') ?> </button> <a href="<?= route(ControlPanel::class) ?>" class="btn btn-secondary"> <?= view('icons/cancel') ?> <?= I18N::translate('cancel') ?> </a> <?= csrf_field() ?> </form>