logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

CVS: squirrelmail/themes greenhouse_effect.php, 1.11, 1.12 in_the_pink.php,: msg#00016

Subject: CVS: squirrelmail/themes greenhouse_effect.php, 1.11, 1.12 in_the_pink.php, 1.11, 1.12 kind_of_blue.php, 1.11, 1.12 monostochastic.php, 1.11, 1.12 random.php, 1.15, 1.16 shades_of_grey.php, 1.13, 1.14 spice_of_life.php, 1.11, 1.12 spice_of_life_dark.php, 1.11, 1.12 spice_of_life_lite.php, 1.12, 1.13
Update of /cvsroot/squirrelmail/squirrelmail/themes
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv4244

Modified Files:
        greenhouse_effect.php in_the_pink.php kind_of_blue.php 
        monostochastic.php random.php shades_of_grey.php 
        spice_of_life.php spice_of_life_dark.php 
        spice_of_life_lite.php 
Log Message:
sq_mt_randomize() is not available in style.php


Index: greenhouse_effect.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/themes/greenhouse_effect.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -w -r1.11 -r1.12
--- greenhouse_effect.php       23 Jan 2006 18:46:27 -0000      1.11
+++ greenhouse_effect.php       4 Jun 2006 09:57:20 -0000       1.12
@@ -14,6 +14,15 @@
  * @subpackage themes
  */
 
+/** Prevent direct script loading */
+if ((isset($_SERVER['SCRIPT_FILENAME']) && $_SERVER['SCRIPT_FILENAME'] == 
__FILE__) ||
+    (isset($HTTP_SERVER_SERVER['SCRIPT_FILENAME']) && 
$HTTP_SERVER_SERVER['SCRIPT_FILENAME'] == __FILE__) ) {
+    die();
+}
+
+/** load sq_mt_randomize() */
+include_once(SM_PATH . 'functions/strings.php');
+
 /** seed the random number generator **/
 sq_mt_randomize();
 

Index: in_the_pink.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/themes/in_the_pink.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -w -r1.11 -r1.12
--- in_the_pink.php     23 Jan 2006 18:46:27 -0000      1.11
+++ in_the_pink.php     4 Jun 2006 09:57:20 -0000       1.12
@@ -15,6 +15,15 @@
  * @subpackage themes
  */
 
+/** Prevent direct script loading */
+if ((isset($_SERVER['SCRIPT_FILENAME']) && $_SERVER['SCRIPT_FILENAME'] == 
__FILE__) ||
+    (isset($HTTP_SERVER_SERVER['SCRIPT_FILENAME']) && 
$HTTP_SERVER_SERVER['SCRIPT_FILENAME'] == __FILE__) ) {
+    die();
+}
+
+/** load sq_mt_randomize() */
+include_once(SM_PATH . 'functions/strings.php');
+
 /* seed the random number generator */
 sq_mt_randomize();
 

Index: kind_of_blue.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/themes/kind_of_blue.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -w -r1.11 -r1.12
--- kind_of_blue.php    23 Jan 2006 18:46:27 -0000      1.11
+++ kind_of_blue.php    4 Jun 2006 09:57:20 -0000       1.12
@@ -15,6 +15,15 @@
  * @subpackage themes
  */
 
+/** Prevent direct script loading */
+if ((isset($_SERVER['SCRIPT_FILENAME']) && $_SERVER['SCRIPT_FILENAME'] == 
__FILE__) ||
+    (isset($HTTP_SERVER_SERVER['SCRIPT_FILENAME']) && 
$HTTP_SERVER_SERVER['SCRIPT_FILENAME'] == __FILE__) ) {
+    die();
+}
+
+/** load sq_mt_randomize() */
+include_once(SM_PATH . 'functions/strings.php');
+
 /** seed the random number generator */
 sq_mt_randomize();
 

Index: monostochastic.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/themes/monostochastic.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -w -r1.11 -r1.12
--- monostochastic.php  23 Jan 2006 18:46:27 -0000      1.11
+++ monostochastic.php  4 Jun 2006 09:57:20 -0000       1.12
@@ -15,6 +15,15 @@
  * @subpackage themes
  */
 
+/** Prevent direct script loading */
+if ((isset($_SERVER['SCRIPT_FILENAME']) && $_SERVER['SCRIPT_FILENAME'] == 
__FILE__) ||
+    (isset($HTTP_SERVER_SERVER['SCRIPT_FILENAME']) && 
$HTTP_SERVER_SERVER['SCRIPT_FILENAME'] == __FILE__) ) {
+    die();
+}
+
+/** load sq_mt_randomize() */
+include_once(SM_PATH . 'functions/strings.php');
+
 /** seed the random number generator */
 sq_mt_randomize();
 

