Dotclear


Ignore:
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • .hgtags

    r1219 r1351  
    1313514d5121a12586b7ff320924d44028b677a01020 2.4.4 
    1414baf879af43beea9764d920c2facd7226e90c5cf3 2.5.1 
     15cfad9f2a9f6ec03206ff5db91985208e833a7528 2.5.2 
  • CHANGELOG

    r1216 r1350  
     1Dotclear 2.5.2 - 2013-08-14 
     2=========================================================== 
     3* Security fix: Fixed potential XSS 
     4* Bugfix: l10n Clearbricks library 
     5* <tpl:LoopPosition> now works <tpl:Attachments> 
     6* Dotclear update check may now be forced (ignoring cache) 
     7* Enforce integration of daInstaller plugin 
     8* Tags link button is now available on page editor 
     9* Default cache age is now 1 week instead of 2 hours 
     10* Quick entry dashboard module is not activated by default on new installation 
     11* New template {{tpl:BlogParentThemeURL}} (return URL of parent theme of blog's theme if any, URL of blog's theme otherwise) 
     12* Fix post comments number on comments deletion 
     13* Fix order of backup files 
     14* Minor enhancements 
     15* Various bug fixes 
     16* Various cosmetic adjustments 
     17 
    118Dotclear 2.5.1 - 2013-07-20 
    219=========================================================== 
  • admin/js/_users_actions.js

    r935 r1362  
    3030                     
    3131                    if (perm == 'admin' && !E.disabled) { 
     32                         perms[blog]['usage'].checked = E.checked; 
     33                         perms[blog]['publish'].checked = E.checked; 
     34                         perms[blog]['delete'].checked = E.checked; 
     35                         perms[blog]['contentadmin'].checked = E.checked; 
     36                         perms[blog]['categories'].checked = E.checked; 
     37                         perms[blog]['media'].checked = E.checked; 
     38                         perms[blog]['media_admin'].checked = E.checked; 
    3239                         perms[blog]['usage'].disabled = E.checked; 
    3340                         perms[blog]['publish'].disabled = E.checked; 
  • admin/posts_actions.php

    r1179 r1345  
    1616 
    1717$params = array(); 
     18$action = ''; 
    1819 
    1920/* Actions 
  • inc/admin/lib.pager.php

    r1179 r1364  
    8787               html::escapeHTML($this->rs->cat_title)); 
    8888          } else { 
    89                $cat_title = __('None'); 
     89               $cat_title = __('(No cat)'); 
    9090          } 
    9191           
  • inc/prepend.php

    r1233 r1352  
    123123# Constants 
    124124define('DC_ROOT',path::real(dirname(__FILE__).'/..')); 
    125 define('DC_VERSION','2.5.2-dev'); 
     125define('DC_VERSION','2.5.3-dev'); 
    126126define('DC_DIGESTS',dirname(__FILE__).'/digests'); 
    127127define('DC_L10N_ROOT',dirname(__FILE__).'/../locales'); 
  • locales/en/main.po

    r1256 r1364  
    27902790msgid "The following error was encountered while trying to read the database:" 
    27912791msgstr "" 
     2792 
     2793msgid "(No cat)" 
     2794msgstr "(none)" 
  • locales/fr/main.po

    r1288 r1364  
    29402940msgid "Invalid publication date" 
    29412941msgstr "Date de publication invalide" 
     2942 
     2943msgid "(No cat)" 
     2944msgstr "(aucune)" 
  • plugins/antispam/filters/class.dc.filter.iplookup.php

    r1179 r1361  
    4444          } 
    4545 
    46           $match = array(); 
    47  
    4846          $bls = $this->getServers(); 
    4947          $bls = preg_split('/\s*,\s*/',$bls); 
    5048 
    51           foreach ($bls as $bl) 
    52           { 
     49          foreach ($bls as $bl) { 
    5350               if ($this->dnsblLookup($ip,$bl)) { 
    54                     $match[] = $bl; 
     51                    // Pass by reference $status to contain matching DNSBL 
     52                    $status = $bl; 
     53                    return true; 
    5554               } 
    56           } 
    57  
    58           if (!empty($match)) { 
    59                $status = substr(implode(', ',$match),0,128); 
    60                return true; 
    6155          } 
    6256     } 
  • plugins/antispam/filters/class.dc.filter.linkslookup.php

    r1179 r1366  
    6464     private function getLinks($text) 
    6565     { 
    66           $res = array(); 
    67            
    68           # href attribute on "a" tags 
    69           if (preg_match_all('/<a ([^>]+)>/ms', $text, $match, PREG_SET_ORDER)) 
    70           { 
    71                for ($i = 0; $i<count($match); $i++) 
    72                { 
    73                     if (preg_match('/href="(http:\/\/[^"]+)"/ms', $match[$i][1], $matches)) { 
    74                          $res[] = $matches[1]; 
    75                     } 
    76                } 
    77           } 
    78            
    79           return $res; 
     66          // href attribute on "a" tags is second match 
     67          preg_match_all('|<a.*?href="(http.*?)"|', $text, $parts); 
     68 
     69          return $parts[1]; 
    8070     } 
    8171} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map