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 | * |
d4e46166 |
13 | * @copyright © 1999-2009 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 | |
ebd2391c |
19 | /** This is the about page */ |
20 | define('PAGE_NAME', 'about'); |
21 | |
8b5c49cd |
22 | /** |
202bcbcc |
23 | * Include the SquirrelMail initialization file. |
8b5c49cd |
24 | */ |
202bcbcc |
25 | require('../include/init.php'); |
8b5c49cd |
26 | |
876fdb60 |
27 | displayPageHeader($color); |
8b5c49cd |
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"> |
f265009a |
34 | <tr><td bgcolor="#dcdcdc" align="center"><div style="text-align: center;"><b> |
b37e457f |
35 | <?php echo sprintf(_("About SquirrelMail %s"), SM_VERSION); ?> |
f265009a |
36 | </b></div></td></tr> |
8b5c49cd |
37 | <tr><td> |
38 | <br /> |
3d05d2fc |
39 | <?php echo _("SquirrelMail is the name of the program that provides access to your email via the web."); ?> |
8b5c49cd |
40 | <br /> |
8b5c49cd |
41 | <br /> |
3d05d2fc |
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 | |
6e0899c0 |
56 | // add space between two sentences. |
f8a1ed5a |
57 | // Don't want to join two sprintf strings. |
6e0899c0 |
58 | echo ' '; |
59 | |
3d05d2fc |
60 | // i18n: %s tags are used in order to remove html URL attributes from translation |
a3bb5005 |
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>'); |
3d05d2fc |
62 | ?> |
63 | <br /> |
8b5c49cd |
64 | <br /><br /> |
3d05d2fc |
65 | <b> |
66 | <?php echo _("System information"); ?> |
67 | </b><br/><br/> |
8b5c49cd |
68 | <small> |
8b5c49cd |
69 | <?php |
b37e457f |
70 | echo sprintf(_("You are using SquirrelMail version: %s"), SM_VERSION); |
3d05d2fc |
71 | echo "<br />\n"; |
72 | echo _("The administrator installed the following plugins:"); |
73 | echo "<br />\n"; |
202bcbcc |
74 | if ( isset($plugins) && count ($plugins) > 0 ) { |
8b5c49cd |
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 { |
3d05d2fc |
82 | echo '<em>'._("none installed")."</em>\n\n"; |
8b5c49cd |
83 | } |
a2b193bc |
84 | |
8b5c49cd |
85 | ?> |
86 | </small> |
87 | <br /><br /> |
88 | </td></tr> |
aff09f80 |
89 | <tr><td align="center">© <?php echo SM_COPYRIGHT ?> The SquirrelMail Project Team</td></tr> |
8b5c49cd |
90 | </table></p> |
5c4ff7bf |
91 | <?php |
92 | $oTemplate->display('footer.tpl'); |