mirror of
https://github.com/e107inc/e107.git
synced 2025-08-25 23:36:29 +02:00
Regex fixes and path fix for TinyMce.
This commit is contained in:
@@ -125,7 +125,6 @@ class _blank_dashboard // include plugin-folder in the name.
|
||||
|
||||
function status() // Status Panel in the admin area
|
||||
{
|
||||
|
||||
$var[0]['icon'] = "<img src='".e_PLUGIN."_blank/images/blank_16.png' alt='' />";
|
||||
$var[0]['title'] = "My Title";
|
||||
$var[0]['url'] = e_PLUGIN_ABS."_blank/_blank.php";
|
||||
|
@@ -858,6 +858,10 @@ class wysiwyg
|
||||
$pathAn .= '/';
|
||||
$pathAn .= e107::getLibrary()->getProperty('animate.css', 'path'); // sub-folder
|
||||
|
||||
$pathAn = $tp->replaceConstants($pathAn, 'abs');
|
||||
$pathFA = $tp->replaceConstants($pathFA, 'abs');
|
||||
$pathBS = $tp->replaceConstants($pathBS, 'abs');
|
||||
|
||||
$editorCSS = array(
|
||||
0 => $pathBS . '/css/bootstrap.min.css',
|
||||
1 => $pathFA . '/css/font-awesome.min.css',
|
||||
@@ -868,7 +872,7 @@ class wysiwyg
|
||||
|
||||
// file_put_contents(e_LOG."wysiwyg.log", print_r($editorCSS,true));
|
||||
|
||||
// $editorCSS = $tp->replaceConstants($editorCSS, 'abs');
|
||||
// $editorCSS = $tp->replaceConstants($editorCSS, 'abs');
|
||||
|
||||
$ret['content_css'] = json_encode($editorCSS);
|
||||
$ret['content_style'] = "div.clearfix { border-top:1px solid red } ";
|
||||
|
Reference in New Issue
Block a user