b5a8d5c34cc112edbacceb55cdd8e1b1bca2ee3b
[squirrelmail.git] / src / about.php
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 /** This is the about page */
20 define('PAGE_NAME', 'about');
21
22 /**
23 * Include the SquirrelMail initialization file.
24 */
25 require('../include/init.php');
26
27 displayPageHeader($color);
28
29 ?>
30 <p align="center">
31 <img src="../images/sm_logo.png" width="308" height="111"
32 alt="SquirrelMail Logo" /><br />
33 <table align="center" width="80%" cellpadding="1" cellspacing="2" border="0">
34 <tr><td bgcolor="#dcdcdc" align="center"><div style="text-align: center;"><b>
35 <?php echo sprintf(_("About SquirrelMail %s"), SM_VERSION); ?>
36 </b></div></td></tr>
37 <tr><td>
38 <br />
39 <?php echo _("SquirrelMail is the name of the program that provides access to your email via the web."); ?>
40 <br />
41 <br />
42 <strong>
43 <?php
44 // i18n: %s displays org_name variable value enclosed in () or empty string.
45 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 . ')':''));
46 echo "</strong>\n";
47
48 // i18n: %s tags are used in order to remove html URL attributes from translation
49 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>');
50
51 echo "<br />\n<br />\n";
52
53 // i18n: %s tags are used in order to remove html URL attributes from translation
54 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>');
55
56 // add space between two sentences.
57 // Don't want to join two sprintf strings.
58 echo ' ';
59
60 // i18n: %s tags are used in order to remove html URL attributes from translation
61 echo sprintf(_("For more information about SquirrelMail and the SquirrelMail Project Team, see %sthe SquirrelMail website%s."),'<a href="http://squirrelmail.org/" target="_blank">','</a>');
62 ?>
63 <br />
64 <br /><br />
65 <b>
66 <?php echo _("System information"); ?>
67 </b><br/><br/>
68 <small>
69 <?php
70 echo sprintf(_("You are using SquirrelMail version: %s"), SM_VERSION);
71 echo "<br />\n";
72 echo _("The administrator installed the following plugins:");
73 echo "<br />\n";
74 if ( isset($plugins) && count ($plugins) > 0 ) {
75 sort($plugins);
76 echo "<ul>\n";
77 foreach($plugins as $plugin) {
78 echo "<li>" . $plugin . "</li>\n";
79 }
80 echo "</ul>\n\n";
81 } else {
82 echo '<em>'._("none installed")."</em>\n\n";
83 }
84
85 ?>
86 </small>
87 <br /><br />
88 </td></tr>
89 <tr><td align="center">&copy; 1999 - 2008 The SquirrelMail Project Team</td></tr>
90 </table></p>
91 <?php
92 $oTemplate->display('footer.tpl');