]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix appearance of error message - .errors is outdated
authorMorris Jobke <morris.jobke@gmail.com>
Thu, 5 Dec 2013 10:23:30 +0000 (11:23 +0100)
committerMorris Jobke <morris.jobke@gmail.com>
Thu, 5 Dec 2013 10:23:30 +0000 (11:23 +0100)
core/templates/installation.php

index 3457a3c9a992e68c2661db2bbe8e325c34c7a335..325eb20486887841c180754d6780e40f1f11c1c2 100644 (file)
@@ -6,18 +6,19 @@
 <form action="index.php" method="post">
 <input type="hidden" name="install" value="true" />
        <?php if(count($_['errors']) > 0): ?>
-       <ul class="errors">
+       <fieldset class="warning">
+               <legend><strong><?php p($l->t('Error'));?></strong></legend>
                <?php foreach($_['errors'] as $err): ?>
-               <li>
+               <p>
                        <?php if(is_array($err)):?>
                                <?php print_unescaped($err['error']); ?>
-                               <p class='hint'><?php print_unescaped($err['hint']); ?></p>
+                               <span class='hint'><?php print_unescaped($err['hint']); ?></span>
                        <?php else: ?>
                                <?php print_unescaped($err); ?>
                        <?php endif; ?>
-               </li>
+               </p>
                <?php endforeach; ?>
-       </ul>
+       </fieldset>
        <?php endif; ?>
        <?php if($_['vulnerableToNullByte']): ?>
        <fieldset class="warning">