| 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 © 1999-2005 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 | * Path for SquirrelMail required files. |
| 21 | * @ignore |
| 22 | */ |
| 23 | define('SM_PATH','../'); |
| 24 | |
| 25 | /* SquirrelMail required files. */ |
| 26 | require_once(SM_PATH . 'include/validate.php'); |
| 27 | |
| 28 | displayPageHeader($color, 'None' ); |
| 29 | |
| 30 | ?> |
| 31 | <p align="center"> |
| 32 | <img src="../images/sm_logo.png" width="308" height="111" |
| 33 | alt="SquirrelMail Logo" /><br /> |
| 34 | <table align="center" width="80%" cellpadding="1" cellspacing="2" border="0"> |
| 35 | <tr><td bgcolor="#dcdcdc" align="center"><center><b> |
| 36 | <?php echo sprintf(_("About SquirrelMail %s"),$version); ?> |
| 37 | </b></center></td></tr> |
| 38 | <tr><td> |
| 39 | <br /> |
| 40 | <?php echo _("SquirrelMail is the name of the program that provides access to your email via the web."); ?> |
| 41 | <br /> |
| 42 | <br /> |
| 43 | <strong> |
| 44 | <?php |
| 45 | // i18n: %s displays org_name variable value enclosed in () or empty string. |
| 46 | 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 . ')':'')); |
| 47 | echo "</strong>\n"; |
| 48 | |
| 49 | // i18n: %s tags are used in order to remove html URL attributes from translation |
| 50 | 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>'); |
| 51 | |
| 52 | echo "<br />\n<br />\n"; |
| 53 | |
| 54 | // i18n: %s tags are used in order to remove html URL attributes from translation |
| 55 | 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>'); |
| 56 | |
| 57 | // add space between two sentences. |
| 58 | // Don't want to join two sprintf strings. |
| 59 | echo ' '; |
| 60 | |
| 61 | // i18n: %s tags are used in order to remove html URL attributes from translation |
| 62 | 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>'); |
| 63 | ?> |
| 64 | <br /> |
| 65 | <br /><br /> |
| 66 | <b> |
| 67 | <?php echo _("System information"); ?> |
| 68 | </b><br/><br/> |
| 69 | <small> |
| 70 | <?php |
| 71 | echo sprintf(_("You are using SquirrelMail version: %s"),$version); |
| 72 | echo "<br />\n"; |
| 73 | echo _("The administrator installed the following plugins:"); |
| 74 | echo "<br />\n"; |
| 75 | if ( count ($plugins) > 0 ) { |
| 76 | sort($plugins); |
| 77 | echo "<ul>\n"; |
| 78 | foreach($plugins as $plugin) { |
| 79 | echo "<li>" . $plugin . "</li>\n"; |
| 80 | } |
| 81 | echo "</ul>\n\n"; |
| 82 | } else { |
| 83 | echo '<em>'._("none installed")."</em>\n\n"; |
| 84 | } |
| 85 | |
| 86 | ?> |
| 87 | </small> |
| 88 | <br /><br /> |
| 89 | </td></tr> |
| 90 | <tr><td align="center">© 1999 - 2005 The SquirrelMail Project Team</td></tr> |
| 91 | </table></p> |
| 92 | </body></html> |