mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 12:21:45 +02:00
Media-Manager Youtube browser added.
This commit is contained in:
@@ -210,8 +210,14 @@ class cpage_shortcodes extends e_shortcode
|
||||
|
||||
function sc_cmenuimage($parm='')
|
||||
{
|
||||
// print_a($this);
|
||||
$img = e107::getParser()->thumbUrl($this->page['menu_image']);
|
||||
$tp = e107::getParser();
|
||||
|
||||
if($video = $tp->toVideo($this->page['menu_image']))
|
||||
{
|
||||
return $video;
|
||||
}
|
||||
|
||||
$img = $tp->thumbUrl($this->page['menu_image']);
|
||||
if($parm == 'url')
|
||||
{
|
||||
return $img;
|
||||
|
Reference in New Issue
Block a user