summaryrefslogtreecommitdiff
path: root/smarty/block.ckeditor.php
diff options
context:
space:
mode:
Diffstat (limited to 'smarty/block.ckeditor.php')
-rw-r--r--smarty/block.ckeditor.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/smarty/block.ckeditor.php b/smarty/block.ckeditor.php
index f3a028e..9ef99aa 100644
--- a/smarty/block.ckeditor.php
+++ b/smarty/block.ckeditor.php
@@ -37,8 +37,8 @@ function smarty_block_ckeditor($params, $content, &$smarty)
$smarty->trigger_error('ckeditor: required parameter "name" missing');
}
- static $base_arguments = array();
- static $config_arguments = array();
+ static $base_arguments = [];
+ static $config_arguments = [];
// Test if editor has been loaded before
if(!count($base_arguments)) $init = TRUE;
@@ -79,7 +79,7 @@ function smarty_block_ckeditor($params, $content, &$smarty)
if($init)
{
- $out .= '<script type="text/javascript" src="' . $base_arguments['BasePath'] . 'ckeditor.js"></script>';
+ $out .= '<script src="' . $base_arguments['BasePath'] . 'ckeditor.js"></script>';
}
$out .= "\n<script type=\"text/javascript\">\n";