Source for file about.php

Documentation is available at 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 1999-2020 The SquirrelMail Project Team
  14.  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  15.  * @version $Id: about.php 14845 2020-01-07 08:09:34Z pdontthink $
  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.  
  28. ?>
  29. <p align="center">
  30. <img src="../images/sm_logo.png" width="308" height="111"
  31.     alt="SquirrelMail Logo" /><br />
  32. <table align="center" width="80%" cellpadding="1" cellspacing="2" border="0">
  33. <tr><td bgcolor="#dcdcdc" align="center"><div style="text-align: center;"><b>
  34. <?php echo sprintf(_("About SquirrelMail %s")SM_VERSION)?>
  35. </b></div></td></tr>
  36. <tr><td>
  37. <br />
  38. <?php echo _("SquirrelMail is the name of the program that provides access to your email via the web.")?>
  39. <br />
  40. <br />
  41. <strong>
  42. <?php
  43. // i18n: %s displays org_name variable value enclosed in () or empty string.
  44. 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 ')':''));
  45. echo "</strong>\n";
  46.  
  47. // i18n: %s tags are used in order to remove html URL attributes from translation
  48. 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>');
  49.  
  50. echo "<br />\n<br />\n";
  51.  
  52. // i18n: %s tags are used in order to remove html URL attributes from translation
  53. 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>');
  54.  
  55. // add space between two sentences.
  56. // Don't want to join two sprintf strings.
  57. echo ' ';
  58.  
  59. // i18n: %s tags are used in order to remove html URL attributes from translation
  60. 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>');
  61. ?>
  62. <br />
  63. <br /><br />
  64. <b>
  65. <?php echo _("System information")?>
  66. </b><br/><br/>
  67. <small>
  68. <?php
  69. echo sprintf(_("You are using SquirrelMail version: %s")SM_VERSION);
  70. echo "<br />\n";
  71. echo _("The administrator installed the following plugins:");
  72. echo "<br />\n";
  73. if isset($plugins&& count ($plugins{
  74.     sort($plugins);
  75.     echo "<ul>\n";
  76.     foreach($plugins as $plugin{
  77.         echo "<li>" $plugin "</li>\n";
  78.     }
  79.     echo "</ul>\n\n";
  80. else {
  81.     echo '<em>'._("none installed")."</em>\n\n";
  82. }
  83.  
  84. ?>
  85. </small>
  86. <br /><br />
  87. </td></tr>
  88. <tr><td align="center">&copy; <?php echo SM_COPYRIGHT ?> The SquirrelMail Project Team</td></tr>
  89. </table></p>
  90. <?php
  91. $oTemplate->display('footer.tpl');

Documentation generated on Mon, 13 Jan 2020 04:21:57 +0100 by phpDocumentor 1.4.3