Add ability to show plugin list in columns. This should probably be adapted to other...
[squirrelmail.git] / themes / darkness.php
index a48a66cbb7b0206393dc5414b7023fff82510412..8dac3df6ce79dc47861fa8aebbb80ff397ae0bdc 100755 (executable)
@@ -5,7 +5,7 @@
  * Like black?
  *
  * @author Tyler Akins
- * @copyright © 2001-2006 The SquirrelMail Project Team
+ * @copyright © 2001-2007 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
@@ -42,9 +42,8 @@ function IsUnique($Distance, $r, $g, $b, $usedArray)
 // Always tremble background
 // This might make people go insane.  Yes!  *Victory dance!*
 function Darkness_HeaderPlugin() {
-   global $PHP_SELF;
 
-   if (substr($PHP_SELF, -18) == '/src/left_main.php') {
+   if (defined('PAGE_NAME') && PAGE_NAME=='left_main') {
       echo '<meta http-equiv="Page-Enter" content="' .
          'blendTrans(Duration=2.0)" />' . "\n";
    }