Changes in [1372:2217126c53a5:1373:eca0ffa617ed]
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
.hgtags
r1219 r1351 13 13 514d5121a12586b7ff320924d44028b677a01020 2.4.4 14 14 baf879af43beea9764d920c2facd7226e90c5cf3 2.5.1 15 cfad9f2a9f6ec03206ff5db91985208e833a7528 2.5.2 -
CHANGELOG
r1216 r1350 1 Dotclear 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 1 18 Dotclear 2.5.1 - 2013-07-20 2 19 =========================================================== -
admin/js/_users_actions.js
r935 r1362 30 30 31 31 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; 32 39 perms[blog]['usage'].disabled = E.checked; 33 40 perms[blog]['publish'].disabled = E.checked; -
admin/posts_actions.php
r1179 r1345 16 16 17 17 $params = array(); 18 $action = ''; 18 19 19 20 /* Actions -
inc/admin/lib.pager.php
r1179 r1364 87 87 html::escapeHTML($this->rs->cat_title)); 88 88 } else { 89 $cat_title = __(' None');89 $cat_title = __('(No cat)'); 90 90 } 91 91 -
inc/prepend.php
r1233 r1352 123 123 # Constants 124 124 define('DC_ROOT',path::real(dirname(__FILE__).'/..')); 125 define('DC_VERSION','2.5. 2-dev');125 define('DC_VERSION','2.5.3-dev'); 126 126 define('DC_DIGESTS',dirname(__FILE__).'/digests'); 127 127 define('DC_L10N_ROOT',dirname(__FILE__).'/../locales'); -
locales/en/main.po
r1256 r1364 2790 2790 msgid "The following error was encountered while trying to read the database:" 2791 2791 msgstr "" 2792 2793 msgid "(No cat)" 2794 msgstr "(none)" -
locales/fr/main.po
r1288 r1364 2940 2940 msgid "Invalid publication date" 2941 2941 msgstr "Date de publication invalide" 2942 2943 msgid "(No cat)" 2944 msgstr "(aucune)" -
plugins/antispam/filters/class.dc.filter.iplookup.php
r1179 r1361 44 44 } 45 45 46 $match = array();47 48 46 $bls = $this->getServers(); 49 47 $bls = preg_split('/\s*,\s*/',$bls); 50 48 51 foreach ($bls as $bl) 52 { 49 foreach ($bls as $bl) { 53 50 if ($this->dnsblLookup($ip,$bl)) { 54 $match[] = $bl; 51 // Pass by reference $status to contain matching DNSBL 52 $status = $bl; 53 return true; 55 54 } 56 }57 58 if (!empty($match)) {59 $status = substr(implode(', ',$match),0,128);60 return true;61 55 } 62 56 } -
plugins/antispam/filters/class.dc.filter.linkslookup.php
r1179 r1366 64 64 private function getLinks($text) 65 65 { 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]; 80 70 } 81 71 }
Note: See TracChangeset
for help on using the changeset viewer.