Преглед изворни кода

Adding more index.php files
Unifying index.php files

Fredrik Jervfors пре 20 година
родитељ
комит
d3abcd651b
53 измењених фајлова са 595 додато и 279 уклоњено
  1. 7 5
      class/deliver/index.php
  2. 7 5
      class/helper/index.php
  3. 5 8
      class/index.php
  4. 8 5
      class/l10n/index.php
  5. 8 5
      class/mime/index.php
  6. 7 5
      class/template/index.php
  7. 7 9
      config/index.php
  8. 19 0
      functions/decode/index.php
  9. 19 0
      functions/encode/index.php
  10. 9 3
      functions/htmlentities/index.php
  11. 5 10
      functions/index.php
  12. 7 9
      help/index.php
  13. 13 9
      images/index.php
  14. 17 1
      images/themes/default/index.php
  15. 14 9
      images/themes/index.php
  16. 11 9
      images/themes/none/index.php
  17. 14 9
      images/themes/xp/index.php
  18. 15 0
      include/index.php
  19. 15 0
      include/options/index.php
  20. 9 6
      include/timezones/index.php
  21. 12 12
      index.php
  22. 7 9
      locale/index.php
  23. 19 0
      plugins/abook_take/index.php
  24. 7 5
      plugins/administrator/index.php
  25. 10 6
      plugins/bug_report/index.php
  26. 8 8
      plugins/calendar/index.php
  27. 6 8
      plugins/change_password/backend/index.php
  28. 5 8
      plugins/change_password/index.php
  29. 19 0
      plugins/filters/bulkquery/index.php
  30. 7 5
      plugins/filters/index.php
  31. 19 0
      plugins/fortune/index.php
  32. 6 9
      plugins/index.php
  33. 6 4
      plugins/info/index.php
  34. 7 7
      plugins/listcommands/index.php
  35. 9 8
      plugins/mail_fetch/index.php
  36. 19 0
      plugins/message_details/index.php
  37. 11 8
      plugins/newmail/index.php
  38. 19 0
      plugins/newmail/media/index.php
  39. 19 0
      plugins/newmail/sounds/index.php
  40. 8 8
      plugins/sent_subfolders/index.php
  41. 7 4
      plugins/spamcop/index.php
  42. 10 7
      plugins/squirrelspell/doc/index.php
  43. 6 9
      plugins/squirrelspell/index.php
  44. 10 7
      plugins/squirrelspell/js/index.php
  45. 10 7
      plugins/squirrelspell/modules/index.php
  46. 10 7
      plugins/translate/index.php
  47. 14 9
      po/index.php
  48. 5 8
      src/index.php
  49. 19 0
      templates/default/index.php
  50. 19 0
      templates/default/js/index.php
  51. 19 0
      templates/index.php
  52. 19 0
      themes/css/index.php
  53. 8 9
      themes/index.php

+ 7 - 5
class/deliver/index.php

@@ -1,16 +1,18 @@
 <?php
+
 /**
  * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This file simply takes any attempt to view source files and sends those
- * people to the login screen. At this point no attempt is made to see if
- * the person is logged or not.
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  */
+
 header('Location: ../index.php');
+
 ?>

+ 7 - 5
class/helper/index.php

@@ -1,16 +1,18 @@
 <?php
+
 /**
  * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This file simply takes any attempt to view source files and sends those
- * people to the login screen. At this point no attempt is made to see if
- * the person is logged or not.
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  */
+
 header('Location: ../index.php');
+
 ?>

+ 5 - 8
class/index.php

@@ -3,19 +3,16 @@
 /**
  * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This file simply takes any attempt to view source files and sends those
- * people to the login screen. At this point no attempt is made to see if
- * the person is logged or not.
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  */
 
-header("Location:../index.php");
-
-/* pretty impressive huh? */
+header('Location: ../index.php');
 
 ?>

+ 8 - 5
class/l10n/index.php

@@ -1,16 +1,19 @@
 <?php
+
 /**
  * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This file simply takes any attempt to view source files and sends those
- * people to the login screen. At this point no attempt is made to see if
- * the person is logged or not.
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
+ * @subpackage i18n
  */
+
 header('Location: ../index.php');
+
 ?>

+ 8 - 5
class/mime/index.php

@@ -1,16 +1,19 @@
 <?php
+
 /**
  * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This file simply takes any attempt to view source files and sends those
- * people to the login screen. At this point no attempt is made to see if
- * the person is logged or not.
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
+ * @subpackage mime
  */
