protected.php

main 17 lines · 226 bytes Raw
Alex Alex Commit Initial commit 01/10/2026 09:20
1<?php
2if (user_logged_in() === true) {
3?>
4
5<h1><?= t('protected.stop') ?></h1>
6<p><?= t('protected.sniffing') ?></p>
7
8<?php
9} else {
10?>
11
12<h1><?= t('protected.need_login') ?></h1>
13<p><?= t('protected.register') ?></p>
14
15<?php
16}
17
Top