Index: random.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/themes/random.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -w -r1.15 -r1.16
--- random.php  23 Jan 2006 18:46:27 -0000      1.15
+++ random.php  4 Jun 2006 09:57:20 -0000       1.16
@@ -13,11 +13,19 @@
  * @subpackage themes
  */
 
+/** Prevent direct script loading */
+if ((isset($_SERVER['SCRIPT_FILENAME']) && $_SERVER['SCRIPT_FILENAME'] == 
__FILE__) ||
+    (isset($HTTP_SERVER_SERVER['SCRIPT_FILENAME']) && 
$HTTP_SERVER_SERVER['SCRIPT_FILENAME'] == __FILE__) ) {
+    die();
+}
+
+/** load required functions */
+include_once(SM_PATH . 'functions/global.php');
+include_once(SM_PATH . 'functions/strings.php');
+
 /** Initialize the random number generator */
 sq_mt_randomize();
 
-require_once(SM_PATH . 'functions/global.php');
-
 global $theme;
 
 if (!sqsession_is_registered('random_theme_good_theme')) {

Index: shades_of_grey.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/themes/shades_of_grey.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -w -r1.13 -r1.14
--- shades_of_grey.php  23 Jan 2006 18:46:27 -0000      1.13
+++ shades_of_grey.php  4 Jun 2006 09:57:20 -0000       1.14
@@ -14,6 +14,15 @@
  * @subpackage themes
  */
 
+/** Prevent direct script loading */
+if ((isset($_SERVER['SCRIPT_FILENAME']) && $_SERVER['SCRIPT_FILENAME'] == 
__FILE__) ||
+    (isset($HTTP_SERVER_SERVER['SCRIPT_FILENAME']) && 
$HTTP_SERVER_SERVER['SCRIPT_FILENAME'] == __FILE__) ) {
+    die();
+}
+
+/** load sq_mt_randomize() */
+include_once(SM_PATH . 'functions/strings.php');
+
 /** seed the random number generator */
 sq_mt_randomize();
 

Index: spice_of_life.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/themes/spice_of_life.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -w -r1.11 -r1.12
--- spice_of_life.php   23 Jan 2006 18:46:27 -0000      1.11
+++ spice_of_life.php   4 Jun 2006 09:57:20 -0000       1.12
@@ -14,6 +14,15 @@
  * @subpackage themes
  */
 
+/** Prevent direct script loading */
+if ((isset($_SERVER['SCRIPT_FILENAME']) && $_SERVER['SCRIPT_FILENAME'] == 
__FILE__) ||
+    (isset($HTTP_SERVER_SERVER['SCRIPT_FILENAME']) && 
$HTTP_SERVER_SERVER['SCRIPT_FILENAME'] == __FILE__) ) {
+    die();
+}
+
+/** load sq_mt_randomize() */
+include_once(SM_PATH . 'functions/strings.php');
+
 /** seed the random number generator **/
 sq_mt_randomize();
 

Index: spice_of_life_dark.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/themes/spice_of_life_dark.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -w -r1.11 -r1.12
--- spice_of_life_dark.php      23 Jan 2006 18:46:27 -0000      1.11
+++ spice_of_life_dark.php      4 Jun 2006 09:57:20 -0000       1.12
@@ -14,6 +14,15 @@
  * @subpackage themes
  */
 
+/** Prevent direct script loading */
+if ((isset($_SERVER['SCRIPT_FILENAME']) && $_SERVER['SCRIPT_FILENAME'] == 
__FILE__) ||
+    (isset($HTTP_SERVER_SERVER['SCRIPT_FILENAME']) && 
$HTTP_SERVER_SERVER['SCRIPT_FILENAME'] == __FILE__) ) {
+    die();
+}
+
+/** load sq_mt_randomize() */
+include_once(SM_PATH . 'functions/strings.php');
+
 /** seed the random number generator **/
 sq_mt_randomize();
 

Index: spice_of_life_lite.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/themes/spice_of_life_lite.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -w -r1.12 -r1.13
--- spice_of_life_lite.php      23 Jan 2006 18:46:27 -0000      1.12
+++ spice_of_life_lite.php      4 Jun 2006 09:57:20 -0000       1.13
@@ -14,6 +14,15 @@
  * @subpackage themes
  */
 
+/** Prevent direct script loading */
+if ((isset($_SERVER['SCRIPT_FILENAME']) && $_SERVER['SCRIPT_FILENAME'] == 
__FILE__) ||
+    (isset($HTTP_SERVER_SERVER['SCRIPT_FILENAME']) && 
$HTTP_SERVER_SERVER['SCRIPT_FILENAME'] == __FILE__) ) {
+    die();
+}
+
+/** load sq_mt_randomize() */
+include_once(SM_PATH . 'functions/strings.php');
+
 /** seed the random number generator **/
 sq_mt_randomize();
 





<Prev in Thread] Current Thread [Next in Thread>