1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

HTML5 validation fixes.

This commit is contained in:
Cameron
2015-04-09 01:39:37 -07:00
parent 4c7c3dfd47
commit 1df3d1a2b0
4 changed files with 22 additions and 7 deletions

View File

@@ -5183,6 +5183,11 @@ class e_admin_ui extends e_admin_controller_ui
{
}
public function renderHelp()
{
}
/**
* Create - send JS to page Header
* @return none

View File

@@ -3156,7 +3156,7 @@ class e_parser
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>';
}

View File

@@ -65,9 +65,13 @@ function tablestyle($caption, $text, $id='', $info=array())
if($style == 'jumbotron')
{
echo '<div class="jumbotron">
<div class="container">
<h1>'.$caption.'</h1>
<p>'.$text.'</p>
<div class="container">';
if(!empty($caption))
{
echo '<h1>'.$caption.'</h1>';
}
echo '
'.$text.'
</div>
</div>';
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')
{
echo ' <div class="col-xs-12 '.$style.'">
<h2>'.$caption.'</h2>
echo ' <div class="col-xs-12 '.$style.'">';
if(!empty($caption))
{
echo '<h2>'.$caption.'</h2>';
}
echo '
'.$text.'
</div>';
return;

View File

@@ -87,7 +87,7 @@ class theme_shortcodes extends e_shortcode
if(!USERID) // Logged Out.
{
$text = '
<ul class="nav navbar-nav navbar-right'.$direction.'"">';
<ul class="nav navbar-nav navbar-right'.$direction.'">';
if($userReg==1)
{