1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

Bootstrap dialog warning added.

This commit is contained in:
Cameron
2013-03-19 04:33:35 -07:00
parent ff756111ae
commit c93a6b926e
2 changed files with 12 additions and 13 deletions

View File

@@ -131,10 +131,10 @@ class e_bootstrap
$text = "<div class='alert alert-warning'>Warning: These will only work if you have a bootstrap-based theme installed</div>";
$text = '
$text .= '
<ul class="nav nav-tabs">';
$text .= '<li class="active" ><a href="#mbuttons" data-toggle="tab">Buttons</a></li>';

View File

@@ -41,7 +41,7 @@ if($_POST['mode'] == 'tohtml')
e107::getBB()->clearClass();
$content = str_replace('\r\n',"<br />",$content);
$content = nl2br($content, true); // replace any that were missed.
$content = nl2br($content, true);
$content = $tp->toHtml($content, true);
}
@@ -76,7 +76,6 @@ if($_POST['mode'] == 'tobbcode')
{
$srch = array('src="'.e_HTTP.'thumb.php?','src="/{e_MEDIA_IMAGE}');
$repl = array('src="{e_BASE}thumb.php?','src="{e_BASE}thumb.php?src=e_MEDIA_IMAGE/');
$content = str_replace($srch, $repl, $content);
// resize the thumbnail to match wysiwyg width/height.