summaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorxgizzmo <xgizzmo@ampache>2005-07-11 20:30:06 +0000
committerxgizzmo <xgizzmo@ampache>2005-07-11 20:30:06 +0000
commit2c4d64602dd0dbfdefccb116d0d4fb4e49ff7488 (patch)
tree7c121e46dfeb1fff7a0f31d942d3c8080fba6571 /update.php
parent7df5ed038d1d890329ca089f9d76492029315eea (diff)
downloadampache-2c4d64602dd0dbfdefccb116d0d4fb4e49ff7488.tar.gz
ampache-2c4d64602dd0dbfdefccb116d0d4fb4e49ff7488.tar.bz2
ampache-2c4d64602dd0dbfdefccb116d0d4fb4e49ff7488.zip
XHTML clean up and fixed a few typos
Diffstat (limited to 'update.php')
-rw-r--r--update.php15
1 files changed, 11 insertions, 4 deletions
diff --git a/update.php b/update.php
index 72b71e69..2736f99d 100644
--- a/update.php
+++ b/update.php
@@ -57,20 +57,27 @@ if ($_REQUEST['action'] == 'update') {
$version = $update->get_version();
}
+$htmllang = str_replace("_","-",conf('lang'));
+
?>
-<html>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $htmllang; ?>" lang="<?php echo $htmllang; ?>">
<head>
+<link rel="shortcut icon" href="<?php echo conf('web_path'); ?>/favicon.ico" />
+<meta http-equiv="Content-Type" content="text/html; charset=<?php echo conf('site_charset'); ?>" />
+<?php show_template('style'); ?>
<title>Ampache - Update</title>
</head>
<body>
-<?php show_template('style'); ?>
+
<p class="header1">Ampache - Update</p>
<p>
This page handles all database updates to Ampache starting with 3.2. According to your database your current version is: <?php echo $update->format_version($version); ; ?>.
the following updates need to be performed<br /><br />
-<?php $update->display_update(); ?>
</p>
-<p>
+<?php $update->display_update(); ?>
+
<form method="post" enctype="multipart/form-data" action="<?php echo conf('web_path'); ; ?>/update.php?action=update">
<?php if ($update->need_update()) { ?><input type="submit" value="Update Now!" /> <?php } ?>
</form>