mirror of
https://github.com/e107inc/e107.git
synced 2025-09-02 02:42:40 +02:00
Basic support for news videos.
Add {NEWSVIDEO} to your news template to take advantage of it and {NEWSTHUMBNAIL} for a thumbnail image of the video. (or image) {NEWSIMAGE} will return nothing for videos, only for images.
This commit is contained in:
@@ -31,7 +31,7 @@ $NEWS_TEMPLATE['list']['item'] = '
|
||||
<div class="row row-fluid">
|
||||
<div class="span3 col-md-3">
|
||||
<div class="thumbnail">
|
||||
{NEWSIMAGE=placeholder}
|
||||
{NEWSTHUMBNAIL=placeholder}
|
||||
</div>
|
||||
</div>
|
||||
<div class="span9 col-md-9">
|
||||
@@ -93,6 +93,7 @@ $NEWS_TEMPLATE['default']['item'] = '
|
||||
|
||||
<hr>
|
||||
<p class="lead">{NEWSSUMMARY}</p>
|
||||
{NEWSVIDEO}
|
||||
{NEWSBODY}
|
||||
<hr>
|
||||
<div class="options">
|
||||
@@ -126,6 +127,7 @@ $NEWS_TEMPLATE['view']['item'] = '
|
||||
<hr>
|
||||
|
||||
<div class="body">
|
||||
{NEWSVIDEO}
|
||||
{NEWSBODY}
|
||||
{EXTENDED}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user