From e392edc27bed0e613089a824aa7abac5144fce64 Mon Sep 17 00:00:00 2001 From: jervfors Date: Sun, 11 Sep 2005 07:05:54 +0000 Subject: [PATCH] Adding more index.php files Unifying index.php files git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10091 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- class/deliver/index.php | 12 +++++++----- class/helper/index.php | 12 +++++++----- class/index.php | 13 +++++------- class/l10n/index.php | 13 +++++++----- class/mime/index.php | 13 +++++++----- class/template/index.php | 12 +++++++----- config/index.php | 16 +++++++-------- functions/decode/index.php | 19 ++++++++++++++++++ functions/encode/index.php | 19 ++++++++++++++++++ functions/htmlentities/index.php | 12 +++++++++--- functions/index.php | 15 +++++--------- help/index.php | 16 +++++++-------- images/index.php | 22 ++++++++++++--------- images/themes/default/index.php | 18 ++++++++++++++++- images/themes/index.php | 23 +++++++++++++--------- images/themes/none/index.php | 20 ++++++++++--------- images/themes/xp/index.php | 23 +++++++++++++--------- include/index.php | 15 ++++++++++++++ include/options/index.php | 15 ++++++++++++++ include/timezones/index.php | 15 ++++++++------ index.php | 24 +++++++++++------------ locale/index.php | 16 +++++++-------- plugins/abook_take/index.php | 19 ++++++++++++++++++ plugins/administrator/index.php | 12 +++++++----- plugins/bug_report/index.php | 16 +++++++++------ plugins/calendar/index.php | 16 +++++++-------- plugins/change_password/backend/index.php | 14 ++++++------- plugins/change_password/index.php | 13 +++++------- plugins/filters/bulkquery/index.php | 19 ++++++++++++++++++ plugins/filters/index.php | 12 +++++++----- plugins/fortune/index.php | 19 ++++++++++++++++++ plugins/index.php | 15 ++++++-------- plugins/info/index.php | 10 ++++++---- plugins/listcommands/index.php | 14 ++++++------- plugins/mail_fetch/index.php | 17 ++++++++-------- plugins/message_details/index.php | 19 ++++++++++++++++++ plugins/newmail/index.php | 19 ++++++++++-------- plugins/newmail/media/index.php | 19 ++++++++++++++++++ plugins/newmail/sounds/index.php | 19 ++++++++++++++++++ plugins/sent_subfolders/index.php | 16 +++++++-------- plugins/spamcop/index.php | 11 +++++++---- plugins/squirrelspell/doc/index.php | 17 +++++++++------- plugins/squirrelspell/index.php | 15 ++++++-------- plugins/squirrelspell/js/index.php | 17 +++++++++------- plugins/squirrelspell/modules/index.php | 17 +++++++++------- plugins/translate/index.php | 17 +++++++++------- po/index.php | 23 +++++++++++++--------- src/index.php | 13 +++++------- templates/default/index.php | 19 ++++++++++++++++++ templates/default/js/index.php | 19 ++++++++++++++++++ templates/index.php | 19 ++++++++++++++++++ themes/css/index.php | 19 ++++++++++++++++++ themes/index.php | 17 ++++++++-------- 53 files changed, 595 insertions(+), 279 deletions(-) create mode 100644 functions/decode/index.php create mode 100644 functions/encode/index.php create mode 100644 plugins/abook_take/index.php create mode 100644 plugins/filters/bulkquery/index.php create mode 100644 plugins/fortune/index.php create mode 100644 plugins/message_details/index.php create mode 100644 plugins/newmail/media/index.php create mode 100644 plugins/newmail/sounds/index.php create mode 100644 templates/default/index.php create mode 100644 templates/default/js/index.php create mode 100644 templates/index.php create mode 100644 themes/css/index.php diff --git a/class/deliver/index.php b/class/deliver/index.php index fd6dfdf7..8d1118f2 100644 --- a/class/deliver/index.php +++ b/class/deliver/index.php @@ -1,16 +1,18 @@ \ No newline at end of file diff --git a/class/helper/index.php b/class/helper/index.php index fd6dfdf7..8d1118f2 100644 --- a/class/helper/index.php +++ b/class/helper/index.php @@ -1,16 +1,18 @@ \ No newline at end of file diff --git a/class/index.php b/class/index.php index 96f26784..8d1118f2 100644 --- a/class/index.php +++ b/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'); ?> \ No newline at end of file diff --git a/class/l10n/index.php b/class/l10n/index.php index fd6dfdf7..4f2681b2 100644 --- a/class/l10n/index.php +++ b/class/l10n/index.php @@ -1,16 +1,19 @@ \ No newline at end of file diff --git a/class/mime/index.php b/class/mime/index.php index fd6dfdf7..5fd8b79c 100644 --- a/class/mime/index.php +++ b/class/mime/index.php @@ -1,16 +1,19 @@ \ No newline at end of file diff --git a/class/template/index.php b/class/template/index.php index fd6dfdf7..8d1118f2 100644 --- a/class/template/index.php +++ b/class/template/index.php @@ -1,16 +1,18 @@ \ No newline at end of file diff --git a/config/index.php b/config/index.php index 1203d5ca..8d1118f2 100644 --- a/config/index.php +++ b/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'); ?> \ No newline at end of file diff --git a/functions/decode/index.php b/functions/decode/index.php new file mode 100644 index 00000000..35a883a7 --- /dev/null +++ b/functions/decode/index.php @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/functions/encode/index.php b/functions/encode/index.php new file mode 100644 index 00000000..23bfb8b4 --- /dev/null +++ b/functions/encode/index.php @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/functions/htmlentities/index.php b/functions/htmlentities/index.php index 4be5a592..10ac217a 100644 --- a/functions/htmlentities/index.php +++ b/functions/htmlentities/index.php @@ -1,6 +1,11 @@ \ No newline at end of file diff --git a/functions/index.php b/functions/index.php index 4796b544..8d1118f2 100644 --- a/functions/index.php +++ b/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'); ?> \ No newline at end of file diff --git a/help/index.php b/help/index.php index 1203d5ca..8d1118f2 100644 --- a/help/index.php +++ b/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'); ?> \ No newline at end of file diff --git a/images/index.php b/images/index.php index 2cb4d2bb..8d1118f2 100644 --- a/images/index.php +++ b/images/index.php @@ -1,14 +1,18 @@ \ No newline at end of file diff --git a/images/themes/default/index.php b/images/themes/default/index.php index ff495ba8..10cb2146 100644 --- a/images/themes/default/index.php +++ b/images/themes/default/index.php @@ -1,3 +1,19 @@ \ No newline at end of file diff --git a/images/themes/index.php b/images/themes/index.php index 2cb4d2bb..10cb2146 100644 --- a/images/themes/index.php +++ b/images/themes/index.php @@ -1,14 +1,19 @@ \ No newline at end of file diff --git a/images/themes/none/index.php b/images/themes/none/index.php index 95a74973..10cb2146 100644 --- a/images/themes/none/index.php +++ b/images/themes/none/index.php @@ -1,17 +1,19 @@ - \ No newline at end of file +?> \ No newline at end of file diff --git a/images/themes/xp/index.php b/images/themes/xp/index.php index 2cb4d2bb..10cb2146 100644 --- a/images/themes/xp/index.php +++ b/images/themes/xp/index.php @@ -1,14 +1,19 @@ \ No newline at end of file diff --git a/include/index.php b/include/index.php index c5e70db3..8d1118f2 100644 --- a/include/index.php +++ b/include/index.php @@ -1,3 +1,18 @@ \ No newline at end of file diff --git a/include/options/index.php b/include/options/index.php index c5e70db3..8d1118f2 100644 --- a/include/options/index.php +++ b/include/options/index.php @@ -1,3 +1,18 @@ \ No newline at end of file diff --git a/include/timezones/index.php b/include/timezones/index.php index 605b925b..39bbfb44 100644 --- a/include/timezones/index.php +++ b/include/timezones/index.php @@ -1,16 +1,19 @@ \ No newline at end of file diff --git a/index.php b/index.php index ffc8ee5b..d3bf6198 100644 --- a/index.php +++ b/index.php @@ -1,25 +1,25 @@

