#plugin-version { display: block; position: fixed; bottom: 0; right: 0; background: #eee; padding: 2px 10px; font-size: 0.9em; color: #555; } #plugin-version a { color: #777; margin-left: 8px; } #new-version, #current-version { display: none; } '; return $html; } public function adminBodyBegin() { global $Language; $html = '
'; $html .= '
'.$Language->get('New version available').'
'; if (defined('BLUDIT_PRO')) { $html .= '
Bludit PRO v'.BLUDIT_VERSION.'
'; } else { $html .= '
Bludit v'.BLUDIT_VERSION.''.$Language->get('Upgrade to Bludit PRO').'
'; } $html .= '
'; $html .= ''; return $html; } public function adminBodyEnd() { $jsPath = $this->phpPath() . 'js' . DS; $scripts = ''; return $scripts; } }