瀏覽代碼

Some uniformity into the sec index.php flavor

philippe_mingo 23 年之前
父節點
當前提交
1217e13d6c

+ 17 - 0
plugins/administrator/index.php

@@ -0,0 +1,17 @@
+<?php
+
+   /**
+    **  index.php -- Displays the main frameset
+    **
+    **  Copyright (c) 1999-2002 The SquirrelMail development team
+    **  Licensed under the GNU GPL. For full terms see the file COPYING.
+    **
+    **  Redirects to the login page.
+    **
+    **  $Id$
+    **/
+
+   header("Location:../../src/login.php\n\n");
+   exit();
+
+?>

+ 17 - 0
plugins/bug_report/index.php

@@ -0,0 +1,17 @@
+<?php
+
+   /**
+    **  index.php -- Displays the main frameset
+    **
+    **  Copyright (c) 1999-2002 The SquirrelMail development team
+    **  Licensed under the GNU GPL. For full terms see the file COPYING.
+    **
+    **  Redirects to the login page.
+    **
+    **  $Id$
+    **/
+
+   header("Location:../../src/login.php\n\n");
+   exit();
+
+?>

+ 17 - 0
plugins/calendar/index.php

@@ -0,0 +1,17 @@
+<?php
+
+   /**
+    **  index.php -- Displays the main frameset
+    **
+    **  Copyright (c) 1999-2002 The SquirrelMail development team
+    **  Licensed under the GNU GPL. For full terms see the file COPYING.
+    **
+    **  Redirects to the login page.
+    **
+    **  $Id$
+    **/
+
+   header("Location:../../src/login.php\n\n");
+   exit();
+
+?>

+ 17 - 0
plugins/delete_move_next/index.php

@@ -0,0 +1,17 @@
+<?php
+
+   /**
+    **  index.php -- Displays the main frameset
+    **
+    **  Copyright (c) 1999-2002 The SquirrelMail development team
+    **  Licensed under the GNU GPL. For full terms see the file COPYING.
+    **
+    **  Redirects to the login page.
+    **
+    **  $Id$
+    **/
+
+   header("Location:../../src/login.php\n\n");
+   exit();
+
+?>

+ 1 - 4
plugins/filters/index.php

@@ -11,10 +11,7 @@
     **  $Id$
     **  $Id$
     **/
     **/
 
 
-   require_once('../../functions/strings.php');
-
-   $location = get_location();
-   header("Location: $location/src/login.php\n\n");
+   header("Location:../../src/login.php\n\n");
    exit();
    exit();
 
 
 ?>
 ?>

+ 17 - 0
plugins/listcommands/index.php

@@ -0,0 +1,17 @@
+<?php
+
+   /**
+    **  index.php -- Displays the main frameset
+    **
+    **  Copyright (c) 1999-2002 The SquirrelMail development team
+    **  Licensed under the GNU GPL. For full terms see the file COPYING.
+    **
+    **  Redirects to the login page.
+    **
+    **  $Id$
+    **/
+
+   header("Location:../../src/login.php\n\n");
+   exit();
+
+?>

+ 17 - 0
plugins/mail_fetch/index.php

@@ -0,0 +1,17 @@
+<?php
+
+   /**
+    **  index.php -- Displays the main frameset
+    **
+    **  Copyright (c) 1999-2002 The SquirrelMail development team
+    **  Licensed under the GNU GPL. For full terms see the file COPYING.
+    **
+    **  Redirects to the login page.
+    **
+    **  $Id$
+    **/
+
+   header("Location:../../src/login.php\n\n");
+   exit();
+
+?>

+ 17 - 0
plugins/newmail/index.php

@@ -0,0 +1,17 @@
+<?php
+
+   /**
+    **  index.php -- Displays the main frameset
+    **
+    **  Copyright (c) 1999-2002 The SquirrelMail development team
+    **  Licensed under the GNU GPL. For full terms see the file COPYING.
+    **
+    **  Redirects to the login page.
+    **
+    **  $Id$
+    **/
+
+   header("Location:../../src/login.php\n\n");
+   exit();
+
+?>

+ 17 - 0
plugins/sent_subfolders/index.php

