Вход Регистрация
Файл: concrete5.7.5.6/concrete/tools/help/dismiss.php
Строк: 14
<?php
defined
('C5_EXECUTE') or die("Access Denied.");
$u = new User();
$h Loader::helper('concrete/ui/help');
if (
$u->isRegistered() && Loader::helper('validation/token')->validate()) {
    if (
$_POST['action'] == 'all') {
        
// we don't want to hear about it anymore
        
$h->disableAllHelpNotifications($u);
    } else {
        
$h->disableThisHelpNotification($u$_POST['type'], $_POST['identifier']);
    }
}
Онлайн: 1
Реклама