+
 header('Location: ../index.php');
+
 ?>

+ 7 - 5
class/template/index.php

@@ -1,16 +1,18 @@
 <?php
+
 /**
  * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This file simply takes any attempt to view source files and sends those
- * people to the login screen. At this point no attempt is made to see if
- * the person is logged or not.
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  */
+
 header('Location: ../index.php');
+
 ?>

+ 7 - 9
config/index.php

@@ -3,18 +3,16 @@
 /**
  * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This file simply takes any attempt to view source files and sends those
- * people to the login screen. At this point no attempt is made to see if
- * the person is logged or not.
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
- * $Id$
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
  */
 
-header("Location:../index.php");
-
-/* pretty impressive huh? */
+header('Location: ../index.php');
 
 ?>

+ 19 - 0
functions/decode/index.php

@@ -0,0 +1,19 @@
+<?php
+
+/**
+ * index.php
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
+ *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage decode
+ */
+
+header('Location: ../index.php');
+
+?>

+ 19 - 0
functions/encode/index.php

@@ -0,0 +1,19 @@
+<?php
+
+/**
+ * index.php
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
+ *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage encode
+ */
+
+header('Location: ../index.php');
+
+?>

+ 9 - 3
functions/htmlentities/index.php

@@ -1,6 +1,11 @@
 <?php
+
 /**
- * Redirects to the login page.
+ * index.php
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
  * @copyright (c) 1999-2005 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
@@ -8,6 +13,7 @@
  * @package squirrelmail
  * @subpackage strings
  */
-header("Location:../../src/login.php\n\n");
-exit();
+
+header('Location: ../index.php');
+
 ?>

+ 5 - 10
functions/index.php

@@ -3,21 +3,16 @@
 /**
  * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This file simply takes any attempt to view source files and sends those
- * people to the login screen. At this point no attempt is made to see if
- * the person is logged or not.
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  */
 
-/** Redirect back to the login page
- * @ignore */
-header("Location:../index.php");
-
-/* pretty impressive huh? */
+header('Location: ../index.php');
 
 ?>

+ 7 - 9
help/index.php

@@ -3,18 +3,16 @@
 /**
  * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This file simply takes any attempt to view source files and sends those
- * people to the login screen. At this point no attempt is made to see if
- * the person is logged or not.
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
- * $Id$
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
  */
 
-header("Location:../index.php");
-
-/* pretty impressive huh? */
+header('Location: ../index.php');
 
 ?>

+ 13 - 9
images/index.php

@@ -1,14 +1,18 @@
 <?php
+
 /**
- ** index.php
- **
- ** This file simply takes any attempt to view source files
- ** and sends those people to the login screen. At this
- ** point no attempt is made to see if the person is logged
- ** or not.
- **/
+ * index.php
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
+ *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ */
 
-header("Location:../index.php");
+header('Location: ../index.php');
 
-/** pretty impressive huh? **/
 ?>

+ 17 - 1
images/themes/default/index.php

@@ -1,3 +1,19 @@
 <?php
-header("Location:../../../index.php");
+
+/**
+ * index.php
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
+ *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage themes
+ */
+
+header('Location: ../index.php');
+
 ?>

+ 14 - 9
images/themes/index.php

@@ -1,14 +1,19 @@
 <?php
+
 /**
- ** index.php
- **
- ** This file simply takes any attempt to view source files
- ** and sends those people to the login screen. At this
- ** point no attempt is made to see if the person is logged
- ** or not.
- **/
+ * index.php
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
+ *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage themes
+ */
 
-header("Location:../index.php");
+header('Location: ../index.php');
 
-/** pretty impressive huh? **/
 ?>

+ 11 - 9
images/themes/none/index.php

@@ -1,17 +1,19 @@
 <?php
 
 /**
- * index.php -- Displays the main frameset
+ * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
- * Redirects to the login page.
- *
- * $Id$
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage themes
  */
 
-header("Location: src/login.php\n\n");
+header('Location: ../index.php');
 
-?>
-<html></html>
+?>

+ 14 - 9
images/themes/xp/index.php

@@ -1,14 +1,19 @@
 <?php
+
 /**
- ** index.php
- **
- ** This file simply takes any attempt to view source files
- ** and sends those people to the login screen. At this
- ** point no attempt is made to see if the person is logged
- ** or not.
- **/
+ * index.php
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
+ *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage themes
+ */
 
-header("Location:../index.php");
+header('Location: ../index.php');
 
-/** pretty impressive huh? **/
 ?>

