X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/2008a343c9d4bfa2c949ec3870875630eea5fb5c..2bb1ead1cd3ab790a8c9ea1a458d58e5a245ccd0:/admin.php diff --git a/admin.php b/admin.php index ed9baad..0f8967f 100644 --- a/admin.php +++ b/admin.php @@ -120,6 +120,10 @@ if (php_sapi_name() == "cli") { require(JIRAFEAU_ROOT . 'lib/template/header.php'); ?><h2><?php echo t('ADMIN_INTERFACE'); ?></h2><?php ?><h2>(version <?php echo JIRAFEAU_VERSION ?>)</h2><?php + if ($cfg['enable_crypt'] && !(extension_loaded('sodium'))) { + echo '<div class="error"><p>'.t('SODIUM_UNAVAILABLE').'</p></div>'; + } + ?><div id = "admin"> <fieldset><legend><?php echo t('ACTIONS'); ?></legend> <table>