Merge pull request #1159 from hide-me/patch-18
Trying to add tanslatable string
This commit is contained in:
commit
ef2da05473
|
@ -42,7 +42,7 @@ class pluginVersion extends Plugin {
|
|||
global $L;
|
||||
$html = '';
|
||||
if ($this->getValue('showCurrentVersion')) {
|
||||
$html = '<a id="current-version" class="nav-link" href="'.HTML_PATH_ADMIN_ROOT.'about'.'">Version '.(defined('BLUDIT_PRO')?'<span class="fa fa-heart" style="color: #ffc107"></span>':'').'<span class="badge badge-warning badge-pill">'.BLUDIT_VERSION.'</span></a>';
|
||||
$html = '<a id="current-version" class="nav-link" href="'.HTML_PATH_ADMIN_ROOT.'about'.'">'.$L->get('Version').' '.(defined('BLUDIT_PRO')?'<span class="fa fa-heart" style="color: #ffc107"></span>':'').'<span class="badge badge-warning badge-pill">'.BLUDIT_VERSION.'</span></a>';
|
||||
}
|
||||
if ($this->getValue('newVersionAlert')) {
|
||||
$html .= '<a id="new-version" style="display: none;" target="_blank" href="https://www.bludit.com">'.$L->get('New version available').' <span class="fa fa-bell" style="color: red"></span></a>';
|
||||
|
@ -61,4 +61,4 @@ class pluginVersion extends Plugin {
|
|||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue