mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
adding missing file
This commit is contained in:
parent
8fae6c3f84
commit
ff1680087c
26
src/Model/Navigation/NaviEntryExternLink.php
Normal file
26
src/Model/Navigation/NaviEntryExternLink.php
Normal file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
namespace Model\Navigation;
|
||||
|
||||
use Cake\Routing\Router;
|
||||
|
||||
class NaviEntryExternLink extends NaviEntryAbsoluteLink {
|
||||
|
||||
protected function link() {
|
||||
//global $self;
|
||||
//echo "<i>self: </i>"; var_dump($GLOBALS("self"));
|
||||
$self = $GLOBALS["self"];
|
||||
|
||||
return '<a href="'.$this->link.'" class="' .$this->bgColorClass .'" target="_blank">'
|
||||
. '<span class="link-title">' . $this->title . '</span>'
|
||||
. '<i class="mdi '. $this->iconClass .' link-icon ' . $this->iconColor .'"></i>'
|
||||
. '</a>';
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user