1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 17:50:12 +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:
Cameron
2014-01-31 01:09:24 -08:00
parent 19b5dd8614
commit cc07dac897
8 changed files with 100 additions and 46 deletions

View File

@@ -28,6 +28,7 @@ function tablestyle($caption, $text, $mode='')
{
global $style;
echo "<!-- tablestyle: style=".$style." mode=".$mode." -->\n\n";
$type = $style;
if(empty($caption))
@@ -180,8 +181,9 @@ $LAYOUT['modern_business_home'] = <<<TMPL
<div class="container">
{ALERTS}
<!-- Start Menu 1 -->
{MENU=1}
<!-- End Menu 1 -->
</div>
<div class="section">