mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-22 07:17:24 -04:00
Fin fusion 0.7-dev
This commit is contained in:
@@ -5,8 +5,8 @@ Il se veut léger et facile à prendre en main tout en étant un outil puissant
|
||||
* Site officiel : http://marienfressinaud.github.io/FreshRSS/
|
||||
* Démo : http://marienfressinaud.fr/projets/freshrss/
|
||||
* Développeur : Marien Fressinaud <dev@marienfressinaud.fr>
|
||||
* Version actuelle : 0.7-dev
|
||||
* Date de publication 2013-12-xx
|
||||
* Version actuelle : 0.7-beta
|
||||
* Date de publication 2014-01-xx
|
||||
* License [GNU AGPL 3](http://www.gnu.org/licenses/agpl-3.0.html)
|
||||
|
||||

|
||||
|
||||
@@ -309,16 +309,3 @@ function uSecString() {
|
||||
function invalidateHttpCache() {
|
||||
file_put_contents(DATA_PATH . '/touch.txt', uTimeString());
|
||||
}
|
||||
|
||||
/**
|
||||
* Add support of image lazy loading
|
||||
* Move content from src attribute to data-original
|
||||
* @param content is the text we want to parse
|
||||
*/
|
||||
function lazyimg($content) {
|
||||
return preg_replace(
|
||||
'/<img([^<]+)src=([\'"])([^"\']*)([\'"])([^<]*)>/i',
|
||||
'<img$1src="' . Url::display('/data/grey.gif') . '" data-original="$3"$5>',
|
||||
$content
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user