Dotclear


Ignore:
Timestamp:
12/19/18 15:04:27 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Short message for new window on link, suggestion from Luce

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/simpleMenu/_public.php

    r3951 r3953  
    127127                    if (($description == 'title' || $description == 'both') && $targetBlank) { 
    128128                        $title = html::escapeHTML(__($m['descr'])) . ' (' . 
    129                         __('the link will open a new window') . ')'; 
     129                        __('new window') . ')'; 
    130130                    } elseif ($description == 'title' || $description == 'both') { 
    131131                        $title = html::escapeHTML(__($m['descr'])); 
     
    137137 
    138138                if (empty($title) && $targetBlank) { 
    139                     $title = __('the link will open a new window'); 
     139                    $title = __('new window'); 
    140140                } 
    141141                if ($active && !$targetBlank) { 
     
    164164                    '">' . 
    165165                    '<a href="' . $href . '"' . 
    166                     (!empty($item['title']) ? ' title="'. $label ." - " . $item['title'] . '"' : '') . 
     166                    (!empty($item['title']) ? ' title="'. $label . ' - ' . $item['title'] . '"' : '') . 
    167167                    (($targetBlank) ? ' target="_blank" rel="noopener noreferrer"' : '') . '>' . 
    168168                    '<span class="simple-menu-label">' . $item['label'] . '</span>' . 
Note: See TracChangeset for help on using the changeset viewer.

Sites map