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:
@@ -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">
|
||||
|
Reference in New Issue
Block a user