Exemplo n.º 1
0
?>
!</h3>
<?php 
echo $update["description"];
?>

<form action="<?php 
echo $_SERVER['PHP_SELF'];
?>
" method="post">
  <input type="hidden" name="version" value="<?php 
echo $version;
?>
">
  <?php 
$installer->displayErrorMessages();
?>
  <?php 
if ($installer->hasPermissions($update["privileges"])) {
    ?>
    <p>The database user for this module already has the required privileges to run this update (<?php 
    echo implode(", ", $update["privileges"]);
    ?>
).</p>
  <?php 
} else {
    ?>
    <p>To run this update, please enter the username and password for a MySQL user with the following privileges: <?php 
    echo implode(", ", $update["privileges"]);
    ?>
</p>