mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
HTML5 validation fixes.
This commit is contained in:
@@ -5183,6 +5183,11 @@ class e_admin_ui extends e_admin_controller_ui
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function renderHelp()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create - send JS to page Header
|
* Create - send JS to page Header
|
||||||
* @return none
|
* @return none
|
||||||
|
@@ -3156,7 +3156,7 @@ class e_parser
|
|||||||
return e107::getMedia()->getThumb($id);
|
return e107::getMedia()->getThumb($id);
|
||||||
}
|
}
|
||||||
|
|
||||||
$video = '<iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list='.$id.'" frameborder="0" allowfullscreen></iframe>';
|
$video = '<iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list='.$id.'" style="border:0" allowfullscreen></iframe>';
|
||||||
return '<div class="video-responsive '.vartrue($parm['class']).'">'.$video.'</div>';
|
return '<div class="video-responsive '.vartrue($parm['class']).'">'.$video.'</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -65,9 +65,13 @@ function tablestyle($caption, $text, $id='', $info=array())
|
|||||||
if($style == 'jumbotron')
|
if($style == 'jumbotron')
|
||||||
{
|
{
|
||||||
echo '<div class="jumbotron">
|
echo '<div class="jumbotron">
|
||||||
<div class="container">
|
<div class="container">';
|
||||||
<h1>'.$caption.'</h1>
|
if(!empty($caption))
|
||||||
<p>'.$text.'</p>
|
{
|
||||||
|
echo '<h1>'.$caption.'</h1>';
|
||||||
|
}
|
||||||
|
echo '
|
||||||
|
'.$text.'
|
||||||
</div>
|
</div>
|
||||||
</div>';
|
</div>';
|
||||||
return;
|
return;
|
||||||
@@ -75,8 +79,14 @@ function tablestyle($caption, $text, $id='', $info=array())
|
|||||||
|
|
||||||
if($style == 'col-md-4' || $style == 'col-md-6' || $style == 'col-md-8')
|
if($style == 'col-md-4' || $style == 'col-md-6' || $style == 'col-md-8')
|
||||||
{
|
{
|
||||||
echo ' <div class="col-xs-12 '.$style.'">
|
echo ' <div class="col-xs-12 '.$style.'">';
|
||||||
<h2>'.$caption.'</h2>
|
|
||||||
|
if(!empty($caption))
|
||||||
|
{
|
||||||
|
echo '<h2>'.$caption.'</h2>';
|
||||||
|
}
|
||||||
|
|
||||||
|
echo '
|
||||||
'.$text.'
|
'.$text.'
|
||||||
</div>';
|
</div>';
|
||||||
return;
|
return;
|
||||||
|
@@ -87,7 +87,7 @@ class theme_shortcodes extends e_shortcode
|
|||||||
if(!USERID) // Logged Out.
|
if(!USERID) // Logged Out.
|
||||||
{
|
{
|
||||||
$text = '
|
$text = '
|
||||||
<ul class="nav navbar-nav navbar-right'.$direction.'"">';
|
<ul class="nav navbar-nav navbar-right'.$direction.'">';
|
||||||
|
|
||||||
if($userReg==1)
|
if($userReg==1)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user