Trying to add tanslatable string
Please check it. I tested on my site and it's working perfectly, but maybe I did some mistakes.
This commit is contained in:
parent
b156c9e576
commit
9833141c13
|
@ -42,7 +42,7 @@ class pluginVersion extends Plugin {
|
||||||
global $L;
|
global $L;
|
||||||
$html = '';
|
$html = '';
|
||||||
if ($this->getValue('showCurrentVersion')) {
|
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')) {
|
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>';
|
$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>';
|
||||||
|
|
Loading…
Reference in New Issue