Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
C:/bitrix/modules/main/lib/ui/copyright.php

Main\EventManager::getInstance()->addEventHandler("main", "onGetThirdPartySoftware", function() { return new Main\EventResult(Main\EventResult::SUCCESS, [ (new Copyright("jQuery JavaScript Library v1.7")) ->setProductUrl("http://jquery.com/") ->setCopyright("Copyright 2011, John Resig") ->setLicence(Copyright::LICENCE_MIT), ->setLicenceUrl("http://jquery.org/license"), ]); });

<?php
namespace Bitrix\Main\UI;
class Copyright
{
const LICENCE_MIT = "MIT";
const LICENCE_COMMERCIAL = "Commercial";
const LICENCE_PUBLIC_DOMAIN = "Public Domain";
const LICENCE_BSD2 = "2-Clause BSD";
const LICENCE_BSD3 = "3-Clause BSD";
const LICENCE_APACHE2 = "Apache License, Version 2.0";
const LICENCE_W3C = "W3C License";
const LICENCE_OFL = "SIL Open Font License, Version 1.1";
const LICENCE_LGPL2 = "GNU Lesser General Public License, Version 2.1";
const LICENCE_CUSTOM = "License";
protected
public function __construct($productName)
{
$this->productName = $productName;
}
public static function getBitrixCopyright()
{
/*
if(LANGUAGE_ID == "ru")
$vendor = "1c_bitrix_portal";
elseif(LANGUAGE_ID == "ua")
$vendor = "ua_bitrix_portal";
else
$vendor = "bitrix_portal";
if (LANGUAGE_ID == "ru")
COption::SetOptionString("main", "vendor", "1c_bitrix");
else
COption::SetOptionString("main", "vendor", "bitrix");
*/
$vendor = Option::get("main", "vendor", "1c_bitrix");
return (new static(Loc::getMessage("EPILOG_ADMIN_SM_".$vendor)))
->setProductUrl(Loc::getMessage("EPILOG_ADMIN_URL_PRODUCT_".$vendor))
->setCopyright(Loc::getMessage("EPILOG_ADMIN_COPY_".$vendor))
->setVendorName(Loc::getMessage("EPILOG_ADMIN_URL_MAIN_TEXT_".$vendor))
->setVendorUrl(Loc::getMessage("EPILOG_ADMIN_URL_MAIN_".$vendor))
->setSupportUrl(Loc::getMessage("EPILOG_ADMIN_URL_SUPPORT_".$vendor))
->setLicenceUrl("/bitrix/legal/license.php");
}
public function getProductName()
{
}
public function getProductUrl()
{
}
public function getCopyright()
{
}
public function getCopyrightUrl()
{
}
public function getVendorName()
{
}
public function getVendorUrl()
{
}
public function getSupportUrl()
{
}
public function getLicence()
{
return $this->licence? : static::LICENCE_CUSTOM;
}
public function getLicenceUrl()
{
static $urls = [
self::LICENCE_MIT => "https://opensource.org/licenses/MIT",
self::LICENCE_BSD2 => "https://opensource.org/licenses/BSD-2-Clause",
self::LICENCE_BSD3 => "https://opensource.org/licenses/BSD-3-Clause",
self::LICENCE_APACHE2 => "http://www.apache.org/licenses/LICENSE-2.0",
self::LICENCE_W3C => "https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document",
self::LICENCE_OFL => "https://scripts.sil.org/OFL",
self::LICENCE_LGPL2 => "https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html",
];
if($this->licenceUrl === null && isset($urls[$this->licence]))
{
return $urls[$this->licence];
}
}
public function getLicenceText()
{
}
public function setProductName($productName)
{
$this->productName = $productName;
return $this;
}
public function setProductUrl($productUrl)
{
$this->productUrl = $productUrl;
return $this;
}
public function setCopyright($copyright)
{
$this->copyright = $copyright;
return $this;
}
public function setCopyrightUrl($copyrightUrl)
{
$this->copyrightUrl = $copyrightUrl;
return $this;
}
public function setVendorName($vendorName)
{
$this->vendorName = $vendorName;
return $this;
}
public function setVendorUrl($vendorUrl)
{
$this->vendorUrl = $vendorUrl;
return $this;
}
public function setSupportUrl($supportUrl)
{
$this->supportUrl = $supportUrl;
return $this;
}
public function setLicence($licence)
{
$this->licence = $licence;
return $this;
}
public function setLicenceUrl($licenceUrl)
{
$this->licenceUrl = $licenceUrl;
return $this;
}
public function setLicenceText($licenceText)
{
$this->licenceText = $licenceText;
return $this;
}
public static function getThirdPartySoftware()
{
$software = static::getMainThirdParty();
$event = new Main\Event("main", "onGetThirdPartySoftware");
$event->send();
foreach($event->getResults() as $evenResult)
{
if($evenResult->getType() == Main\EventResult::SUCCESS)
{
$result = $evenResult->getParameters();
if(is_array($result))
{
$software = array_merge($software, $result);
}
}
}
usort($software, function($a, $b){
return strcasecmp($a->getProductName(), $b->getProductName());
});
return $software;
}
protected static function getMainThirdParty()
{
return [
// main/install/js/main/jquery
(new static("jQuery JavaScript Library v1.7"))
->setProductUrl("http://jquery.com/")
->setCopyright("Copyright 2011, John Resig")
->setLicence(static::LICENCE_MIT)
->setLicenceUrl("http://jquery.org/license"),
// main/install/js/main/jquery
(new static("jQuery JavaScript Library v1.8"))
->setProductUrl("http://jquery.com/")
->setCopyright("Copyright 2012 jQuery Foundation and other contributors")
->setLicence(static::LICENCE_MIT)
->setLicenceUrl("http://jquery.org/license"),
// main/install/js/main/jquery
(new static("jQuery JavaScript Library v2.1"))
->setProductUrl("http://jquery.com/")
->setCopyright("Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors")
->setLicence(static::LICENCE_MIT)
->setLicenceUrl("http://jquery.org/license"),
// main/install/js/main/jquery
(new static("jQuery JavaScript Library v3"))
->setProductUrl("http://jquery.com/")
->setCopyright("Copyright JS Foundation and other contributors")
->setLicence(static::LICENCE_MIT)
->setLicenceUrl("http://jquery.org/license"),
// main/install/js/main/amcharts
(new static("amCharts"))
->setProductUrl("https://www.amcharts.com/")
->setCopyright("Copyright (c) 2018 amCharts (Antanas Marcelionis, Martynas Majeris)")
->setLicence(static::LICENCE_COMMERCIAL),
// main/install/js/main/imageeditor/external/react
(new static("React"))
->setProductUrl("https://reactjs.org/")
->setCopyright("Copyright (c) Facebook, Inc. and its affiliates")
->setLicence(static::LICENCE_MIT),
// main/install/js/main/imageeditor/external/photoeditorsdk
(new static("PhotoEditorSDK"))
->setProductUrl("https://photoeditorsdk.com/")
->setCopyright("Copyright (C) 2016-2019 img.ly GmbH <contact@img.ly>")
->setLicence(static::LICENCE_COMMERCIAL),
// main/install/js/main/json
(new static("json2.js"))
->setProductUrl("https://github.com/douglascrockford/JSON-js")
->setCopyright("Douglas Crockford")
->setLicence(static::LICENCE_PUBLIC_DOMAIN),
// main/install/js/main/md5
(new static("js-md5"))
->setProductUrl("https://github.com/emn178/js-md5")
->setCopyright("copyright Chen, Yi-Cyuan 2014-2017")
->setLicence(static::LICENCE_MIT),
// main/install/js/main/sha1
(new static("js-sha1"))
->setProductUrl("https://github.com/emn178/js-sha1")
->setCopyright("copyright Chen, Yi-Cyuan 2014-2017")
->setLicence(static::LICENCE_MIT),
// main/install/js/main/polyfill/intersectionobserver
(new static("IntersectionObserver"))
->setProductUrl("https://github.com/w3c/IntersectionObserver/")
->setCopyright("Copyright 2016 Google Inc.")
->setLicence(static::LICENCE_W3C),
// main/install/js/main/qrcode
(new static("QRCode for JavaScript"))
->setProductUrl("https://kazuhikoarase.github.io/qrcode-generator/")
->setCopyright("Copyright (c) 2009 Kazuhiko Arase")
->setLicence(static::LICENCE_MIT),
// main/install/js/main/recorder
(new static("lamejs"))
->setProductUrl("https://github.com/zhuker/lamejs")
->setCopyright("Alex Zhukov")
->setLicenceUrl("https://raw.githubusercontent.com/zhuker/lamejs/master/LICENSE"),
// main/install/js/main/webrtc
(new static("WebRTC adapter"))
->setProductUrl("https://github.com/webrtchacks/adapter")
->setCopyright("Copyright (c) 2017 The WebRTC project authors")
->setLicence(static::LICENCE_BSD3)
->setLicenceUrl("https://raw.githubusercontent.com/webrtcHacks/adapter/master/LICENSE.md"),
// main/install/js/main/rsasecurity.js
(new static("Base64 js"))
->setCopyright("Tyler Akins")
->setLicence(static::LICENCE_PUBLIC_DOMAIN),
// main/install/js/main/rsasecurity.js
(new static("BigInt js"))
->setCopyright("Copyright 1998-2005 David Shapiro")
->setLicenceText(
"You may use, re-use, abuse, copy, and modify this code to your liking, but please keep this header.
Thanks!
"),
// main/install/js/main/rsasecurity.js
(new static("BarrettMu js"))
->setCopyright("Copyright 2004-2005 David Shapiro")
->setLicenceText(
"You may use, re-use, abuse, copy, and modify this code to your liking, but please keep this header.
Thanks!
"),
// main/install/js/main/rsasecurity.js
(new static("RSA js"))
->setCopyright("Copyright 1998-2005 David Shapiro")
->setLicenceText(
"You may use, re-use, abuse, copy, and modify this code to your liking, but please keep this header.
Thanks!
"),
// main/lib/web/jwk.php
(new static("PHP-JWT"))
->setProductUrl("https://github.com/fproject/php-jwt")
->setCopyright("Bui Sy Nguyen <nguyenbs@gmail.com>")
->setLicence(static::LICENCE_BSD3)
->setLicenceUrl("https://github.com/fproject/php-jwt/blob/master/LICENSE"),
// main/lib/web/jwt.php
(new static("PHP-JWT"))
->setProductUrl("https://github.com/firebase/php-jwt")
->setCopyright("Neuman Vong <neuman@twilio.com>, Anant Narayanan <anant@php.net>")
->setLicence(static::LICENCE_BSD3)
->setLicenceUrl("https://github.com/firebase/php-jwt/blob/master/LICENSE"),
// main/install/fonts
(new static("Fonts \"PT Sans\", \"PT Serif\""))
->setProductUrl("http://www.paratype.com/public")
->setCopyright("Copyright (c) 2010, ParaType Ltd.")
->setLicence(static::LICENCE_OFL),
// main/install/css/main/bootstrap.css
(new static("Bootstrap v3.3"))
->setProductUrl("https://getbootstrap.com/")
->setCopyright("Copyright 2011-2016 Twitter, Inc.")
->setLicence(static::LICENCE_MIT)
->setLicenceUrl("https://github.com/twbs/bootstrap/blob/main/LICENSE"),
// main/install/css/main/bootstrap_v4
// ui/install/js/ui/bootstrap4
(new static("Bootstrap v4"))
->setProductUrl("https://getbootstrap.com/")
->setCopyright("Copyright 2011-2019 The Bootstrap Authors. Copyright 2011-2019 Twitter, Inc.")
->setLicence(static::LICENCE_MIT)
->setLicenceUrl("https://github.com/twbs/bootstrap/blob/main/LICENSE"),
// main/install/fonts
(new static("Font Awesome 6"))
->setProductUrl("http://fontawesome.io")
->setCopyright("Fonticons, Inc.")
->setLicence("Font: SIL OFL 1.1, CSS: MIT License")
->setLicenceUrl("http://fontawesome.io/license"),
// main/install/fonts
(new static("Open Sans Font"))
->setProductUrl("https://fonts.google.com/specimen/Open+Sans")
->setCopyright("Google Inc.")
->setLicence(static::LICENCE_APACHE2),
// main/install/js/main/phonenumber/flag
(new static("Flags Images"))
->setProductUrl("http://www.gosquared.com/")
->setCopyright("Copyright (c) 2013 Go Squared Ltd")
->setLicenceText(
"Copyright (c) 2013 Go Squared Ltd. http://www.gosquared.com/
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
"),
// main/install/js/main/polyfill/core
// crm/install/js/crm/site/form/babelhelpers/
(new static("Babel"))
->setProductUrl("https://github.com/babel/babel")
->setCopyright("(c) 2018 Babel")
->setLicence(static::LICENCE_MIT)
->setLicenceUrl("https://github.com/babel/babel/blob/main/LICENSE"),
// main/install/js/main/polyfill/core
(new static("Babel Regenerator Runtime"))
->setCopyright("Copyright (c) 2014-present, Facebook, Inc.")
->setLicence(static::LICENCE_MIT),
// main/vendor/psr/container
(new static("PSR Container"))
->setProductUrl("https://github.com/container-interop/fig-standards/")
->setCopyright("Copyright (c) 2013-2016 container-interop. Copyright (c) 2016 PHP Framework Interoperability Group")
->setLicence(static::LICENCE_MIT)
->setLicenceUrl("https://github.com/container-interop/fig-standards/blob/master/LICENSE-MIT.md"),
// main/vendor/psr/log
(new static("PSR Log"))
->setProductUrl("https://github.com/php-fig/log/")
->setCopyright("Copyright (c) 2012 PHP Framework Interoperability Group")
->setLicence(static::LICENCE_MIT)
->setLicenceUrl("https://github.com/php-fig/log/blob/master/LICENSE"),
// main/vendor/psr/http-message
(new static("PSR HTTP Message"))
->setProductUrl("https://github.com/php-fig/http-message")
->setCopyright("Copyright (c) 2014 PHP Framework Interoperability Group")
->setLicence(static::LICENCE_MIT)
->setLicenceUrl("https://github.com/php-fig/http-message/blob/master/LICENSE"),
// main/vendor/psr/http-client
(new static("PSR HTTP Client"))
->setProductUrl("https://github.com/php-fig/http-client")
->setCopyright("Copyright (c) 2017 PHP Framework Interoperability Group")
->setLicence(static::LICENCE_MIT)
->setLicenceUrl("https://github.com/php-fig/http-client/blob/master/LICENSE"),
// main/vendor/php-http/promise
(new static("php-http/promise"))
->setProductUrl("https://github.com/php-http/promise")
->setCopyright("Copyright (c) 2015-2016 PHP HTTP Team <team@php-http.org>")
->setLicence(static::LICENCE_MIT)
->setLicenceUrl("https://github.com/php-http/promise/blob/master/LICENSE"),
// main/install/js/main/d3js
(new static("D3.js"))
->setProductUrl("https://d3js.org")
->setCopyright("Copyright 2020 Mike Bostock")
->setLicence(static::LICENCE_BSD3)
->setLicenceUrl("https://github.com/d3/d3/blob/master/LICENSE"),
// main/install/js/main/helper/runtime.js
(new static("Swiffy runtime"))
->setCopyright("Copyright 2014 Google Inc.")
->setLicenceText(
"Copyright 2014 Google Inc.
Swiffy runtime version 7.2.0
In addition to the Google Terms of Service (http://www.google.com/accounts/TOS), Google grants you and the Google Swiffy end users a personal, worldwide, royalty-free, non-assignable and non-exclusive license to use the Google Swiffy runtime to host it for Google Swiffy end users and to use it in connection with the Google Swiffy service.
"),
// ui/install/js/ui/mustache/mustache.js
// sale/install/components/bitrix/sale.basket.basket/templates/.default/js/mustache.js
// sale/install/components/bitrix/sale.basket.basket/templates/bootstrap_v4/js/mustache.js
(new static("mustache.js"))
->setProductUrl("http://github.com/janl/mustache.js")
->setCopyright("Copyright (c) 2009 Chris Wanstrath (Ruby). Copyright (c) 2010-2014 Jan Lehnardt (JavaScript). Copyright (c) 2010-2015 The mustache.js community")
->setLicence(static::LICENCE_MIT)
->setLicenceUrl("https://github.com/janl/mustache.js/blob/master/LICENSE"),
// ui/install/js/ui/pdfjs
// ui/install/js/ui/pdfjs-ie11
// fileman/install/components/bitrix/pdf.viewer
(new static("PDF.js"))
->setProductUrl("https://github.com/mozilla/pdf.js")
->setCopyright("Copyright 2018 Mozilla Foundation")
->setLicence(static::LICENCE_APACHE2)
->setLicenceUrl("http://www.apache.org/licenses/LICENSE-2.0"),
// ui/install/js/ui/highlightjs
(new static("Highlight.js"))
->setProductUrl("https://github.com/highlightjs/highlight.js")
->setCopyright("Copyright (c) 2006, Ivan Sagalaev")
->setLicence(static::LICENCE_BSD3)
->setLicenceUrl("https://github.com/highlightjs/highlight.js/blob/master/LICENSE"),
// for landing
// landing/install/templates/landing24/assets/vendor
(new static("Animate.css"))
->setProductUrl("http://daneden.me/animate")
->setCopyright("Copyright (c) 2017 Daniel Eden")
->setLicence(static::LICENCE_MIT),
// landing/install/templates/landing24/assets/vendor
(new static("jQuery Easing v1.3"))
->setProductUrl("http://gsgd.co.uk/sandbox/jquery/easing/")
->setCopyright("Copyright (c) 2008 George McGinley Smith")
->setLicence(static::LICENCE_BSD3),
// landing/install/templates/landing24/assets/vendor
(new static("The Final Countdown for jQuery v2.2.0"))
->setProductUrl("http://hilios.github.io/jQuery.countdown/")
->setCopyright("Copyright (c) 2016 Edson Hilios")
->setLicence(static::LICENCE_MIT)
->setLicenceUrl("https://github.com/hilios/jQuery.countdown/blob/master/LICENSE.md"),
// landing/install/templates/landing24/assets/vendor
(new static("Slick carousel"))
->setProductUrl("https://github.com/kenwheeler/slick/")
->setCopyright("Copyright (c) 2017 Ken Wheeler")
->setLicence(static::LICENCE_MIT)
->setLicenceUrl("https://github.com/kenwheeler/slick/blob/master/LICENSE"),
// landing/install/templates/landing24/assets/vendor
(new static("FancyBox v3.2.5"))
->setProductUrl("http://fancyapps.com/fancybox/")
->setCopyright("Copyright 2017 fancyApps")
->setLicence(static::LICENCE_COMMERCIAL),
// landing/install/templates/landing24/assets/vendor
(new static("Simple Line Icons"))
->setProductUrl("https://simplelineicons.github.io/")
->setCopyright("Originally brought to you by Sabbir & Contributors")
->setLicence(static::LICENCE_MIT),
// landing/install/templates/landing24/assets/vendor
(new static("Hamburgers.css"))
->setProductUrl("https://jonsuh.com/hamburgers/")
->setCopyright("@author Jonathan Suh @jonsuh")
->setLicence(static::LICENCE_MIT)
->setLicenceUrl("https://github.com/jonsuh/hamburgers/blob/master/LICENSE"),
(new static("Unify - Responsive Website Template v2.0.0"))
->setProductUrl("https://wrapbootstrap.com/theme/unify-responsive-website-template-WB0412697")
->setCopyright("Author: Htmlstream")
->setLicence(static::LICENCE_COMMERCIAL),
(new static("Unsplash"))
->setProductUrl("https://unsplash.com/")
->setLicenceText("Unsplash grants you an irrevocable, nonexclusive, worldwide copyright license to download, copy, modify, distribute, perform, and use photos from Unsplash for free, including for commercial purposes, without permission from or attributing the photographer or Unsplash. This license does not include the right to compile photos from Unsplash to replicate a similar or competing service."),
// ui/install/js/ui/dexie
(new static("Dexie.js - a minimalistic wrapper for IndexedDB v3.2.2"))
->setCopyright("David Fahlander, david.fahlander@gmail.com")
->setProductUrl("https://dexie.org")
->setLicence(static::LICENCE_APACHE2)
->setLicenceUrl("http://www.apache.org/licenses/"),
// ui/install/js/ui/progressbarjs
(new static("ProgressBar.js v1.1.0"))
->setCopyright("Copyright 2016, Kimmo Brunfeldt")
->setProductUrl("https://kimmobrunfeldt.github.io/progressbar.js")
->setLicence(static::LICENCE_MIT),
// ui/install/js/ui/vue
// crm/install/js/crm/site/form/src/vue
(new static("Vue.js v2.6.14"))
->setCopyright("Copyright 2014-2021, Evan You")
->setProductUrl("https://v2.vuejs.org")
->setLicence(static::LICENCE_MIT),
// ui/install/js/ui/vue/vuex
(new static("Vuex v3.6.2"))
->setCopyright("Copyright 2021, Evan You")
->setProductUrl("https://v3.vuex.vuejs.org/")
->setLicence(static::LICENCE_MIT),
// ui/install/js/ui/vue/router
(new static("Vue-router v3.6.5"))
->setCopyright("Copyright 2021, Evan You")
->setProductUrl("https://v3.router.vuejs.org/")
->setLicence(static::LICENCE_MIT),
// ui/install/js/ui/vue/portal
(new static("Portal Vue v2.1.7"))
->setCopyright("Copyright 2019, Thorsten Lunborg")
->setProductUrl("https://portal-vue.linusb.org/")
->setLicence(static::LICENCE_MIT),
// ui/install/js/ui/vue3/vue
(new static("Vue v3.2.40"))
->setCopyright("Copyright 2014-2022 Evan You")
->setProductUrl("https://vuejs.org/")
->setLicence(static::LICENCE_MIT),
// ui/install/js/ui/vue3/vue/dev/src/vueuse.js
(new static("Utilities from VueUse collection"))
->setCopyright("Copyright 2019-2022 Anthony Fu")
->setProductUrl("https://vueuse.org/")
->setLicence(static::LICENCE_MIT),
// ui/install/js/ui/vue3/vuex
(new static("Vuex v4.0.2"))
->setCopyright("Copyright 2021 Evan You")
->setProductUrl("https://vuex.vuejs.org/")
->setLicence(static::LICENCE_MIT),
// ui/install/js/ui/vue3/router
(new static("Vue-router v4.1.5"))
->setCopyright("Copyright 2022 Eduardo San Martin Morote")
->setProductUrl("https://router.vuejs.org/")
->setLicence(static::LICENCE_MIT),
// ui/install/js/ui/vue3/pinia
(new static("Pinia v2.0.22"))
->setCopyright("Copyright 2022 Eduardo San Martin Morote")
->setProductUrl("https://pinia.vuejs.org/")
->setLicence(static::LICENCE_MIT),
// advertising/install/components/bitrix/advertising.banner/templates/jssor
(new static("Jssor Slider"))
->setCopyright("Jssor Slider 2009-2020")
->setProductUrl("https://www.jssor.com")
->setLicence(static::LICENCE_MIT),
// advertising/install/components/bitrix/advertising.banner/templates/nivo
(new static("jQuery Nivo Slider v3.2"))
->setCopyright("Copyright 2012, Dev7studios")
->setProductUrl("http://nivo.dev7studios.com")
->setLicence(static::LICENCE_MIT),
// fileman/install/js/fileman/player/videojs
(new static("Video.js v5.16.0"))
->setCopyright("Copyright Brightcove, Inc. <https://www.brightcove.com/>")
->setProductUrl("http://videojs.com/")
->setLicence(static::LICENCE_APACHE2),
// fileman/install/js/fileman/player/videojs
(new static("videojs-contrib-hls v5.2.1"))
->setCopyright("Copyright 2017 Brightcove, Inc. <https://www.brightcove.com/>")
->setLicence(static::LICENCE_APACHE2),
// fileman/install/js/fileman/player/videojs
(new static("videojs-playlist-thumbs v0.1.5"))
->setCopyright("Copyright 2016 Emmanuel Alves <manel.pb@gmail.com>")
->setLicence(static::LICENCE_MIT),
// fileman/install/js/fileman/player/videojs
(new static("videojs-vimeo v2.0.2"))
->setCopyright("Copyright Benoit Tremblay <trembl.ben@gmail.com>")
->setLicence(static::LICENCE_MIT),
// fileman/install/js/fileman/player/videojs
(new static("videojs-youtube v2.0.2"))
->setCopyright("Copyright Benoit Tremblay <trembl.ben@gmail.com>")
->setLicence(static::LICENCE_MIT),
// documentgenerator/lib/external
(new static("Petrovich v1.0.0"))
->setCopyright("Mike Bazhenov")
->setProductUrl('https://github.com/MikeBazhenov/petrovich')
->setLicence(static::LICENCE_MIT),
// ui/install/js/ui/confetti
(new static("Canvas confetti"))
->setCopyright("Copyright (c) 2020, Kiril Vatev")
->setProductUrl('https://github.com/catdad/canvas-confetti')
->setLicence(static::LICENCE_MIT),
// location/install/js/location/osm/leaflet
(new static("Leaflet"))
->setCopyright("Copyright (c) 2010-2019, Vladimir Agafonkin. Copyright (c) 2010-2011, CloudMade")
->setProductUrl('https://github.com/Leaflet/Leaflet')
->setLicence(static::LICENCE_BSD2),
// ui/install/js/ui/entity-selector/src/search/unicode-words.js
// mobile/install/mobileapp/mobile/extensions/bitrix/selector/utils/word-separator
(new static("Lodash"))
->setCopyright("Copyright OpenJS Foundation and other contributors <https://openjsf.org/>")
->setProductUrl('https://lodash.com/')
->setLicence(static::LICENCE_MIT),
// main/data/weak_passwords
(new static("SecLists"))
->setCopyright("Copyright (c) 2018 Daniel Miessler")
->setProductUrl('https://github.com/danielmiessler/SecLists')
->setLicence(static::LICENCE_MIT)
->setLicenceUrl('https://github.com/danielmiessler/SecLists/blob/master/LICENSE'),
// intranet/install/templates/login/font
(new static('Font Montserrat'))
->setCopyright('Copyright 2011 The Montserrat Project Authors')
->setProductUrl('https://fonts.google.com/specimen/Montserrat')
->setLicence(static::LICENCE_OFL),
// ui/lib/barcode
(new static("Barcode"))
->setCopyright("Copyright (c) 2016-2018 Kreative Software")
->setProductUrl('https://github.com/kreativekorp/barcode')
->setLicence(static::LICENCE_MIT)
->setLicenceUrl('https://github.com/kreativekorp/barcode/blob/master/LICENSE'),
// main/vendor/phpmailer
(new static("PHPMailer"))
->setCopyright("Copyright 2012 - 2020 Marcus Bointon, 2010 - 2012 Jim Jagielski, 2004 - 2009 Andy Prevost")
->setProductUrl('https://github.com/PHPMailer/PHPMailer')
->setLicence(static::LICENCE_LGPL2)
->setLicenceUrl('https://github.com/PHPMailer/PHPMailer/blob/master/LICENSE'),
// landing/install/js/landing/screenshoter
(new static("html-to-image"))
->setCopyright("Copyright (c) 2017-2021 bubkoo")
->setProductUrl('https://github.com/bubkoo/html-to-image')
->setLicence(static::LICENCE_MIT)
->setLicenceUrl("https://github.com/bubkoo/html-to-image/blob/master/LICENSE"),
// sale/general/tfpdf
(new static("tFPDF (based on FPDF 1.7)"))
->setCopyright("Ian Back <ianb@bpm1.com>")
->setProductUrl('http://www.fpdf.org/en/script/script92.php')
->setLicence(static::LICENCE_LGPL2),
// conversion/lib/internals/mobiledetect.php
(new static("Mobile Detect Library"))
->setCopyright("Copyright (c) 2021 Serban Ghita, Nick Ilyin and contributors")
->setProductUrl('https://github.com/serbanghita/Mobile-Detect')
->setLicence(static::LICENCE_MIT)
->setLicenceUrl("https://github.com/serbanghita/Mobile-Detect/blob/5.x/LICENSE"),
// fileman/install/js/fileman/html_editor/range.js
(new static("Rangy"))
->setCopyright("Copyright 2013, Tim Down")
->setProductUrl('http://code.google.com/p/rangy/')
->setLicence(static::LICENCE_MIT),
// landing/install/js/landing/polyfill.js
(new static("loadCSS"))
->setCopyright("[c]2017 Filament Group, Inc.")
->setLicence(static::LICENCE_MIT),
// landing/install/js/landing/external/webfontloader
(new static("Web Font Loader"))
->setCopyright("Copyright 2016 Small Batch, Inc., (c) Adobe Systems, Google")
->setLicence(static::LICENCE_APACHE2),
// mobileapp/install/js/mobileapp
(new static("Apache Cordova"))
->setCopyright("Copyright 2012 The Apache Software Foundation")
->setLicence(static::LICENCE_APACHE2),
// faceid/install/components/bitrix/faceid.tracker/templates/.default/smoother.js
// faceid/install/js/faceid/WebPhotoMaker/smoother.js
(new static("Smoother"))
->setCopyright("Copyright 2014 Martin Tschirsich")
->setLicence(static::LICENCE_MIT),
// ui/install/js/ui/fonts/comforter-brush
(new static("Font Comforter Brush"))
->setCopyright("Copyright 2015 The Comforter Brush Project Authors")
->setProductUrl('https://github.com/googlefonts/comforter-brush')
->setLicence(static::LICENCE_OFL),
// main/vendor/geoip2
// main/vendor/maxmind-db
(new static("GeoIP2 PHP API"))
->setCopyright("Copyright (c) 2013-2020 by MaxMind, Inc.")
->setProductUrl('https://github.com/maxmind/GeoIP2-php')
->setLicence(static::LICENCE_APACHE2),
// main/install/js/main/rating
(new static("Lottie-web"))
->setCopyright("Copyright (c) 2015 Bodymovin")
->setProductUrl('https://github.com/airbnb/lottie-web')
->setLicence(static::LICENCE_MIT),
// mobileapp/mobile/extensions/bitrix/utils/url/punycode.js
(new static("Punycode.js"))
->setCopyright("Copyright Mathias Bynens <https://mathiasbynens.be/>")
->setProductUrl('https://github.com/mathiasbynens/punycode.js')
->setLicence(static::LICENCE_MIT),
// voximplant/install/js/voximplant/voximplant.min.js
(new static("Voximplant Web SDK"))
->setCopyright("Copyright Voximplant <https://voximplant.com/>")
->setProductUrl('https://www.npmjs.com/package/voximplant-websdk')
->setLicence(static::LICENCE_COMMERCIAL),
// main/vendor/nikic/php-parser
(new static("PHP Parser"))
->setCopyright('Copyright (c) 2011, Nikita Popov')
->setProductUrl('https://github.com/nikic/PHP-Parser/')
->setLicence(static::LICENCE_BSD3)
->setLicenceUrl('https://github.com/nikic/PHP-Parser/blob/4.x/LICENSE'),
];
}
}
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29