Changeset 613487
- Timestamp:
- 10/17/2012 04:10:08 AM (13 years ago)
- File:
-
- 1 edited
-
globalfeed/trunk/mb_globalfeed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
globalfeed/trunk/mb_globalfeed.php
r612743 r613487 1601 1601 1602 1602 if ( in_array('url', $types) ) { 1603 $pattern = '/[^\'"](ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:\.\?+=&%@!\-\/]))?([^à ¢â‚¬Å“�«»„])[^\'"]/u';1603 $pattern = '/[^\'"](ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:\.\?+=&%@!\-\/]))?([^“�«»„])[^\'"]/u'; 1604 1604 $text = implode(' ',preg_replace_callback( $pattern, array( &$this, '_replace_link_callback'), explode(' ', $text))); 1605 1605 } … … 1785 1785 if($day_diff < 4) return date('l', $ts); 1786 1786 if($day_diff < 7 + (7 - date('w'))) return __('next week', 'mb_globalfeed'); 1787 if(ceil($day_diff / 7) < 4) return sprintf(__('in %d weeks', ceil($day_diff / 7)));1787 if(ceil($day_diff / 7) < 4) return sprintf(__('in %d weeks', 'mb_globalfeed'), ceil($day_diff / 7)); 1788 1788 if(date('n', $ts) == date('n') + 1) return __('next month', 'mb_globalfeed'); 1789 1789 return date('F Y', $ts);
Note: See TracChangeset
for help on using the changeset viewer.