blob: c87c476308b29ed70f5e5593e4b8b08c0bb9bc35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
<? defined("SYSPATH") or die("No direct script access."); ?>
<html>
<head>
<title>Gallery3 Scaffold</title>
<style>
body {
font-family: Trebuchet MS;
}
p {
margin: 0 0 0 0;
padding: 5px;
}
pre {
margin: 0;
padding-left: 1em;
}
.error {
color: red;
}
div.block {
border: 1px solid black;
margin-bottom: 5px;
paddding: 1em;
}
</style>
</head>
<body>
<? foreach ($errors as $error): ?>
<div class="block">
<p class="error">
<?= $error->message ?>
</p>
<? foreach ($error->instructions as $line): ?>
<pre><?= $line ?></pre>
<? endforeach ?>
<? if (!empty($error->message2)): ?>
<p class="error">
<?= $error->message2 ?>
</p>
<? endif ?>
</div>
<? endforeach ?>
</body>
</html>
|