diff options
| author | 2013-06-15 11:02:58 +0200 | |
|---|---|---|
| committer | 2013-06-15 11:02:58 +0200 | |
| commit | 0ff751b443604ccb8cd0eb69050f59298c98a492 (patch) | |
| tree | c0a66c2a75d8a3c619f0b35c1504a98b13167dc4 /app/views/index/index.phtml | |
| parent | fb5e5594bea149ca730bc6424dc547dab3347747 (diff) | |
Lazyload facultatif (issue #75 ok)
Diffstat (limited to 'app/views/index/index.phtml')
| -rw-r--r-- | app/views/index/index.phtml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/views/index/index.phtml b/app/views/index/index.phtml index 7037b2405..1a07cdb46 100644 --- a/app/views/index/index.phtml +++ b/app/views/index/index.phtml @@ -66,7 +66,13 @@ if ($output == 'rss') { <h1 class="title"><?php echo $item->title (); ?></h1> <?php $author = $item->author (); ?> <?php echo $author != '' ? '<div class="author">' . Translate::t ('by_author', $author) . '</div>' : ''; ?> - <?php echo lazyimg($item->content ()); ?> + <?php + if($this->conf->lazyload() == 'yes') { + echo lazyimg($item->content ()); + } else { + echo $item->content(); + } + ?> </div> <ul class="horizontal-list bottom"> |