ERROR: Config file \"config/config.php\" not found. " . - "You need to configure SquirrelMail before you can use it.

"; + echo '

ERROR: Config file ' . + '"config/config.php" not found. You need to ' . + 'configure SquirrelMail before you can use it.

'; 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'); -?> - +?> \ No newline at end of file diff --git a/locale/index.php b/locale/index.php index 1203d5ca..8d1118f2 100644 --- a/locale/index.php +++ b/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'); ?> \ No newline at end of file diff --git a/plugins/abook_take/index.php b/plugins/abook_take/index.php new file mode 100644 index 00000000..ad94652d --- /dev/null +++ b/plugins/abook_take/index.php @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/plugins/administrator/index.php b/plugins/administrator/index.php index 1e48203d..4d9fea1b 100644 --- a/plugins/administrator/index.php +++ b/plugins/administrator/index.php @@ -1,17 +1,19 @@ \ No newline at end of file diff --git a/plugins/bug_report/index.php b/plugins/bug_report/index.php index bffb85f5..038c02ea 100644 --- a/plugins/bug_report/index.php +++ b/plugins/bug_report/index.php @@ -1,15 +1,19 @@ \ No newline at end of file diff --git a/plugins/calendar/index.php b/plugins/calendar/index.php index 24d52892..901fa57a 100644 --- a/plugins/calendar/index.php +++ b/plugins/calendar/index.php @@ -1,19 +1,19 @@ \ No newline at end of file diff --git a/plugins/change_password/backend/index.php b/plugins/change_password/backend/index.php index cb9234b5..c4c044df 100644 --- a/plugins/change_password/backend/index.php +++ b/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'); ?> \ No newline at end of file diff --git a/plugins/change_password/index.php b/plugins/change_password/index.php index 0ef357f0..c4c044df 100644 --- a/plugins/change_password/index.php +++ b/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'); ?> \ No newline at end of file diff --git a/plugins/filters/bulkquery/index.php b/plugins/filters/bulkquery/index.php new file mode 100644 index 00000000..06063c2e --- /dev/null +++ b/plugins/filters/bulkquery/index.php @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/plugins/filters/index.php b/plugins/filters/index.php index 40f164b2..06063c2e 100644 --- a/plugins/filters/index.php +++ b/plugins/filters/index.php @@ -1,17 +1,19 @@ \ No newline at end of file diff --git a/plugins/fortune/index.php b/plugins/fortune/index.php new file mode 100644 index 00000000..e42ca7e2 --- /dev/null +++ b/plugins/fortune/index.php @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/plugins/index.php b/plugins/index.php index a0be3733..500da653 100644 --- a/plugins/index.php +++ b/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'); ?> \ No newline at end of file diff --git a/plugins/info/index.php b/plugins/info/index.php index 4864c58d..0db0512f 100644 --- a/plugins/info/index.php +++ b/plugins/info/index.php @@ -1,8 +1,11 @@ \ No newline at end of file diff --git a/plugins/listcommands/index.php b/plugins/listcommands/index.php index 83c7332c..17570e00 100644 --- a/plugins/listcommands/index.php +++ b/plugins/listcommands/index.php @@ -1,19 +1,19 @@ \ No newline at end of file diff --git a/plugins/mail_fetch/index.php b/plugins/mail_fetch/index.php index 4907e7fc..6f7891fa 100644 --- a/plugins/mail_fetch/index.php +++ b/plugins/mail_fetch/index.php @@ -1,18 +1,19 @@ \ No newline at end of file diff --git a/plugins/message_details/index.php b/plugins/message_details/index.php new file mode 100644 index 00000000..19a9944f --- /dev/null +++ b/plugins/message_details/index.php @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/plugins/newmail/index.php b/plugins/newmail/index.php index 57c8d887..7ac21e74 100644 --- a/plugins/newmail/index.php +++ b/plugins/newmail/index.php @@ -1,16 +1,19 @@ \ No newline at end of file diff --git a/plugins/newmail/media/index.php b/plugins/newmail/media/index.php new file mode 100644 index 00000000..7ac21e74 --- /dev/null +++ b/plugins/newmail/media/index.php @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/plugins/newmail/sounds/index.php b/plugins/newmail/sounds/index.php new file mode 100644 index 00000000..7ac21e74 --- /dev/null +++ b/plugins/newmail/sounds/index.php @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/plugins/sent_subfolders/index.php b/plugins/sent_subfolders/index.php index eca06712..8c835789 100644 --- a/plugins/sent_subfolders/index.php +++ b/plugins/sent_subfolders/index.php @@ -1,19 +1,19 @@ \ No newline at end of file diff --git a/plugins/spamcop/index.php b/plugins/spamcop/index.php index 42c5c79a..b9d4d447 100644 --- a/plugins/spamcop/index.php +++ b/plugins/spamcop/index.php @@ -1,8 +1,11 @@ \ No newline at end of file diff --git a/plugins/squirrelspell/doc/index.php b/plugins/squirrelspell/doc/index.php index 0a9f0f87..d94dec0e 100644 --- a/plugins/squirrelspell/doc/index.php +++ b/plugins/squirrelspell/doc/index.php @@ -1,16 +1,19 @@ \ No newline at end of file diff --git a/plugins/squirrelspell/index.php b/plugins/squirrelspell/index.php index 8590f6d2..d94dec0e 100644 --- a/plugins/squirrelspell/index.php +++ b/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'); ?> \ No newline at end of file diff --git a/plugins/squirrelspell/js/index.php b/plugins/squirrelspell/js/index.php index 0a9f0f87..d94dec0e 100644 --- a/plugins/squirrelspell/js/index.php +++ b/plugins/squirrelspell/js/index.php @@ -1,16 +1,19 @@ \ No newline at end of file diff --git a/plugins/squirrelspell/modules/index.php b/plugins/squirrelspell/modules/index.php index 0a9f0f87..d94dec0e 100644 --- a/plugins/squirrelspell/modules/index.php +++ b/plugins/squirrelspell/modules/index.php @@ -1,16 +1,19 @@ \ No newline at end of file diff --git a/plugins/translate/index.php b/plugins/translate/index.php index cad46473..1d6775e9 100644 --- a/plugins/translate/index.php +++ b/plugins/translate/index.php @@ -1,16 +1,19 @@ \ No newline at end of file diff --git a/po/index.php b/po/index.php index 2cb4d2bb..10cb2146 100644 --- a/po/index.php +++ b/po/index.php @@ -1,14 +1,19 @@ \ No newline at end of file diff --git a/src/index.php b/src/index.php index 96f26784..8d1118f2 100644 --- a/src/index.php +++ b/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'); ?> \ No newline at end of file diff --git a/templates/default/index.php b/templates/default/index.php new file mode 100644 index 00000000..3937e9e0 --- /dev/null +++ b/templates/default/index.php @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/templates/default/js/index.php b/templates/default/js/index.php new file mode 100644 index 00000000..3937e9e0 --- /dev/null +++ b/templates/default/js/index.php @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/templates/index.php b/templates/index.php new file mode 100644 index 00000000..3937e9e0 --- /dev/null +++ b/templates/index.php @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/themes/css/index.php b/themes/css/index.php new file mode 100644 index 00000000..10cb2146 --- /dev/null +++ b/themes/css/index.php @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/themes/index.php b/themes/index.php index 1203d5ca..10cb2146 100644 --- a/themes/index.php +++ b/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'); ?> \ No newline at end of file -- 2.25.1