Source
_('You need to have at least one image uploaded to create map element. Images can be uploaded in Administration->General->Images section.'),
<?php
/*
** 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 Affero General Public License as published by the Free Software Foundation, version 3.
**
** 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 Affero General Public License for more details.
**
** You should have received a copy of the GNU Affero General Public License along with this program.
** If not, see <https://www.gnu.org/licenses/>.
**/
require_once dirname(__FILE__).'/include/defines.inc.php';
// 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'] : ZBX_DEFAULT_LANG);
require_once dirname(__FILE__).'/include/js.inc.php';
require_once dirname(__FILE__).'/include/classes/helpers/CCookieHelper.php';
// available scripts 'scriptFileName' => 'path relative to js/'
$available_js = [
'defines.js' => '',
'common.js' => '',
'class.dashboard.js' => '',
'class.dashboard.page.js' => '',
'class.dashboard.print.js' => '',
'class.dashboard.widget.placeholder.js' => '',
'class.widgets-data.js' => '',
'class.widget-base.js' => '',
'class.widget.js' => '',
'class.widget.inaccessible.js' => '',
'class.widget.iterator.js' => '',
'class.widget.misconfigured.js' => '',
'class.widget.paste-placeholder.js' => '',
'class.widget-field.checkbox-list.js' => '',
'class.widget-field.multiselect.js' => '',
'class.widget-field.time-period.js' => '',
'class.widget-select.popup.js' => '',
'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' => '',
'layout.mode.js' => '',
'textareaflexible.js' => '',
'inputsecret.js' => '',
'macrovalue.js' => '',
// vendors