Dotclear


Ignore:
Location:
inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inc/prepend.php

    r3474 r3480  
    144144# Constants 
    145145define('DC_ROOT',path::real(dirname(__FILE__).'/..')); 
    146 define('DC_VERSION','2.11.1'); 
     146define('DC_VERSION','2.12-dev'); 
    147147define('DC_DIGESTS',dirname(__FILE__).'/digests'); 
    148148define('DC_L10N_ROOT',dirname(__FILE__).'/../locales'); 
  • inc/public/class.dc.template.php

    r3461 r3479  
    29302930 
    29312931          if (isset($attr['blog_lang'])) { 
    2932                $if[] = "\$core->blog->settings->system->lang == '".addslashes($attr['blog_lang'])."'"; 
     2932               $sign = (boolean) $attr['blog_lang'] ? '!' : '='; 
     2933               $if[] = "\$core->blog->settings->system->lang ".$sign."= '".addslashes($attr['blog_lang'])."'"; 
    29332934          } 
    29342935 
Note: See TracChangeset for help on using the changeset viewer.

Sites map