Source
_('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-2025 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/js.inc.php';
// available scripts 'scriptFileName' => 'path relative to js/'
$available_js = [
'common.js' => '',
'class.dashboard.js' => '',
'class.dashboard.page.js' => '',
'class.dashboard.widget.placeholder.js' => '',
'class.widget.js' => 'widgets/',
'class.widget.iterator.js' => 'widgets/',
'class.widget.clock.js' => 'widgets/',
'class.widget.geomap.js' => 'widgets/',
'class.widget.graph.js' => 'widgets/',
'class.widget.graph-prototype.js' => 'widgets/',
'class.widget.item.js' => 'widgets/',
'class.widget.map.js' => 'widgets/',
'class.widget.navtree.js' => 'widgets/',
'class.widget.paste-placeholder.js' => 'widgets/',
'class.widget.problems.js' => 'widgets/',
'class.widget.problemsbysv.js' => 'widgets/',
'class.widget.svggraph.js' => 'widgets/',
'class.widget.trigerover.js' => 'widgets/',
'class.widget.url.js' => 'widgets/',
'hostinterfacemanager.js' => '',
'hostmacrosmanager.js' => '',
'menupopup.js' => '',
'gtlc.js' => '',
'functions.js' => '',
'main.js' => '',
'dom.js' => '',
'servercheck.js' => '',
'flickerfreescreen.js' => '',
'multilineinput.js' => '',
'multiselect.js' => '',
'colorpicker.js' => '',
'chkbxrange.js' => '',