diff options
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -1,5 +1,5 @@ <?php -/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ +/* vim:set softtabstop=4 shiftwidth=4 expandtab: */ /** * * LICENSE: GNU General Public License, version 2 (GPLv2) @@ -30,11 +30,11 @@ $version = Update::get_version(); if ($_REQUEST['action'] == 'update') { - /* Run the Update Mojo Here */ - Update::run_update(); + /* Run the Update Mojo Here */ + Update::run_update(); - /* Get the New Version */ - $version = Update::get_version(); + /* Get the New Version */ + $version = Update::get_version(); } $htmllang = str_replace("_","-",Config::get('lang')); @@ -55,21 +55,21 @@ $htmllang = str_replace("_","-",Config::get('lang')); <p>Pour l'Amour de la Musique.</p> </div> <div id="text-box"> - <div class="notify"> + <div class="notify"> <?php printf(T_('This page handles all database updates to Ampache starting with <strong>3.3.3.5</strong>. According to your database your current version is: <strong>%s</strong>.'), Update::format_version($version)); ?> <?php echo T_('the following updates need to be performed'); ?><br /><br /> <div style="font-size:1.2em;font-weight:bold;text-align:center;"><?php Error::display('general'); ?></div> - </div> - <div class="content"> + </div> + <div class="content"> <?php Update::display_update(); ?> <form method="post" enctype="multipart/form-data" action="<?php echo Config::get('web_path'); ?>/update.php?action=update"> <?php if (Update::need_update()) { ?><input type="submit" value="<?php echo T_('Update Now!'); ?>" /> <?php } ?> </form> - </div> - <div id="bottom"> - <p><b><?php echo T_('Ampache Installation.'); ?></b><br /> - Pour l'Amour de la Musique.</p> + </div> + <div id="bottom"> + <p><b><?php echo T_('Ampache Installation.'); ?></b><br /> + Pour l'Amour de la Musique.</p> </div> </div> </body> |