fix: [galaxyCluster:view] Use CyCat local icon

pull/7479/head
mokaddem 2021-06-04 15:16:37 +02:00
parent a5e422c52a
commit 98499f6959
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
2 changed files with 6 additions and 6 deletions

View File

@ -103,13 +103,13 @@ if (!empty($extendedByHtml)) {
<div id="relations_container"></div>
</div>
<?php
$titleHTML = __('CyCat Relationships');
$titleHTML .= sprintf('<a href="%s" onclick="event.stopPropagation()" title="%s" target="_blank"><img src="%s" style="height: 2.5em"/></a>',
'https://cycat.org/',
__('CyCAT or the CYbersecurity Resource CATalogue aims at mapping and documenting, in a single formalism and catalogue all the available cybersecurity tools, rules, playbooks, processes and controls.'),
'https://cycat.org/images/favicon.ico'
);
if (!empty(Configure::read('Plugin.CyCat_enable'))) {
$titleHTML = __('CyCat Relationships');
$titleHTML .= sprintf('<a href="%s" onclick="event.stopPropagation()" title="%s" target="_blank"><img src="%s" style="height: 2.5em"/></a>',
'https://cycat.org/',
__('CyCAT or the CYbersecurity Resource CATalogue aims at mapping and documenting, in a single formalism and catalogue all the available cybersecurity tools, rules, playbooks, processes and controls.'),
$baseurl . '/img/CyCat.ico'
);
echo $this->element('/genericElements/accordion', [
'title' => 'CyCat Relationships',
'titleHTML' => $titleHTML,

BIN
app/webroot/img/CyCat.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB