File: sample.php

package info (click to toggle)
phing 3.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 9,340 kB
  • sloc: php: 59,826; xml: 9,770; sql: 78; makefile: 39; sh: 14
file content (64 lines) | stat: -rw-r--r-- 1,832 bytes parent folder | download | duplicates (3)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><?php echo _('Nag is not properly configured'); ?></title>
<style type="text/css">
<!--
body {
        font-family: Geneva,Arial,Helvetica,sans-serif;
        font-size: 9pt;
        background-color: #222244;
        color: black;
}

.smallheader {
        color: #ccccee;
        background-color: #444466;
        font-family: Geneva,Arial,Helvetica,sans-serif;
        font-size: 9pt;
}

.light {
        color: white;
        font-family: Geneva,Arial,Helvetica,sans-serif;
        font-size: 9pt;
}

.header {
        color: #ccccee;
        background-color: #444466;
        font-family: Verdana,Helvetica,sans-serif;
        font-weight: bold;
        font-size: 13pt;
}
-->
</style>
</head>
<body>
<table border="0" align="center" width="500" cellpadding="2" cellspacing="4">
<tr><td colspan="2" class="header"><b><?php echo _("Some of Nag's configuration files are missing:"); ?></b></td></tr>

<?php if (!@is_readable('./config/conf.php')) { ?>
<tr>
  <td align="right" class="smallheader"><b>conf.php</b></td>
  <td class="light"><?php echo _('This is the main Nag configuration file. It contains options for all Nag scripts.'); ?></td>
</tr>
<?php } ?>

<?php if (!@is_readable('./config/prefs.php')) { ?>
<tr>
  <td align="right" class="smallheader"><b>prefs.php</b></td>
  <td class="light"><?php echo _('This file contains preferences for Nag.'); ?></td>
</tr>
<?php } ?>

<?php if (!@is_readable('./config/html.php')) { ?>
<tr>
  <td align="right" class="smallheader"><b>html.php</b></td>
  <td class="light"><?php echo gettext('This file controls the stylesheet that is used to set colors and fonts in addition to or overriding Horde defaults.'); ?></td>
</tr>
<?php } ?>

</table>
</body>
</html>