+ 15 - 0
include/index.php

@@ -1,3 +1,18 @@
 <?php
+
+/**
+ * index.php
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
+ *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ */
+
 header('Location: ../index.php');
+
 ?>

+ 15 - 0
include/options/index.php

@@ -1,3 +1,18 @@
 <?php
+
+/**
+ * index.php
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
+ *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ */
+
 header('Location: ../index.php');
+
 ?>

+ 9 - 6
include/timezones/index.php

@@ -1,16 +1,19 @@
 <?php
+
 /**
  * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This file simply takes any attempt to view source files and sends those
- * people to the login screen. At this point no attempt is made to see if
- * the person is logged or not.
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
+ * @subpackage timezones
  */
-header("Location:../../index.php");
+
+header('Location: ../index.php');
+
 ?>

+ 12 - 12
index.php

@@ -1,25 +1,25 @@
 <?php
 
 /**
- * index.php -- Redirect to the login page.
- *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * index.php
  *
  * Redirects to the login page.
  *
- * $Id$
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
  */
 
-// are we configured yet?
+// Are we configured yet?
 if( ! file_exists ( 'config/config.php' ) ) {
-    echo "<html><body><p><strong>ERROR:</strong> Config file \"<tt>config/config.php</tt>\" not found. " .
-        "You need to configure SquirrelMail before you can use it.</p></body></html>";
+    echo '<html><body><p><strong>ERROR:</strong> Config file ' .
+        '&quot;<tt>config/config.php</tt>&quot; not found. You need to ' .
+        'configure SquirrelMail before you can use it.</p></body></html>';
     exit;
 }
 
-// if we are, go ahead to the login page.
-header("Location: src/login.php\n\n");
+// If we are, go ahead to the login page.
+header('Location: src/login.php');
 
-?>
-<html></html>
+?>

+ 7 - 9
locale/index.php

@@ -3,18 +3,16 @@
 /**
  * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This file simply takes any attempt to view source files and sends those
- * people to the login screen. At this point no attempt is made to see if
- * the person is logged or not.
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
- * $Id$
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
  */
 
-header("Location:../index.php");
-
-/* pretty impressive huh? */
+header('Location: ../index.php');
 
 ?>

+ 19 - 0
plugins/abook_take/index.php

@@ -0,0 +1,19 @@
+<?php
+
+/**
+ * index.php
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
+ *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package plugins
+ * @subpackage abook_take
+ */
+
+header('Location: ../index.php');
+
+?>

+ 7 - 5
plugins/administrator/index.php

@@ -1,17 +1,19 @@
 <?php
+
 /**
- *  index.php -- Displays the main frameset
+ * index.php
  *
- *  Redirects to the login page.
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
- * @version $Id$
  * @copyright (c) 1999-2005 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
  * @package plugins
  * @subpackage administrator
  */
 
-   header("Location:../../src/login.php\n\n");
-   exit();
+header('Location: ../index.php');
 
 ?>

+ 10 - 6
plugins/bug_report/index.php

@@ -1,15 +1,19 @@
 <?php
+
 /**
- * index.php -- Displays the main frameset
+ * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
- * Redirects to the login page.
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage bug_report
  */
-header("Location:../../index.php\n\n");
-exit();
+
+header('Location: ../index.php');
+
 ?>

+ 8 - 8
plugins/calendar/index.php

@@ -1,19 +1,19 @@
 <?php
 
 /**
- * index.php -- Displays the main frameset
+ * index.php
  *
- * Copyright (c) 2002-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
- * Redirects to the login page.
- *
- * $Id$
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
  * @package plugins
  * @subpackage calendar
  */
 
-header("Location:../../src/login.php\n\n");
-exit();
+header('Location: ../index.php');
 
 ?>

+ 6 - 8
plugins/change_password/backend/index.php

@@ -3,19 +3,17 @@
 /**
  * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This file simply takes any attempt to view source files and sends those
- * people to the login screen. At this point no attempt is made to see if
- * the person is logged or not.
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
+ * @subpackage change_password
  */
 
-header("Location:../index.php");
-
-/* pretty impressive huh? */
+header('Location: ../index.php');
 
 ?>

+ 5 - 8
plugins/change_password/index.php

@@ -3,20 +3,17 @@
 /**
  * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This file simply takes any attempt to view source files and sends those
- * people to the login screen. At this point no attempt is made to see if
- * the person is logged or not.
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage change_password
  */
 
