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:
@@ -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>';
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user