Source
'S_NO_IMAGES' => 'You need to have at least one image uploaded to create map element. Images can be uploaded in Administration->General->Images section.',
<?php
/*
** Zabbix
** Copyright (C) 2001-2022 Zabbix SIA
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** 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. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
**/
// get language translations
require_once dirname(__FILE__).'/include/locales.inc.php';
require_once dirname(__FILE__).'/include/gettextwrapper.inc.php';
setupLocale(array_key_exists('lang', $_GET) ? (string) $_GET['lang'] : 'en_GB');
require_once dirname(__FILE__).'/include/translateDefines.inc.php';
require_once dirname(__FILE__).'/include/js.inc.php';
// available scripts 'scriptFileName' => 'path relative to js/'
$availableJScripts = [
'common.js' => '',
'dashboard.grid.js' => '',
'menupopup.js' => '',
'gtlc.js' => '',
'functions.js' => '',
'main.js' => '',
'dom.js' => '',
'servercheck.js' => '',
'flickerfreescreen.js' => '',
'multilineinput.js' => '',
'multiselect.js' => '',
'colorpicker.js' => '',
'chkbxrange.js' => '',
'csvggraphwidget.js' => '',
'layout.mode.js' => '',
'textareaflexible.js' => '',
'inputsecret.js' => '',
'macrovalue.js' => '',
// vendors
'jquery.js' => 'vendors/',
'jquery-ui.js' => 'vendors/',
// classes
'component.z-select.js' => '',
'class.base-component.js' => '',
'class.bbcode.js' => '',
'class.calendar.js' => '',
'class.cclock.js' => '',
'class.cdate.js' => '',
'class.cdebug.js' => '',
'class.cmap.js' => '',
'class.localstorage.js' => '',