mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
@@ -2,26 +2,14 @@
|
||||
/*
|
||||
* 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
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
* 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(); }
|
||||
|
||||
// Directory for the hard-coded utf-8 handling routines
|
||||
@@ -4096,8 +4084,8 @@ class e_parser
|
||||
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' />
|
||||
<div class='video-thumbnail-caption'><small>Click to watch video</small></div></a>";
|
||||
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>".LAN_CLICK_TO_VIEW."</small></div></a>";
|
||||
}
|
||||
|
||||
if($thumb == 'src')
|
||||
@@ -4127,7 +4115,7 @@ class e_parser
|
||||
{
|
||||
$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_SCREENSHOT", "Screenshot");
|
||||
define("LAN_FILE", "File");
|
||||
define("LAN_YOUTUBE_VIDEO", "Youtube Video");
|
||||
define("LAN_YOUTUBE_PLAYLIST", "Youtube Playlist");
|
||||
define("LAN_FILETYPES", "Filetypes");
|
||||
define("LAN_FILE_NOT_FOUND", "File Not Found");
|
||||
define("LAN_FILES","Files");
|
||||
|
Reference in New Issue
Block a user