Re-add hook just removed; compose templates are so scattered, there is nowhere a...
[squirrelmail.git] / src / about.php
... / ...
CommitLineData
1<?php
2
3/**
4 * about.php
5 *
6 * An "about box" detailing SquirrelMail info.
7 *
8 * TODO:
9 * - Insert org_name, provider_url?
10 * - What more information is needed?
11 * - Display of system information might be restricted
12 *
13 * @copyright &copy; 1999-2007 The SquirrelMail Project Team
14 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
15 * @version $Id$
16 * @package squirrelmail
17 */
18
19/**
20 * Include the SquirrelMail initialization file.
21 */
22require('../include/init.php');
23
24displayPageHeader($color);
25
26?>
27<p align="center">
28<img src="../images/sm_logo.png" width="308" height="111"
29 alt="SquirrelMail Logo" /><br />
30<table align="center" width="80%" cellpadding="1" cellspacing="2" border="0">
31<tr><td bgcolor="#dcdcdc" align="center"><div style="text-align: center;"><b>
32<?php echo sprintf(_("About SquirrelMail %s"),$version); ?>
33</b></div></td></tr>
34<tr><td>
35<br />
36<?php echo _("SquirrelMail is the name of the program that provides access to your email via the web."); ?>
37<br />
38<br />
39<strong>
40<?php
41// i18n: %s displays org_name variable value enclosed in () or empty string.
42echo sprintf(_("If you have questions about or problems with your mail account, passwords, abuse etc, please refer to your system administrator or provider%s."),( $org_name != 'SquirrelMail' ? ' (' . $org_name . ')':''));
43echo "</strong>\n";
44
45// i18n: %s tags are used in order to remove html URL attributes from translation
46echo sprintf(_("They can assist you adequately with these issues. The SquirrelMail Project Team cannot help you with that. The %shelp system%s provides answers to frequently asked questions."),'<a href="help.php">','</a>');
47
48echo "<br />\n<br />\n";
49
50// i18n: %s tags are used in order to remove html URL attributes from translation
51echo sprintf(_("SquirrelMail is a feature rich, standards compliant webmail application written in PHP. It was made by a group of volunteers united in the SquirrelMail Project Team and is released as open source, free software under the %sGNU General Public License%s."),'<a href="http://www.gnu.org/copyleft/gpl.html" target="_blank">','</a>');
52
53// add space between two sentences.
54// Don't want to join two sprintf strings.
55echo ' ';
56
57// i18n: %s tags are used in order to remove html URL attributes from translation
58echo sprintf(_("For more information about SquirrelMail and the SquirrelMail Project Team, see %sthe SquirrelMail website%s."),'<a href="http://squirrelmail.org/" target="_blank">','</a>');
59?>
60<br />
61<br /><br />
62<b>
63<?php echo _("System information"); ?>
64</b><br/><br/>
65<small>
66<?php
67echo sprintf(_("You are using SquirrelMail version: %s"),$version);
68echo "<br />\n";
69echo _("The administrator installed the following plugins:");
70echo "<br />\n";
71if ( isset($plugins) && count ($plugins) > 0 ) {
72 sort($plugins);
73 echo "<ul>\n";
74 foreach($plugins as $plugin) {
75 echo "<li>" . $plugin . "</li>\n";
76 }
77 echo "</ul>\n\n";
78} else {
79 echo '<em>'._("none installed")."</em>\n\n";
80}
81
82?>
83</small>
84<br /><br />
85</td></tr>
86<tr><td align="center">&copy; 1999 - 2007 The SquirrelMail Project Team</td></tr>
87</table></p>
88<?php
89$oTemplate->display('footer.tpl');