Trimming whitespace and replacing tabs
[squirrelmail.git] / src / about.php
1 <?php
2
3 /**
4 * about.php
5 *
6 * Copyright (c) 1999-2005 The SquirrelMail Project Team
7 * Licensed under the GNU GPL. For full terms see the file COPYING.
8 *
9 * An "about box" detailing SquirrelMail info.
10 *
11 * TODO:
12 * - Insert org_name, provider_url?
13 * - What more information is needed?
14 * - Display of system information might be restricted
15 *
16 * @version $Id$
17 * @package squirrelmail
18 */
19
20 /**
21 * Path for SquirrelMail required files.
22 * @ignore
23 */
24 define('SM_PATH','../');
25
26 /* SquirrelMail required files. */
27 require_once(SM_PATH . 'include/validate.php');
28
29 displayPageHeader($color, 'None' );
30
31 ?>
32 <p align="center">
33 <img src="../images/sm_logo.png" width="308" height="111"
34 alt="SquirrelMail Logo" /><br />
35 <table align="center" width="80%" cellpadding="1" cellspacing="2" border="0">
36 <tr><td bgcolor="#dcdcdc" align="center"><center><b>
37 <?php echo sprintf(_("About SquirrelMail %s"),$version); ?>
38 </b></center></td></tr>
39 <tr><td>
40 <br />
41 <?php echo _("SquirrelMail is the name of the program that provides access to your email via the web."); ?>
42 <br />
43 <br />
44 <strong>
45 <?php
46 // i18n: %s displays org_name variable value enclosed in () or empty string.
47 echo 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 . ')':''));
48 echo "</strong>\n";
49
50 // i18n: %s tags are used in order to remove html URL attributes from translation
51 echo 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>');
52
53 echo "<br />\n<br />\n";
54
55 // i18n: %s tags are used in order to remove html URL attributes from translation
56 echo 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>');
57
58 // add space between two sentences.
59 // Don't want to join two sprintf strings.
60 echo ' ';
61
62 // i18n: %s tags are used in order to remove html URL attributes from translation
63 echo 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>');
64 ?>
65 <br />
66 <br /><br />
67 <b>
68 <?php echo _("System information"); ?>
69 </b><br/><br/>
70 <small>
71 <?php
72 echo sprintf(_("You are using SquirrelMail version: %s"),$version);
73 echo "<br />\n";
74 echo _("The administrator installed the following plugins:");
75 echo "<br />\n";
76 if ( count ($plugins) > 0 ) {
77 sort($plugins);
78 echo "<ul>\n";
79 foreach($plugins as $plugin) {
80 echo "<li>" . $plugin . "</li>\n";
81 }
82 echo "</ul>\n\n";
83 } else {
84 echo '<em>'._("none installed")."</em>\n\n";
85 }
86 ?>
87 </small>
88 <br /><br />
89 </td></tr>
90 <tr><td align="center">&copy; 1999 - 2005 The SquirrelMail Project Team</td></tr>
91 </table></p>
92 </body></html>