-header("Location:../index.php");
-
-/* pretty impressive huh? */
+header('Location: ../index.php');
 
 ?>

+ 19 - 0
plugins/filters/bulkquery/index.php

@@ -0,0 +1,19 @@
+<?php
+
+/**
+ * index.php
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
+ *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package plugins
+ * @subpackage filters
+ */
+
+header('Location: ../index.php');
+
+?>

+ 7 - 5
plugins/filters/index.php

@@ -1,17 +1,19 @@
 <?php
+
 /**
- *  index.php -- Displays the main frameset
+ * index.php
  *
- *  Redirects to the login page.
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
- * @version $Id$
  * @copyright (c) 1999-2005 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
  * @package plugins
  * @subpackage filters
  */
 
-   header("Location:../../src/login.php\n\n");
-   exit();
+header('Location: ../index.php');
 
 ?>

+ 19 - 0
plugins/fortune/index.php

@@ -0,0 +1,19 @@
+<?php
+
+/**
+ * index.php
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
+ *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package plugins
+ * @subpackage fortune
+ */
+
+header('Location: ../index.php');
+
+?>

+ 6 - 9
plugins/index.php

@@ -3,19 +3,16 @@
 /**
  * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This file simply takes any attempt to view source files and sends those
- * people to the login screen. At this point no attempt is made to see if
- * the person is logged or not.
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
- * $Id$
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
  * @package plugins
  */
 
-header("Location:../index.php");
-
-/* pretty impressive huh? */
+header('Location: ../index.php');
 
 ?>

+ 6 - 4
plugins/info/index.php

@@ -1,8 +1,11 @@
 <?php
+
 /**
- *  index.php -- Displays the main frameset
+ * index.php
  *
- * Redirects to the login page.
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
  * @copyright (c) 1999-2005 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
@@ -11,7 +14,6 @@
  * @subpackage info
  */
 
-   header("Location:../../src/login.php\n\n");
-   exit();
+header('Location: ../index.php');
 
 ?>

+ 7 - 7
plugins/listcommands/index.php

@@ -1,19 +1,19 @@
 <?php
 
 /**
- * index.php -- Displays the main frameset
+ * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * Redirects to the login page.
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage listcommands
  */
 
-header("Location:../../src/login.php\n\n");
-exit();
+header('Location: ../index.php');
 
 ?>

+ 9 - 8
plugins/mail_fetch/index.php

@@ -1,18 +1,19 @@
 <?php
+
 /**
- * index.php -- Displays the main frameset
- *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * index.php
  *
- * Redirects to the login page.
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage mail_fetch
- **/
+ */
 
-header("Location:../index.php\n\n");
-exit();
+header('Location: ../index.php');
 
 ?>

+ 19 - 0
plugins/message_details/index.php

@@ -0,0 +1,19 @@
+<?php
+
+/**
+ * index.php
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
+ *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package plugins
+ * @subpackage message_details
+ */
+
+header('Location: ../index.php');
+
+?>

+ 11 - 8
plugins/newmail/index.php

@@ -1,16 +1,19 @@
 <?php
+
 /**
- *  index.php -- Displays the main frameset
+ * index.php
  *
- *  Copyright (c) 1999-2005 The SquirrelMail Project Team
- *  Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- *  Redirects to the login page.
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage newmail
- **/
-header("Location:../../src/login.php\n\n");
-exit();
+ */
+
+header('Location: ../index.php');
+
 ?>

+ 19 - 0
plugins/newmail/media/index.php

@@ -0,0 +1,19 @@
+<?php
+
+/**
+ * index.php
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
+ *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package plugins
+ * @subpackage newmail
+ */
+
+header('Location: ../index.php');
+
+?>

+ 19 - 0
plugins/newmail/sounds/index.php

@@ -0,0 +1,19 @@
+<?php
+
+/**
+ * index.php
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
+ *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package plugins
+ * @subpackage newmail
+ */
+
+header('Location: ../index.php');
+
+?>

+ 8 - 8
plugins/sent_subfolders/index.php

@@ -1,19 +1,19 @@
 <?php
 
-/*
- * index.php -- Displays the main frameset
+/**
+ * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * Redirects to the login page.
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage sent_subfolders
  */
 
-header("Location:../../src/login.php\n\n");
-exit();
+header('Location: ../index.php');
 
 ?>

+ 7 - 4
plugins/spamcop/index.php

@@ -1,8 +1,11 @@
 <?php
