diff --git a/assets/plugins/extrascheck/CheckOutdated.class.php b/assets/plugins/extrascheck/CheckOutdated.class.php index 038f54931a..e7166e23b3 100644 --- a/assets/plugins/extrascheck/CheckOutdated.class.php +++ b/assets/plugins/extrascheck/CheckOutdated.class.php @@ -73,7 +73,7 @@ public function snippet($name, $options) if (!is_null($snippet)) { $tpl = isset($options['template']) ? $options['template'] : '@CODE:
' . - ' ' . + ' ' . '[+snippet+] [+name+] (version [+currentVersion+]) ' . ' [+isSecurity:empty:then=`[+isoutdated+] Evolution [+evo_cms_version+]`:else=`[+security_reason+].`+]' . '
[+please_update+] [+name+] [+to_latest+]' . @@ -124,7 +124,7 @@ public function plugin($name, $options) if (!is_null($plugin)) { $tpl = isset($options['template']) ? $options['template'] : '@CODE:
' . - ' ' . + ' ' . '[+plugin+] [+name+] (version [+currentVersion+]) ' . ' [+isSecurity:empty:then=`[+isoutdated+] Evolution [+evo_cms_version+]`:else=`[+security_reason+].`+]' . '
[+please_update+] [+name+] [+to_latest+]' . @@ -174,7 +174,7 @@ public function module($name, $options) if (!is_null($module)) { $tpl = isset($options['template']) ? $options['template'] : '@CODE:
' . - ' ' . + ' ' . '[+lock_element_type_6+] [+name+] (version [+currentVersion+]) ' . ' [+isSecurity:empty:then=`[+isoutdated+] Evolution [+evo_cms_version+]`:else=`[+security_reason+].`+]' . '
[+please_update+] [+name+] [+to_latest+]' . @@ -224,7 +224,7 @@ public function file($path, $options = []) $tpl = isset($options['template']) ? $options['template'] : '@CODE:
' . - ' ' . + ' ' . '[+path+] ' . ' [+isSecurity:empty:then=`[+isoutdated+] Evolution [+evo_cms_version+]`:else=`[+security_reason+].`+]' . '
[+please_delete+]. [+if_dont_use+]' . @@ -249,7 +249,7 @@ public function theme($theme, $options = []) $tpl = isset($options['template']) ? $options['template'] : '@CODE:
' . - ' ' . + ' ' . '[+manager_theme+] [+theme+] ' . '[+isSecurity:empty:then=`[+isoutdated+] Evolution [+evo_cms_version+]`:else=`- [+security_reason+].`+]' . '
[+please_delete+] [+from_folder+] [+path+]. [+if_dont_use+]' . @@ -279,7 +279,7 @@ public function rss($key, $options) if (isset($options['old']) && $this->modx->getConfig($key) === $options['old']) { $tpl = isset($options['template']) ? $options['template'] : '@CODE:
' . - ' ' . + ' ' . '[+settings_config+] > [+' . $key . '_title+] ' . '([+oldUrl+]) [+outdated+]. ' . '[+please_download_and_install+] UpdateEvosRss [+from+]' . @@ -364,7 +364,7 @@ public function makeConfigButton($title) $popup = [ 'url' => EVO_MANAGER_URL . '?a=102&id=' . $this->getPluginId() . '&tab=1', 'title1' => $title, - 'icon' => 'fa-cog', + 'icon' => 'evo-icon-settings', 'iframe' => 'iframe', 'selector2' => '#tabConfig', 'position' => 'center', @@ -385,7 +385,7 @@ public function makeConfigButton($title) str_replace('"', "'", stripslashes(json_encode($popup))) . ')" ' . '>' . - ' ' . + ' ' . ''; } diff --git a/assets/plugins/extrascheck/OutdatedExtrasCheck.plugin.php b/assets/plugins/extrascheck/OutdatedExtrasCheck.plugin.php index 7fb3bbd2fa..b8ec329677 100644 --- a/assets/plugins/extrascheck/OutdatedExtrasCheck.plugin.php +++ b/assets/plugins/extrascheck/OutdatedExtrasCheck.plugin.php @@ -53,7 +53,7 @@ 'cols' => 'col-lg-12', 'headAttr' => 'style="color:#E84B39;"', 'bodyAttr' => '', - 'icon' => 'fa-warning', + 'icon' => 'evo-icon-alert-triangle', 'title' => '' . $wdgTitle . ' ' . $button . '', 'body' => '
' . $out . '
', 'hide' => '0' diff --git a/assets/plugins/updater/plugin.updater.php b/assets/plugins/updater/plugin.updater.php index f7064422c5..8c878e4ef3 100644 --- a/assets/plugins/updater/plugin.updater.php +++ b/assets/plugins/updater/plugin.updater.php @@ -891,7 +891,7 @@ function poll() { 'menuindex' => '1', 'id' => 'updater', 'cols' => 'col-sm-12', - 'icon' => 'fa-exclamation-triangle', + 'icon' => 'evo-icon-alert-triangle', 'title' => $_lang['system_update'], 'body' => $output ]; @@ -952,7 +952,7 @@ function poll() { 'menuindex' => '1000', 'id' => 'updater', 'cols' => 'col-sm-12', - 'icon' => 'fa-exclamation-triangle', + 'icon' => 'evo-icon-alert-triangle', 'title' => $_lang['system_update'], 'body' => $output ]; @@ -1160,14 +1160,14 @@ function poll() { . '
'; $supportButtonHtml = '' - . ' ' . htmlspecialchars($_lang['updater_action_support'], ENT_QUOTES, 'UTF-8') . ''; + . ' ' . htmlspecialchars($_lang['updater_action_support'], ENT_QUOTES, 'UTF-8') . ''; $releaseButtonsHtml = ''; @@ -1180,14 +1180,14 @@ function poll() { $safeCliCommand = htmlspecialchars($cliCommand, ENT_QUOTES, 'UTF-8'); $branchModeNoticeHtml = ''; if ($isLineMode) { - $branchModeNoticeHtml = '

' + $branchModeNoticeHtml = '

' . htmlspecialchars(sprintf( updaterLang($_lang, 'updater_line_mode_notice', 'This site follows %s, which has new commits. To return to a release, run php artisan make:site update in the core folder.'), $version === 'evolution-cms/evolution' ? $latestVersionRaw : $version . ' ' . $latestVersionRaw ), ENT_QUOTES, 'UTF-8') . '

'; } elseif ($isBranchMode) { - $branchModeNoticeHtml = '

' + $branchModeNoticeHtml = '

' . htmlspecialchars(updaterLang($_lang, 'updater_branch_mode_notice', 'Development branch/ref update mode is enabled. Use it only for testing or controlled maintenance.'), ENT_QUOTES, 'UTF-8') . '

'; } @@ -1199,7 +1199,7 @@ function poll() { if ($canShowUpdateActions) { $primaryUpdateButtonHtml = '' - . ' ' . htmlspecialchars(updaterLang($_lang, 'updater_cli_summary', 'Manual update (CLI)'), ENT_QUOTES, 'UTF-8') + . ' ' . htmlspecialchars(updaterLang($_lang, 'updater_cli_summary', 'Manual update (CLI)'), ENT_QUOTES, 'UTF-8') . ''; $cliPanelHtml = '