| [ Index ] |
|
Code source de b2evolution 2.1.0-beta |
1 <?php 2 /** 3 * This file sets various general purpose arrays and global variables for use in the app. 4 * 5 * This file is part of the evoCore framework - {@link http://evocore.net/} 6 * See also {@link http://sourceforge.net/projects/evocms/}. 7 * 8 * @copyright (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/} 9 * Parts of this file are copyright (c)2004-2006 by Daniel HAHLER - {@link http://thequod.de/contact}. 10 * 11 * {@internal License choice 12 * - If you have received this file as part of a package, please find the license.txt file in 13 * the same folder or the closest folder above for complete license terms. 14 * - If you have received this file individually (e-g: from http://evocms.cvs.sourceforge.net/) 15 * then you must choose one of the following licenses before using the file: 16 * - GNU General Public License 2 (GPL) - http://www.opensource.org/licenses/gpl-license.php 17 * - Mozilla Public License 1.1 (MPL) - http://www.opensource.org/licenses/mozilla1.1.php 18 * }} 19 * 20 * {@internal Open Source relicensing agreement: 21 * Daniel HAHLER grants Francois PLANQUE the right to license 22 * Daniel HAHLER's contributions to this file and the b2evolution project 23 * under any OSI approved OSS license (http://www.opensource.org/licenses/). 24 * }} 25 * 26 * @package evocore 27 * 28 * {@internal Below is a list of authors who have contributed to design/coding of this file: }} 29 * @author blueyed: Daniel HAHLER. 30 * @author cafelog (team) 31 * @author fplanque: Francois PLANQUE. 32 * @author jupiterx: Jordan RUNNING. 33 * @author sakichan: Nobuo SAKIYAMA. 34 * 35 * @version $Id: _vars.inc.php,v 1.22 2007/11/02 02:43:04 fplanque Exp $ 36 */ 37 if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' ); 38 39 40 /** 41 * Do we want robots to index this page? -- Will be use to produce meta robots tag 42 * @global boolean or NULL to ignore 43 */ 44 $robots_index = NULL; 45 46 /** 47 * Do we want robots to follow links on this page? -- Will be use to produce meta robots tag 48 * @global boolean or NULL to ignore 49 */ 50 $robots_follow = NULL; 51 52 53 /** 54 * @global boolean Are we running on Command Line Interface instead of a web request? 55 */ 56 $is_cli = empty($_SERVER['SERVER_SOFTWARE']) ? true : false; 57 $is_web = ! $is_cli; 58 // echo ($is_cli ? 'cli' : 'web' ); 59 60 // Initialize some variables for template functions 61 $required_js = array(); 62 $required_css = array(); 63 $headlines = array(); 64 65 66 // Investigation for following code by Isaac - http://isaacschlueter.com/ 67 // $debug = true; 68 if( isset($_SERVER['REQUEST_URI']) && !empty($_SERVER['REQUEST_URI']) ) 69 { // Warning: on some IIS installs it it set but empty! 70 $Debuglog->add( 'Getting ReqURI from REQUEST_URI', 'vars' ); 71 $ReqURI = $_SERVER['REQUEST_URI']; 72 73 // Build requested Path without query string: 74 $pos = strpos( $ReqURI, '?' ); 75 if( false !== $pos ) 76 { 77 $ReqPath = substr( $ReqURI, 0, $pos ); 78 } 79 else 80 { 81 $ReqPath = $ReqURI; 82 } 83 } 84 elseif( isset($_SERVER['URL']) ) 85 { // ISAPI 86 $Debuglog->add( 'Getting ReqPath from URL', 'vars' ); 87 $ReqPath = $_SERVER['URL']; 88 $ReqURI = isset($_SERVER['QUERY_STRING']) && !empty( $_SERVER['QUERY_STRING'] ) ? ($ReqPath.'?'.$_SERVER['QUERY_STRING']) : $ReqPath; 89 } 90 elseif( isset($_SERVER['PATH_INFO']) ) 91 { // CGI/FastCGI 92 if( isset($_SERVER['SCRIPT_NAME']) ) 93 { 94 $Debuglog->add( 'Getting ReqPath from PATH_INFO and SCRIPT_NAME', 'vars' ); 95 96 if ($_SERVER['SCRIPT_NAME'] == $_SERVER['PATH_INFO'] ) 97 { /* both the same so just use one of them 98 * this happens on a windoze 2003 box 99 * gotta love microdoft 100 */ 101 $Debuglog->add( 'PATH_INFO and SCRIPT_NAME are the same', 'vars' ); 102 $Debuglog->add( 'Getting ReqPath from PATH_INFO only instead', 'vars' ); 103 $ReqPath = $_SERVER['PATH_INFO']; 104 } 105 else 106 { 107 $ReqPath = $_SERVER['SCRIPT_NAME'].$_SERVER['PATH_INFO']; 108 } 109 } 110 else 111 { // does this happen?? 112 $Debuglog->add( 'Getting ReqPath from PATH_INFO only!', 'vars' ); 113 114 $ReqPath = $_SERVER['PATH_INFO']; 115 } 116 $ReqURI = isset($_SERVER['QUERY_STRING']) && !empty( $_SERVER['QUERY_STRING'] ) ? ($ReqPath.'?'.$_SERVER['QUERY_STRING']) : $ReqPath; 117 } 118 elseif( isset($_SERVER['ORIG_PATH_INFO']) ) 119 { // Tomcat 5.5.x with Herbelin PHP servlet and PHP 5.1 120 $Debuglog->add( 'Getting ReqPath from ORIG_PATH_INFO', 'vars' ); 121 $ReqPath = $_SERVER['ORIG_PATH_INFO']; 122 $ReqURI = isset($_SERVER['QUERY_STRING']) && !empty( $_SERVER['QUERY_STRING'] ) ? ($ReqPath.'?'.$_SERVER['QUERY_STRING']) : $ReqPath; 123 } 124 elseif( isset($_SERVER['SCRIPT_NAME']) ) 125 { // Some Odd Win2k Stuff 126 $Debuglog->add( 'Getting ReqPath from SCRIPT_NAME', 'vars' ); 127 $ReqPath = $_SERVER['SCRIPT_NAME']; 128 $ReqURI = isset($_SERVER['QUERY_STRING']) && !empty( $_SERVER['QUERY_STRING'] ) ? ($ReqPath.'?'.$_SERVER['QUERY_STRING']) : $ReqPath; 129 } 130 elseif( isset($_SERVER['PHP_SELF']) ) 131 { // The Old Stand-By 132 $Debuglog->add( 'Getting ReqPath from PHP_SELF', 'vars' ); 133 $ReqPath = $_SERVER['PHP_SELF']; 134 $ReqURI = isset($_SERVER['QUERY_STRING']) && !empty( $_SERVER['QUERY_STRING'] ) ? ($ReqPath.'?'.$_SERVER['QUERY_STRING']) : $ReqPath; 135 } 136 else 137 { 138 $ReqPath = false; 139 $ReqURI = false; 140 ?> 141 <p class="error"> 142 Warning: $ReqPath could not be set. Probably an odd IIS problem. 143 </p> 144 <p> 145 Go to your <a href="<?php echo $baseurl.$install_subdir ?>phpinfo.php">phpinfo page</a>, 146 look for occurences of <code><?php 147 // take the baseurlroot out.. 148 echo preg_replace('#^'.$baseurlroot.'#', '', $baseurl.$install_subdir ) 149 ?>phpinfo.php</code> and copy all lines 150 containing this to the <a href="http://forums.b2evolution.net">forum</a>. Also specify what webserver 151 you're running on. 152 <br /> 153 (If you have deleted your install folder – what is recommended after successful setup – 154 you have to upload it again before doing this). 155 </p> 156 <?php 157 } 158 159 if( $is_web ) 160 { 161 /** 162 * Full requested Host (including protocol). 163 * 164 * {@internal Note: on IIS you can receive 'off' in the HTTPS field!! :[ }} 165 * 166 * @global string 167 */ 168 $ReqHost = ( (isset($_SERVER['HTTPS']) && ( $_SERVER['HTTPS'] != 'off' ) ) ?'https://':'http://').$_SERVER['HTTP_HOST']; 169 170 $Debuglog->add( '$ReqHost: '.$ReqHost, 'vars' ); 171 $Debuglog->add( '$ReqURI: '.$ReqURI, 'vars' ); 172 $Debuglog->add( '$ReqPath: '.$ReqPath, 'vars' ); 173 174 175 // on which page are we ? 176 $pagenow = explode( '/', $_SERVER['PHP_SELF'] ); 177 $pagenow = trim( $pagenow[(sizeof($pagenow) - 1)] ); 178 $pagenow = explode( '?', $pagenow ); 179 $pagenow = $pagenow[0]; 180 181 182 $credit_links = array_merge( 183 unserialize( 'a:3:{i:0;a:1:{s:0:"";a:2:{i:0;a:3:{i:0;i:6;i:1;s:19:"http://evocore.net/";i:2;a:3:{i:0;a:2:{i:0;i:3;i:1;s:13:"PHP framework";}i:1;a:2:{i:0;i:5;i:1;s:9:"framework";}i:2;a:2:{i:0;i:6;i:1;s:7:"evoCore";}}}i:1;a:3:{i:0;i:100;i:1;s:23:"http://b2evolution.net/";i:2;a:12:{i:0;a:2:{i:0;i:8;i:1;s:9:"free blog";}i:1;a:2:{i:0;i:10;i:1;s:14:"free blog tool";}i:2;a:2:{i:0;i:14;i:1;s:16:"open source blog";}i:3;a:2:{i:0;i:18;i:1;s:9:"multiblog";}i:4;a:2:{i:0;i:64;i:1;s:13:"blog software";}i:5;a:2:{i:0;i:72;i:1;s:14:"multiple blogs";}i:6;a:2:{i:0;i:74;i:1;s:18:"free blog software";}i:7;a:2:{i:0;i:78;i:1;s:17:"blogging software";}i:8;a:2:{i:0;i:84;i:1;s:11:"blog engine";}i:9;a:2:{i:0;i:88;i:1;s:9:"blog soft";}i:10;a:2:{i:0;i:97;i:1;s:9:"blog tool";}i:11;a:2:{i:0;i:100;i:1;s:8:"blogtool";}}}}}i:1;a:4:{s:5:"en-UK";a:2:{i:0;s:89:"http://b2evolution.net/web-hosting/europe/uk-recommended-hosts-php-mysql-best-choices.php";i:1;a:11:{i:0;a:2:{i:0;i:5;i:1;s:7:"UK host";}i:1;a:2:{i:0;i:10;i:1;s:14:"web hosting UK";}i:2;a:2:{i:0;i:14;i:1;s:11:"web host UK";}i:3;a:2:{i:0;i:19;i:1;s:13:"webhosting UK";}i:4;a:2:{i:0;i:30;i:1;s:10:"UK hosting";}i:5;a:2:{i:0;i:33;i:1;s:7:"host uk";}i:6;a:2:{i:0;i:66;i:1;s:8:"UK hosts";}i:7;a:2:{i:0;i:72;i:1;s:10:"hosting UK";}i:8;a:2:{i:0;i:82;i:1;s:8:"hosts UK";}i:9;a:2:{i:0;i:98;i:1;s:14:"UK web hosting";}i:10;a:2:{i:0;i:100;i:1;s:10:"UK webhost";}}}s:5:"en-GB";a:2:{i:0;s:89:"http://b2evolution.net/web-hosting/europe/uk-recommended-hosts-php-mysql-best-choices.php";i:1;a:11:{i:0;a:2:{i:0;i:5;i:1;s:7:"UK host";}i:1;a:2:{i:0;i:10;i:1;s:14:"web hosting UK";}i:2;a:2:{i:0;i:14;i:1;s:11:"web host UK";}i:3;a:2:{i:0;i:19;i:1;s:13:"webhosting UK";}i:4;a:2:{i:0;i:30;i:1;s:10:"UK hosting";}i:5;a:2:{i:0;i:33;i:1;s:7:"host uk";}i:6;a:2:{i:0;i:66;i:1;s:8:"UK hosts";}i:7;a:2:{i:0;i:72;i:1;s:10:"hosting UK";}i:8;a:2:{i:0;i:82;i:1;s:8:"hosts UK";}i:9;a:2:{i:0;i:98;i:1;s:14:"UK web hosting";}i:10;a:2:{i:0;i:100;i:1;s:10:"UK webhost";}}}s:2:"fr";a:4:{i:0;a:3:{i:0;i:78;i:1;s:71:"http://b2evolution.net/web-hosting/europe/hebergement-web-france-fr.php";i:2;a:8:{i:0;a:2:{i:0;i:14;i:1;s:18:"hébergement";}i:1;a:2:{i:0;i:19;i:1;s:22:"hébergement web";}i:2;a:2:{i:0;i:30;i:1;s:17:"hébergeurs";}i:3;a:2:{i:0;i:41;i:1;s:16:"hébergeur";}i:4;a:2:{i:0;i:45;i:1;s:20:"hébergeur web";}i:5;a:2:{i:0;i:60;i:1;s:9:"hebergeur";}i:6;a:2:{i:0;i:72;i:1;s:11:"hebergement";}i:7;a:2:{i:0;i:78;i:1;s:11:"serveur web";}}}i:1;a:3:{i:0;i:91;i:1;s:71:"http://b2evolution.net/web-hosting/budget-web-hosting-low-cost-lamp.php";i:2;a:6:{i:0;a:2:{i:0;i:82;i:1;s:13:"cheap hosting";}i:1;a:2:{i:0;i:84;i:1;s:14:"budget hosting";}i:2;a:2:{i:0;i:86;i:1;s:13:"value hosting";}i:3;a:2:{i:0;i:88;i:1;s:18:"affordable hosting";}i:4;a:2:{i:0;i:89;i:1;s:15:"popular hosting";}i:5;a:2:{i:0;i:91;i:1;s:16:"low cost hosting";}}}i:2;a:3:{i:0;i:97;i:1;s:68:"http://b2evolution.net/about/linux-dedicated-servers-web-hosting.php";i:2;a:3:{i:0;a:2:{i:0;i:94;i:1;s:17:"dedicated servers";}i:1;a:2:{i:0;i:95;i:1;s:16:"dedicated server";}i:2;a:2:{i:0;i:97;i:1;s:17:"dedicated hosting";}}}i:3;a:3:{i:0;i:100;i:1;s:70:"http://b2evolution.net/web-hosting/ssh-hosting-secure-shell-access.php";i:2;a:3:{i:0;a:2:{i:0;i:98;i:1;s:15:"SSH web hosting";}i:1;a:2:{i:0;i:99;i:1;s:12:"secure shell";}i:2;a:2:{i:0;i:100;i:1;s:11:"SSH hosting";}}}}s:0:"";a:6:{i:0;a:3:{i:0;i:4;i:1;s:74:"http://b2evolution.net/web-hosting/vps-hosting-virtual-private-servers.php";i:2;a:3:{i:0;a:2:{i:0;i:1;i:1;s:3:"vps";}i:1;a:2:{i:0;i:2;i:1;s:3:"vds";}i:2;a:2:{i:0;i:4;i:1;s:11:"vps hosting";}}}i:1;a:3:{i:0;i:10;i:1;s:75:"http://b2evolution.net/web-hosting/green-hosting-renewable-energy-power.php";i:2;a:2:{i:0;a:2:{i:0;i:7;i:1;s:13:"green hosting";}i:1;a:2:{i:0;i:10;i:1;s:17:"green web hosting";}}}i:2;a:3:{i:0;i:78;i:1;s:66:"http://b2evolution.net/web-hosting/top-quality-best-webhosting.php";i:2;a:23:{i:0;a:2:{i:0;i:14;i:1;s:10:"webhosting";}i:1;a:2:{i:0;i:16;i:1;s:19:"b2evolution hosting";}i:2;a:2:{i:0;i:17;i:1;s:17:"hosting companies";}i:3;a:2:{i:0;i:18;i:1;s:19:"recommended hosting";}i:4;a:2:{i:0;i:19;i:1;s:13:"b2evo hosting";}i:5;a:2:{i:0;i:28;i:1;s:12:"blog hosting";}i:6;a:2:{i:0;i:30;i:1;s:11:"top hosting";}i:7;a:2:{i:0;i:32;i:1;s:7:"hosting";}i:8;a:2:{i:0;i:34;i:1;s:5:"hosts";}i:9;a:2:{i:0;i:35;i:1;s:9:"top hosts";}i:10;a:2:{i:0;i:36;i:1;s:7:"webhost";}i:11;a:2:{i:0;i:37;i:1;s:10:"best hosts";}i:12;a:2:{i:0;i:39;i:1;s:12:"best hosting";}i:13;a:2:{i:0;i:42;i:1;s:11:"PHP hosting";}i:14;a:2:{i:0;i:43;i:1;s:13:"MySQL hosting";}i:15;a:2:{i:0;i:44;i:1;s:8:"webhosts";}i:16;a:2:{i:0;i:45;i:1;s:12:"LAMP hosting";}i:17;a:2:{i:0;i:62;i:1;s:11:"web hosting";}i:18;a:2:{i:0;i:64;i:1;s:8:"web host";}i:19;a:2:{i:0;i:66;i:1;s:10:"webhosting";}i:20;a:2:{i:0;i:70;i:1;s:9:"web hosts";}i:21;a:2:{i:0;i:72;i:1;s:10:"webhosting";}i:22;a:2:{i:0;i:78;i:1;s:7:"hosting";}}}i:3;a:3:{i:0;i:91;i:1;s:71:"http://b2evolution.net/web-hosting/budget-web-hosting-low-cost-lamp.php";i:2;a:5:{i:0;a:2:{i:0;i:83;i:1;s:13:"cheap hosting";}i:1;a:2:{i:0;i:84;i:1;s:14:"budget hosting";}i:2;a:2:{i:0;i:87;i:1;s:17:"cheap web hosting";}i:3;a:2:{i:0;i:89;i:1;s:18:"affordable hosting";}i:4;a:2:{i:0;i:91;i:1;s:16:"low cost hosting";}}}i:4;a:3:{i:0;i:98;i:1;s:68:"http://b2evolution.net/about/linux-dedicated-servers-web-hosting.php";i:2;a:3:{i:0;a:2:{i:0;i:93;i:1;s:17:"dedicated servers";}i:1;a:2:{i:0;i:95;i:1;s:16:"dedicated server";}i:2;a:2:{i:0;i:98;i:1;s:17:"dedicated hosting";}}}i:5;a:3:{i:0;i:100;i:1;s:70:"http://b2evolution.net/web-hosting/ssh-hosting-secure-shell-access.php";i:2;a:2:{i:0;a:2:{i:0;i:99;i:1;s:15:"SSH web hosting";}i:1;a:2:{i:0;i:100;i:1;s:11:"SSH hosting";}}}}}i:2;a:2:{s:2:"fr";a:3:{i:0;a:3:{i:0;i:36;i:1;s:20:"http://fplanque.net/";i:2;a:6:{i:0;a:2:{i:0;i:3;i:1;s:2:"FP";}i:1;a:2:{i:0;i:9;i:1;s:8:"Francois";}i:2;a:2:{i:0;i:17;i:1;s:4:"F.P.";}i:3;a:2:{i:0;i:19;i:1;s:3:"F P";}i:4;a:2:{i:0;i:28;i:1;s:8:"Francois";}i:5;a:2:{i:0;i:36;i:1;s:15:"François";}}}i:1;a:3:{i:0;i:90;i:1;s:52:"http://b2evolution.net/about/monetize-blog-money.php";i:2;a:5:{i:0;a:2:{i:0;i:41;i:1;s:8:"pub blog";}i:1;a:2:{i:0;i:45;i:1;s:3:"pub";}i:2;a:2:{i:0;i:72;i:1;s:7:"adsense";}i:3;a:2:{i:0;i:78;i:1;s:3:"pub";}i:4;a:2:{i:0;i:90;i:1;s:8:"blog pub";}}}i:2;a:3:{i:0;i:100;i:1;s:39:"http://b2evolution.net/dev/authors.html";i:2;a:3:{i:0;a:2:{i:0;i:94;i:1;s:7:"authors";}i:1;a:2:{i:0;i:98;i:1;s:7:"evoTeam";}i:2;a:2:{i:0;i:100;i:1;s:4:"team";}}}}s:0:"";a:4:{i:0;a:3:{i:0;i:14;i:1;s:26:"http://plusjamaisseul.net/";i:2;a:2:{i:0;a:2:{i:0;i:8;i:1;s:9:"test site";}i:1;a:2:{i:0;i:14;i:1;s:4:"test";}}}i:1;a:3:{i:0;i:30;i:1;s:20:"http://fplanque.com/";i:2;a:3:{i:0;a:2:{i:0;i:17;i:1;s:7:"Planque";}i:1;a:2:{i:0;i:19;i:1;s:2:"fp";}i:2;a:2:{i:0;i:30;i:1;s:8:"Francois";}}}i:2;a:3:{i:0;i:90;i:1;s:52:"http://b2evolution.net/about/monetize-blog-money.php";i:2;a:9:{i:0;a:2:{i:0;i:33;i:1;s:13:"paid blogging";}i:1;a:2:{i:0;i:35;i:1;s:10:"blog money";}i:2;a:2:{i:0;i:39;i:1;s:11:"advertising";}i:3;a:2:{i:0;i:41;i:1;s:8:"blog ads";}i:4;a:2:{i:0;i:50;i:1;s:3:"ads";}i:5;a:2:{i:0;i:58;i:1;s:8:"monetize";}i:6;a:2:{i:0;i:68;i:1;s:5:"money";}i:7;a:2:{i:0;i:72;i:1;s:9:"paid blog";}i:8;a:2:{i:0;i:90;i:1;s:7:"adsense";}}}i:3;a:3:{i:0;i:100;i:1;s:39:"http://b2evolution.net/dev/authors.html";i:2;a:3:{i:0;a:2:{i:0;i:94;i:1;s:7:"authors";}i:1;a:2:{i:0;i:98;i:1;s:7:"evoTeam";}i:2;a:2:{i:0;i:100;i:1;s:4:"team";}}}}}}' ), 184 $credit_links ); 185 } 186 187 // the weekdays and the months.. 188 $weekday[0] = NT_('Sunday'); 189 $weekday[1] = NT_('Monday'); 190 $weekday[2] = NT_('Tuesday'); 191 $weekday[3] = NT_('Wednesday'); 192 $weekday[4] = NT_('Thursday'); 193 $weekday[5] = NT_('Friday'); 194 $weekday[6] = NT_('Saturday'); 195 196 // the weekdays short form (typically 3 letters) 197 // TRANS: abbrev. for Sunday 198 $weekday_abbrev[0] = NT_('Sun'); 199 // TRANS: abbrev. for Monday 200 $weekday_abbrev[1] = NT_('Mon'); 201 // TRANS: abbrev. for Tuesday 202 $weekday_abbrev[2] = NT_('Tue'); 203 // TRANS: abbrev. for Wednesday 204 $weekday_abbrev[3] = NT_('Wed'); 205 // TRANS: abbrev. for Thursday 206 $weekday_abbrev[4] = NT_('Thu'); 207 // TRANS: abbrev. for Friday 208 $weekday_abbrev[5] = NT_('Fri'); 209 // TRANS: abbrev. for Saturday 210 $weekday_abbrev[6] = NT_('Sat'); 211 212 // the weekdays even shorter form (typically 1 letter) 213 // TRANS: abbrev. for Sunday 214 $weekday_letter[0] = NT_(' S '); 215 // TRANS: abbrev. for Monday 216 $weekday_letter[1] = NT_(' M '); 217 // TRANS: abbrev. for Tuesday 218 $weekday_letter[2] = NT_(' T '); 219 // TRANS: abbrev. for Wednesday 220 $weekday_letter[3] = NT_(' W '); 221 // TRANS: abbrev. for Thursday 222 $weekday_letter[4] = NT_(' T '); 223 // TRANS: abbrev. for Friday 224 $weekday_letter[5] = NT_(' F '); 225 // TRANS: abbrev. for Saturday 226 $weekday_letter[6] = NT_(' S '); 227 228 // the months 229 $month['01'] = NT_('January'); 230 $month['02'] = NT_('February'); 231 $month['03'] = NT_('March'); 232 $month['04'] = NT_('April'); 233 // TRANS: space at the end only to differentiate from short form. You don't need to keep it in the translation. 234 $month['05'] = NT_('May '); 235 $month['06'] = NT_('June'); 236 $month['07'] = NT_('July'); 237 $month['08'] = NT_('August'); 238 $month['09'] = NT_('September'); 239 $month['10'] = NT_('October'); 240 $month['11'] = NT_('November'); 241 $month['12'] = NT_('December'); 242 243 // the months short form (typically 3 letters) 244 // TRANS: abbrev. for January 245 $month_abbrev['01'] = NT_('Jan'); 246 // TRANS: abbrev. for February 247 $month_abbrev['02'] = NT_('Feb'); 248 // TRANS: abbrev. for March 249 $month_abbrev['03'] = NT_('Mar'); 250 // TRANS: abbrev. for April 251 $month_abbrev['04'] = NT_('Apr'); 252 // TRANS: abbrev. for May 253 $month_abbrev['05'] = NT_('May'); 254 // TRANS: abbrev. for June 255 $month_abbrev['06'] = NT_('Jun'); 256 // TRANS: abbrev. for July 257 $month_abbrev['07'] = NT_('Jul'); 258 // TRANS: abbrev. for August 259 $month_abbrev['08'] = NT_('Aug'); 260 // TRANS: abbrev. for September 261 $month_abbrev['09'] = NT_('Sep'); 262 // TRANS: abbrev. for October 263 $month_abbrev['10'] = NT_('Oct'); 264 // TRANS: abbrev. for November 265 $month_abbrev['11'] = NT_('Nov'); 266 // TRANS: abbrev. for December 267 $month_abbrev['12'] = NT_('Dec'); 268 269 // the post statuses: 270 $post_statuses = array ( 271 'published' => NT_('Published'), 272 'deprecated' => NT_('Deprecated'), 273 'redirected' => NT_('Redirected'), 274 'protected' => NT_('Protected'), 275 'private' => NT_('Private'), 276 'draft' => NT_('Draft'), 277 ); 278 279 280 /** 281 * Number of view counts increased on this page 282 * @var integer 283 */ 284 $view_counts_on_this_page = 0; 285 286 $francois_links = array( 'fr' => array( 'http://fplanque.net/', array( array( 78, 'François'), array( 100, 'Francois') ) ), 287 '' => array( 'http://fplanque.com/', array( array( 78, 'François'), array( 100, 'Francois') ) ) 288 ); 289 290 $fplanque_links = array( 'fr' => array( 'http://fplanque.net/', array( array( 78, 'François Planque'), array( 100, 'Francois Planque') ) ), 291 '' => array( 'http://fplanque.com/', array( array( 78, 'François Planque'), array( 100, 'Francois Planque') ) ) 292 ); 293 294 $skin_links = array( '' => array( 'http://skinfaktory.com/', array( array( 15, 'b2evo skin'), array( 20, 'b2evo skins'), array( 35, 'b2evolution skin'), array( 40, 'b2evolution skins'), array( 55, 'Blog skin'), array( 60, 'Blog skins'), array( 75, 'Blog theme'),array( 80, 'Blog themes'), array( 95, 'Blog template'), array( 100, 'Blog templates') ) ), 295 ); 296 297 $skinfaktory_links = array( '' => array( array( 73, 'http://evofactory.com/', array( array( 61, 'Evo Factory'), array( 68, 'EvoFactory'), array( 73, 'Evofactory') ) ), 298 array( 100, 'http://skinfaktory.com/', array( array( 92, 'Skin Faktory'), array( 97, 'SkinFaktory'), array( 99, 'Skin Factory'), array( 100, 'SkinFactory') ) ), 299 ) 300 ); 301 302 /* 303 * $Log: _vars.inc.php,v $ 304 * Revision 1.22 2007/11/02 02:43:04 fplanque 305 * refactored blog settings / UI 306 * 307 * Revision 1.21 2007/10/10 18:03:52 fplanque 308 * i18n 309 * 310 * Revision 1.20 2007/09/08 18:38:08 fplanque 311 * MFB 312 * 313 * Revision 1.19 2007/06/25 10:58:51 fplanque 314 * MODULES (refactored MVC) 315 * 316 * Revision 1.18 2007/06/24 15:43:33 personman2 317 * Reworking the process for a skin or plugin to add js and css files to a blog display. Removed the custom header for nifty_corners. 318 * 319 * Revision 1.17 2007/05/02 20:39:27 fplanque 320 * meta robots handling 321 * 322 * Revision 1.16 2007/04/26 00:11:05 fplanque 323 * (c) 2007 324 * 325 * Revision 1.15 2007/04/25 18:47:41 fplanque 326 * MFB 1.10: groovy links 327 * 328 * Revision 1.14 2007/03/11 23:57:07 fplanque 329 * item editing: allow setting to 'redirected' status 330 * 331 * Revision 1.13 2007/03/05 04:49:17 fplanque 332 * better precision for viewcounts 333 * 334 * Revision 1.12 2007/01/26 04:52:53 fplanque 335 * clean comment popups (skins 2.0) 336 * 337 * Revision 1.11 2006/11/24 18:27:22 blueyed 338 * Fixed link to b2evo CVS browsing interface in file docblocks 339 * 340 * Revision 1.10 2006/11/13 13:45:23 blueyed 341 */ 342 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
| Généré le : Thu Nov 29 23:58:50 2007 | par Balluche grâce à PHPXref 0.7 |
|