mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 22:27:34 +02:00
@@ -2,26 +2,14 @@
|
|||||||
/*
|
/*
|
||||||
* e107 website system
|
* e107 website system
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008-2011 e107 Inc (e107.org)
|
* Copyright (C) 2008-2016 e107 Inc (e107.org)
|
||||||
* Released under the terms and conditions of the
|
* Released under the terms and conditions of the
|
||||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||||
*
|
*
|
||||||
* Text processing and parsing functions
|
* Text processing and parsing functions
|
||||||
*
|
*
|
||||||
* $URL$
|
|
||||||
* $Id$
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
* @package e107
|
|
||||||
* @subpackage e107_handlers
|
|
||||||
* @version $Id$
|
|
||||||
*
|
|
||||||
* Text processing and parsing functions.
|
|
||||||
* Simple parse data model.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (!defined('e107_INIT')) { exit(); }
|
if (!defined('e107_INIT')) { exit(); }
|
||||||
|
|
||||||
// Directory for the hard-coded utf-8 handling routines
|
// Directory for the hard-coded utf-8 handling routines
|
||||||
@@ -4096,8 +4084,8 @@ class e_parser
|
|||||||
e107::getFile()->getRemoteFile($thumbSrc, $filename,'media');
|
e107::getFile()->getRemoteFile($thumbSrc, $filename,'media');
|
||||||
}
|
}
|
||||||
|
|
||||||
return "<a href='".$url."'><img class='video-responsive video-thumbnail' src='{e_MEDIA}".$filename."' alt='Youtube Video' title='Click to view on Youtube' />
|
return "<a href='".$url."'><img class='video-responsive video-thumbnail' src='{e_MEDIA}".$filename."' alt='".LAN_YOUTUBE_VIDEO."' title='".LAN_CLICK_TO_VIEW."' />
|
||||||
<div class='video-thumbnail-caption'><small>Click to watch video</small></div></a>";
|
<div class='video-thumbnail-caption'><small>".LAN_CLICK_TO_VIEW."</small></div></a>";
|
||||||
}
|
}
|
||||||
|
|
||||||
if($thumb == 'src')
|
if($thumb == 'src')
|
||||||
@@ -4127,7 +4115,7 @@ class e_parser
|
|||||||
{
|
{
|
||||||
$thumbSrc = e_IMAGE_ABS."generic/playlist_120.png";
|
$thumbSrc = e_IMAGE_ABS."generic/playlist_120.png";
|
||||||
}
|
}
|
||||||
return "<img class='img-responsive' src='".$thumbSrc."' alt='Youtube Video Playlist' style='width:".vartrue($parm['w'],'80')."px'/>";
|
return "<img class='img-responsive' src='".$thumbSrc."' alt='".LAN_YOUTUBE_PLAYLIST."' style='width:".vartrue($parm['w'],'80')."px'/>";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -99,6 +99,8 @@ define("LAN_INCORRECT_PASSWORD", "Incorrect Password");
|
|||||||
define("LAN_TYPE", "Type");
|
define("LAN_TYPE", "Type");
|
||||||
define("LAN_SCREENSHOT", "Screenshot");
|
define("LAN_SCREENSHOT", "Screenshot");
|
||||||
define("LAN_FILE", "File");
|
define("LAN_FILE", "File");
|
||||||
|
define("LAN_YOUTUBE_VIDEO", "Youtube Video");
|
||||||
|
define("LAN_YOUTUBE_PLAYLIST", "Youtube Playlist");
|
||||||
define("LAN_FILETYPES", "Filetypes");
|
define("LAN_FILETYPES", "Filetypes");
|
||||||
define("LAN_FILE_NOT_FOUND", "File Not Found");
|
define("LAN_FILE_NOT_FOUND", "File Not Found");
|
||||||
define("LAN_FILES","Files");
|
define("LAN_FILES","Files");
|
||||||
|
Reference in New Issue
Block a user