XoopsModules25x/news

View on GitHub
list.tag.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php declare(strict_types=1);
/*
 * You may not change or alter any portion of this comment or credits
 * of supporting developers from this source code or any supporting source code
 * which is considered copyrighted (c) material of the original comment or credit authors.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 */

/**
 * @copyright      {@link https://xoops.org/ XOOPS Project}
 * @license        {@link https://www.gnu.org/licenses/gpl-2.0.html GNU GPL 2 or later}
 * @author         XOOPS Development Team
 */

/*
 * Created on 03/12/2008
 *
 * This page will display a list of articles which belong to a tag
 *
 * @package News
 * @author Hervé Thouzard of Hervé Thouzard
 * @copyright (c) Hervé Thouzard (https://www.herve-thouzard.com)
 */

use XoopsModules\News;

require_once __DIR__ . '/header.php';

if (!News\Utility::getModuleOption('tags') || !xoops_isActiveModule('tag')) {
    redirect_header('index.php', 2, _ERRORS);
}
require_once XOOPS_ROOT_PATH . '/modules/tag/list.tag.php';