diff --git a/lib/class/autoupdate.class.php b/lib/class/autoupdate.class.php index 7ed3921d..55c8d0f5 100644 --- a/lib/class/autoupdate.class.php +++ b/lib/class/autoupdate.class.php @@ -226,7 +226,7 @@ class AutoUpdate */ public static function show_new_version() { - echo '
'; + echo '
'; echo '' . T_('Update available') . ''; echo ' (' . self::get_latest_version() . ').
'; diff --git a/templates/header.inc.php b/templates/header.inc.php index 87dbeb95..60d306ee 100644 --- a/templates/header.inc.php +++ b/templates/header.inc.php @@ -408,16 +408,7 @@ $_SESSION['login'] = false; - - playlist->get_items()); - ?> - +
@@ -434,7 +425,7 @@ $_SESSION['login'] = false;
- +
@@ -527,20 +518,35 @@ $_SESSION['login'] = false;
Loading . . .
+
- has_access(100)) { - ?> -
- - | - -
- + '; + if (AmpConfig::get('autoupdate') && AutoUpdate::is_update_available()) { + AutoUpdate::show_new_version(); + echo '
'; + } + $count_temp_playlist = count($GLOBALS['user']->playlist->get_items()); + + if (AmpConfig::get('int_config_version') != AmpConfig::get('config_version')) { + ?> +
+ +
+ | + +
+ '; + } + ?>
diff --git a/themes/reborn/templates/default.css b/themes/reborn/templates/default.css index 1300bd39..adaeeb4d 100644 --- a/themes/reborn/templates/default.css +++ b/themes/reborn/templates/default.css @@ -248,10 +248,6 @@ input[type=button]:focus:active, input[type=submit]:focus:active { top: 20px; } -#updateInfo { - float: left; -} - #sb_Subsearch input[type=submit] { min-width: 100px; font-size: 15px;