Centralized init
[squirrelmail.git] / src / about.php
CommitLineData
8b5c49cd 1<?php
2
3/**
4 * about.php
5 *
8b5c49cd 6 * An "about box" detailing SquirrelMail info.
7 *
8 * TODO:
8b5c49cd 9 * - Insert org_name, provider_url?
10 * - What more information is needed?
4356be7f 11 * - Display of system information might be restricted
8b5c49cd 12 *
47ccfad4 13 * @copyright &copy; 1999-2006 The SquirrelMail Project Team
4b4abf93 14 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
8b5c49cd 15 * @version $Id$
16 * @package squirrelmail
17 */
18
19/**
202bcbcc 20 * Include the SquirrelMail initialization file.
8b5c49cd 21 */
202bcbcc 22require('../include/init.php');
8b5c49cd 23
24displayPageHeader($color, 'None' );
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">
f265009a 31<tr><td bgcolor="#dcdcdc" align="center"><div style="text-align: center;"><b>
3d05d2fc 32<?php echo sprintf(_("About SquirrelMail %s"),$version); ?>
f265009a 33</b></div></td></tr>
8b5c49cd 34<tr><td>
35<br />
3d05d2fc 36<?php echo _("SquirrelMail is the name of the program that provides access to your email via the web."); ?>
8b5c49cd 37<br />
8b5c49cd 38<br />
3d05d2fc 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
6e0899c0 53// add space between two sentences.
f8a1ed5a 54// Don't want to join two sprintf strings.
6e0899c0 55echo ' ';
56
3d05d2fc 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://www.squirrelmail.org/" target="_blank">','</a>');
59?>
60<br />
8b5c49cd 61<br /><br />
3d05d2fc 62<b>
63<?php echo _("System information"); ?>
64</b><br/><br/>
8b5c49cd 65<small>
8b5c49cd 66<?php
3d05d2fc 67echo sprintf(_("You are using SquirrelMail version: %s"),$version);
68echo "<br />\n";
69echo _("The administrator installed the following plugins:");
70echo "<br />\n";
202bcbcc 71if ( isset($plugins) && count ($plugins) > 0 ) {
8b5c49cd 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 {
3d05d2fc 79 echo '<em>'._("none installed")."</em>\n\n";
8b5c49cd 80}
a2b193bc 81
8b5c49cd 82?>
83</small>
84<br /><br />
85</td></tr>
47ccfad4 86<tr><td align="center">&copy; 1999 - 2006 The SquirrelMail Project Team</td></tr>
8b5c49cd 87</table></p>
5c4ff7bf 88<?php
89$oTemplate->display('footer.tpl');
90?>