@@ -0,0 +1,17 @@
+<?php
+
+   /**
+    **  index.php -- Displays the main frameset
+    **
+    **  Copyright (c) 1999-2002 The SquirrelMail development team
+    **  Licensed under the GNU GPL. For full terms see the file COPYING.
+    **
+    **  Redirects to the login page.
+    **
+    **  $Id$
+    **/
+
+   header("Location:../../src/login.php\n\n");
+   exit();
+
+?>

+ 17 - 0
plugins/spamcop/index.php

@@ -0,0 +1,17 @@
+<?php
+
+   /**
+    **  index.php -- Displays the main frameset
+    **
+    **  Copyright (c) 1999-2002 The SquirrelMail development team
+    **  Licensed under the GNU GPL. For full terms see the file COPYING.
+    **
+    **  Redirects to the login page.
+    **
+    **  $Id$
+    **/
+
+   header("Location:../../src/login.php\n\n");
+   exit();
+
+?>

+ 2 - 5
plugins/squirrelspell/doc/index.php

@@ -3,7 +3,7 @@
    /**
    /**
     **  index.php -- Displays the main frameset
     **  index.php -- Displays the main frameset
     **
     **
-    **  Copyright (c) 1999-2000 The SquirrelMail development team
+    **  Copyright (c) 1999-2002 The SquirrelMail development team
     **  Licensed under the GNU GPL. For full terms see the file COPYING.
     **  Licensed under the GNU GPL. For full terms see the file COPYING.
     **
     **
     **  Redirects to the login page.
     **  Redirects to the login page.
@@ -11,10 +11,7 @@
     **  $Id$
     **  $Id$
     **/
     **/
 
 
-   require_once('../../../functions/strings.php');
-
-   $location = get_location();
-   header("Location: $location/src/login.php\n\n");
+   header("Location:../../../src/login.php\n\n");
    exit();
    exit();
 
 
 ?>
 ?>

+ 2 - 5
plugins/squirrelspell/js/index.php

@@ -3,7 +3,7 @@
    /**
    /**
     **  index.php -- Displays the main frameset
     **  index.php -- Displays the main frameset
     **
     **
-    **  Copyright (c) 1999-2000 The SquirrelMail development team
+    **  Copyright (c) 1999-2002 The SquirrelMail development team
     **  Licensed under the GNU GPL. For full terms see the file COPYING.
     **  Licensed under the GNU GPL. For full terms see the file COPYING.
     **
     **
     **  Redirects to the login page.
     **  Redirects to the login page.
@@ -11,10 +11,7 @@
     **  $Id$
     **  $Id$
     **/
     **/
 
 
-   require_once('../../../functions/strings.php');
-
-   $location = get_location();
-   header("Location: $location/src/login.php\n\n");
+   header("Location:../../../src/login.php\n\n");
    exit();
    exit();
 
 
 ?>
 ?>

+ 2 - 5
plugins/squirrelspell/modules/index.php

@@ -3,7 +3,7 @@
    /**
    /**
     **  index.php -- Displays the main frameset
     **  index.php -- Displays the main frameset
     **
     **
-    **  Copyright (c) 1999-2001 The SquirrelMail development team
+    **  Copyright (c) 1999-2002 The SquirrelMail development team
     **  Licensed under the GNU GPL. For full terms see the file COPYING.
     **  Licensed under the GNU GPL. For full terms see the file COPYING.
     **
     **
     **  Redirects to the login page.
     **  Redirects to the login page.
@@ -11,10 +11,7 @@
     **  $Id$
     **  $Id$
     **/
     **/
 
 
-   require_once('../../../functions/strings.php');
-
-   $location = get_location();
-   header("Location: $location/src/login.php\n\n");
+   header("Location:../../../src/login.php\n\n");
    exit();
    exit();
 
 
 ?>
 ?>

+ 2 - 5
plugins/translate/index.php

@@ -11,10 +11,7 @@
     **  $Id$
     **  $Id$
     **/
     **/
 
 
-   require_once('../../functions/strings.php');
-
-   $location = get_location();
-   header("Location: $location/src/login.php\n\n");
+   header("Location:../../src/login.php\n\n");
    exit();
    exit();
 
 
-?>
+?>