[Pkg-owncloud-commits] [owncloud] 01/28: fix appearance of error message - .errors is outdated
David Prévot
taffit at moszumanska.debian.org
Sat Dec 7 02:33:30 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 0af65cae37af5bcb71bb878ecaa6a62e9e47fc5b
Author: Morris Jobke <morris.jobke at gmail.com>
Date: Thu Dec 5 11:23:30 2013 +0100
fix appearance of error message - .errors is outdated
---
core/templates/installation.php | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/core/templates/installation.php b/core/templates/installation.php
index 3457a3c..325eb20 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -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">
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list