includes/constants.php
changeset 1081 745200a9cc2a
parent 1027 98c052fc3337
child 1101 30d8bb88572d
equal deleted inserted replaced
1080:6358f769ecb1 1081:745200a9cc2a
     1 <?php
     1 <?php
     2 
     2 
     3 /*
     3 /*
     4  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
     4  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
     5  * Version 1.1.6 (Caoineag beta 1)
     5  * Copyright (C) 2006-2009 Dan Fuhry
     6  * Copyright (C) 2006-2008 Dan Fuhry
       
     7  * constants.php - important defines used Enano-wide
     6  * constants.php - important defines used Enano-wide
     8  *
     7  *
     9  * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
     8  * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
    10  * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
     9  * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
    11  *
    10  *
   100 // DST constants
    99 // DST constants
   101 define('FIRST_SUNDAY', 1);
   100 define('FIRST_SUNDAY', 1);
   102 define('SECOND_SUNDAY', 2);
   101 define('SECOND_SUNDAY', 2);
   103 define('THIRD_SUNDAY', 3);
   102 define('THIRD_SUNDAY', 3);
   104 define('LAST_SUNDAY', 4);
   103 define('LAST_SUNDAY', 4);
       
   104 
       
   105 // Date types
       
   106 define('DATE_1', 'y/m/d');
       
   107 define('DATE_2', 'y/d/m');
       
   108 define('DATE_3', 'Y-m-d');
       
   109 define('DATE_4', 'F d, Y');
       
   110 // 12 hour, no seconds
       
   111 define('TIME_12_NS', 'g:i A');
       
   112 // 12 hour, seconds
       
   113 define('TIME_12_S', 'g:i:s A');
       
   114 // 24 hour, no seconds
       
   115 define('TIME_24_NS', 'G:i');
       
   116 // 24 hour, seconds
       
   117 define('TIME_24_S', 'G:i:s');
       
   118 
       
   119 define('ED_DATE', 1);
       
   120 define('ED_TIME', 2);
   105 
   121 
   106 // Rendering options!
   122 // Rendering options!
   107 
   123 
   108 /**
   124 /**
   109  * Render using template/wiki hybrid syntax (Enano processing + template variable/logic access)
   125  * Render using template/wiki hybrid syntax (Enano processing + template variable/logic access)