summaryrefslogtreecommitdiffstats
path: root/templates/header.inc
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-01-22 08:39:24 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-01-22 08:39:24 +0000
commit56ce11f771d173f559f2608c83422a94fcc37165 (patch)
treed537804a9c707cf7fb1743fb8d112bb87040f718 /templates/header.inc
parent595b211d5e59e320586d09e16878b24bdb8b3375 (diff)
downloadampache-56ce11f771d173f559f2608c83422a94fcc37165.tar.gz
ampache-56ce11f771d173f559f2608c83422a94fcc37165.tar.bz2
ampache-56ce11f771d173f559f2608c83422a94fcc37165.zip
added config version check, fixed play selected bug reported by chenb and fixed wmp11 now playing issue
Diffstat (limited to 'templates/header.inc')
-rw-r--r--templates/header.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/header.inc b/templates/header.inc
index d1ada535..289a7779 100644
--- a/templates/header.inc
+++ b/templates/header.inc
@@ -69,3 +69,9 @@ if (conf('use_rss')) { ?>
<div id="content">
<!-- I hate IE... -->
<table class="smeg-ie"><tr><td>
+<?php if (conf('int_config_version') != conf('config_version') AND $GLOBALS['user']->has_access(100)) { ?>
+<div class="fatalerror">
+ <?php echo _('Error Config File Out of Date'); ?>
+ <a href="<?php conf('web_path'); ?>/admin/system.php?action=generate_config"><?php echo _('Generate New Config'); ?></a>
+</div>
+<?php } ?>