mirror of
https://github.com/e107inc/e107.git
synced 2025-09-02 10:53:29 +02:00
Fix for Sitelinks tooltip preference. (and footer links)
This commit is contained in:
@@ -1826,6 +1826,14 @@ class navigation_shortcodes extends e_shortcode
|
||||
*/
|
||||
function sc_link_description($parm='')
|
||||
{
|
||||
$toolTipEnabled = e107::pref('core', 'linkpage_screentip', false);
|
||||
|
||||
if($toolTipEnabled == false || empty($this->var['link_description']))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
return e107::getParser()->toAttribute($this->var['link_description']);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user