Source
'Cannot add dashboard page: maximum number of %1$d dashboard pages has been added.' => _('Cannot add dashboard page: maximum number of %1$d dashboard pages has been added.'),
<?php
/*
** Zabbix
** Copyright (C) 2001-2023 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';
require_once dirname(__FILE__).'/include/defines.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.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.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' => '',