+
 /**
- *  index.php -- Displays the main frameset
+ * index.php
  *
- * Redirects to the login page.
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
  * @copyright (c) 1999-2005 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
@@ -11,6 +14,6 @@
  * @subpackage spamcop
  */
 
-header("Location:../../index.php\n\n");
-exit();
+header('Location: ../index.php');
+
 ?>

+ 10 - 7
plugins/squirrelspell/doc/index.php

@@ -1,16 +1,19 @@
 <?php
+
 /**
- * index.php -- Displays the main frameset
+ * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * Redirects to the initial SquirrelMail page.
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage squirrelspell
  */
-header("Location:../../../index.php\n\n");
-exit();
+
+header('Location: ../index.php');
+
 ?>

+ 6 - 9
plugins/squirrelspell/index.php

@@ -3,20 +3,17 @@
 /**
  * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This file simply takes any attempt to view source files and sends those
- * people to the login screen. At this point no attempt is made to see if
- * the person is logged or not.
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
- * $Id$
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
  * @package plugins
  * @subpackage squirrelspell
  */
 
-header("Location: ../../index.php");
-
-/* pretty impressive huh? */
+header('Location: ../index.php');
 
 ?>

+ 10 - 7
plugins/squirrelspell/js/index.php

@@ -1,16 +1,19 @@
 <?php
+
 /**
- * index.php -- Displays the main frameset
+ * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * Redirects to the initial SquirrelMail page.
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage squirrelspell
  */
-header("Location:../../../index.php\n\n");
-exit();
+
+header('Location: ../index.php');
+
 ?>

+ 10 - 7
plugins/squirrelspell/modules/index.php

@@ -1,16 +1,19 @@
 <?php
+
 /**
- * index.php -- Displays the main frameset
+ * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * Redirects to the initial SquirrelMail page.
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage squirrelspell
  */
-header("Location:../../../index.php\n\n");
-exit();
+
+header('Location: ../index.php');
+
 ?>

+ 10 - 7
plugins/translate/index.php

@@ -1,16 +1,19 @@
 <?php
+
 /**
- *  index.php -- Displays the main frameset
+ * index.php
  *
- *  Copyright (c) 1999-2005 The SquirrelMail Project Team
- *  Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- *  Redirects to the login page.
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage translate
  */
-header("Location:../../src/login.php\n\n");
-exit();
+
+header('Location: ../index.php');
+
 ?>

+ 14 - 9
po/index.php

@@ -1,14 +1,19 @@
 <?php
+
 /**
- ** index.php
- **
- ** This file simply takes any attempt to view source files
- ** and sends those people to the login screen. At this
- ** point no attempt is made to see if the person is logged
- ** or not.
- **/
+ * index.php
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
+ *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage themes
+ */
 
-header("Location:../index.php");
+header('Location: ../index.php');
 
-/** pretty impressive huh? **/
 ?>

+ 5 - 8
src/index.php

@@ -3,19 +3,16 @@
 /**
  * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This file simply takes any attempt to view source files and sends those
- * people to the login screen. At this point no attempt is made to see if
- * the person is logged or not.
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  */
 
-header("Location:../index.php");
-
-/* pretty impressive huh? */
+header('Location: ../index.php');
 
 ?>

+ 19 - 0
templates/default/index.php

@@ -0,0 +1,19 @@
+<?php
+
+/**
+ * index.php
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
+ *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage templates
+ */
+
+header('Location: ../index.php');
+
+?>

+ 19 - 0
templates/default/js/index.php

@@ -0,0 +1,19 @@
+<?php
+
+/**
+ * index.php
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
+ *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage templates
+ */
+
+header('Location: ../index.php');
+
+?>

+ 19 - 0
templates/index.php

@@ -0,0 +1,19 @@
+<?php
+
+/**
+ * index.php
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
+ *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage templates
+ */
+
+header('Location: ../index.php');
+
+?>

+ 19 - 0
themes/css/index.php

@@ -0,0 +1,19 @@
+<?php
+
+/**
+ * index.php
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
+ *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage themes
+ */
+
+header('Location: ../index.php');
+
+?>

+ 8 - 9
themes/index.php

@@ -3,18 +3,17 @@
 /**
  * index.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This file simply takes any attempt to view source files and sends those
- * people to the login screen. At this point no attempt is made to see if
- * the person is logged or not.
+ * people to the login screen. At this point no attempt is made to see if the
+ * person is logged in or not.
  *
- * $Id$
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage themes
  */
 
-header("Location:../index.php");
-
-/* pretty impressive huh? */
+header('Location: ../index.php');
 
 ?>