includes/constants.php
changeset 711 f70d764aab33
parent 692 78473351a6c9
child 719 f82da241eaf8
equal deleted inserted replaced
710:1fbce408813c 711:f70d764aab33
    89 define('TOKEN_VARIABLE', 1);
    89 define('TOKEN_VARIABLE', 1);
    90 define('TOKEN_BOOLOP', 2);
    90 define('TOKEN_BOOLOP', 2);
    91 define('TOKEN_PARENTHLEFT', 3);
    91 define('TOKEN_PARENTHLEFT', 3);
    92 define('TOKEN_PARENTHRIGHT', 4);
    92 define('TOKEN_PARENTHRIGHT', 4);
    93 define('TOKEN_NOT', 5);
    93 define('TOKEN_NOT', 5);
       
    94 
       
    95 // DST constants
       
    96 define('FIRST_SUNDAY', 1);
       
    97 define('SECOND_SUNDAY', 2);
       
    98 define('THIRD_SUNDAY', 3);
       
    99 define('LAST_SUNDAY', 4);
    94 
   100 
    95 //
   101 //
    96 // User types - don't touch these
   102 // User types - don't touch these
    97 //
   103 //
    98 
   104 
   615   0xFC =>  "JPG12", 0xFD =>  "JPG13",
   621   0xFC =>  "JPG12", 0xFD =>  "JPG13",
   616   
   622   
   617   0xFE =>  "COM",   0x01 =>  "TEM",   0x02 =>  "RES",
   623   0xFE =>  "COM",   0x01 =>  "TEM",   0x02 =>  "RES",
   618 );
   624 );
   619 
   625 
       
   626 // DST profiles
       
   627 global $dst_profiles;
       
   628 $dst_profiles = array(
       
   629     'off' => '0;0;0;0;60',
       
   630     'usa' => '3;' . SECOND_SUNDAY . ';11;' . FIRST_SUNDAY . ';60',
       
   631     'europe' => '3;' . LAST_SUNDAY . ';10;' . LAST_SUNDAY . ';60',
       
   632     'australia' => '10;' . LAST_SUNDAY . ';3;' . LAST_SUNDAY . ';60',
       
   633     'tasmania' => '10;' . FIRST_SUNDAY . ';3;' . LAST_SUNDAY . ';60'
       
   634   );