<?php

/*
 * @name        JMY CMS
 * @link        https://jmy.su/
 * @copyright   Copyright (C) 2012-2025 JMY LTD
 * @license     LICENSE.txt (see attached file)
 * @version     VERSION.txt (see attached file)
 * @author      Komarov Ivan
 * @edited      Orlov Alexsey
 */

if (!defined('ACCESS')) {
    header('Location: /');
    exit;
}
global $core, $lang;
$core->loadModLangADM('sitemap');
$module_array['sitemap'] = array(
    'name' => $lang['sitemap'],
    'icon' => 'fa fa-sitemap',
    'desc' => $lang['sitemap_desc'],
    'subAct' => array(
        $lang['list'] => '',
        $lang['sitemap_gen'] => 'create',
        $lang['sitemap_search'] => 'update',
    ),
    'confAct' => array(
        $lang['config'] => 'config',
    ),
);
$toconfig['sitemap'] = array
(
    'name' => $lang['sitemap'],
    'description' => $lang['sitemap_desc'],
    'icon' => 'media/cats/web.png',
    'link' => 'module/sitemap/config',
    'param' => 'sitemap_conf'
);