diff options
| author | lsces <lester@lsces.co.uk> | 2026-04-16 10:59:08 +0100 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2026-04-16 10:59:08 +0100 |
| commit | 77934a4f2018a6f083c0ca8de0bd6dfe64934610 (patch) | |
| tree | 3d90d81144f038985fbc4f0fe0b81234956eedd2 /admin | |
| parent | 3d13d497b77227f4659b0a9fbab3c742574ce88f (diff) | |
| download | ckeditor-77934a4f2018a6f083c0ca8de0bd6dfe64934610.tar.gz ckeditor-77934a4f2018a6f083c0ca8de0bd6dfe64934610.tar.bz2 ckeditor-77934a4f2018a6f083c0ca8de0bd6dfe64934610.zip | |
PHP8.4 style tweaks
Diffstat (limited to 'admin')
| -rwxr-xr-x[-rw-r--r--] | admin/admin_ckeditor_inc.php | 2 | ||||
| -rwxr-xr-x[-rw-r--r--] | admin/schema_inc.php | 14 |
2 files changed, 7 insertions, 9 deletions
diff --git a/admin/admin_ckeditor_inc.php b/admin/admin_ckeditor_inc.php index cfecafb..1008c32 100644..100755 --- a/admin/admin_ckeditor_inc.php +++ b/admin/admin_ckeditor_inc.php @@ -42,7 +42,7 @@ $formSkin = array( 'ckedit_skin' => array( ) ); $gBitSmarty->assign( 'formSkin', $formSkin ); -$skins = array_flip( scandir( CKEDITOR_PKG_PATH.'ckeditor/skins/' ) ); +$skins = array_flip( scandir( CKEDITOR_PKG_PATH.'skins/' ) ); foreach( array( '.', '..' ) as $dir ) { if( isset( $skins[$dir] ) ) { unset( $skins[$dir] ); diff --git a/admin/schema_inc.php b/admin/schema_inc.php index 67358a5..7ebca97 100644..100755 --- a/admin/schema_inc.php +++ b/admin/schema_inc.php @@ -1,15 +1,13 @@ <?php global $gBitInstaller; -$gBitInstaller->registerPackageInfo( CKEDITOR_PKG_NAME, array( +$gBitInstaller->registerPackageInfo( CKEDITOR_PKG_NAME, [ 'description' => "CKEditor is a 'What You See Is What You Get' textarea HTML editor. It works with IE 5.5+, Firefox 1.0+, Mozilla 1.3+, and Netscape 7+. ", 'license' => '<a href="http://www.gnu.org/licenses/licenses.html#LGPL">LGPL</a>', 'important' => 'When using this WYSIWYG editor, we recommend that you either use HTML as the only content format or use TikiWiki with the option <kbd>allow HTML</kbd> enabled (formats are set in Administration --> Liberty --> Liberty plugins). It <em>can not</em> be used with competing editor TinyMCE active, and it is largely incompatible with the package Quicktags.', 'version' => '3.1+', -) ); +] ); -$gBitInstaller->registerPreferences( CKEDITOR_PKG_NAME, array( - array(CKEDITOR_PKG_NAME,'ckedit_debug','n'), - array(CKEDITOR_PKG_NAME,'ckedit_toolbars', 'Basic'), -) ); - -?> +$gBitInstaller->registerPreferences( CKEDITOR_PKG_NAME, [ + [ CKEDITOR_PKG_NAME,'ckedit_debug','n'], + [ CKEDITOR_PKG_NAME,'ckedit_toolbars', 'Basic'], +] ); |
