-/* Admin interface. */
-require (JIRAFEAU_ROOT . 'lib/template/header.php');
-?><h2><?php echo t('Admin interface'); ?></h2><?php
+/* Be sure that no one can access further without admin_auth. */
+if (!isset ($_SESSION['admin_auth']) || $_SESSION['admin_auth'] != true)
+{
+ $_SESSION['admin_auth'] = false;
+ require (JIRAFEAU_ROOT . 'lib/template/header.php');
+ echo '<div class="error"><p>'.
+ t('Sorry, you are not authenticated on admin interface.') .
+ '</p></div>';
+ require (JIRAFEAU_ROOT.'lib/template/footer.php');
+ exit;
+}