From 525a3ced367b0bbbc89214e380c67f3e9eae67a6 Mon Sep 17 00:00:00 2001 From: helmuth-tschenett Date: Thu, 5 Mar 2020 15:07:54 +0100 Subject: [PATCH] Update input.inc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Das Add-On zum Redactor Editor heißt nicht "rex_redactor2" sondern nur "redactor2". --- lib/module/0010_text_bild_video_link/input.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/module/0010_text_bild_video_link/input.inc b/lib/module/0010_text_bild_video_link/input.inc index 1946154..035e35c 100644 --- a/lib/module/0010_text_bild_video_link/input.inc +++ b/lib/module/0010_text_bild_video_link/input.inc @@ -8,7 +8,7 @@ $anzeige_download = 1;//download $ausgabeform = ''; -if(!rex_addon::get('markitup')->isAvailable() && !rex_addon::get('rex_redactor2')->isAvailable()) { +if(!rex_addon::get('markitup')->isAvailable() && !rex_addon::get('redactor2')->isAvailable()) { echo rex_view::error('Dieses Modul benötigt das "MarkItUp" oder das "Redactor 2" Addon!'); } @@ -16,8 +16,8 @@ if (rex_addon::get('markitup')->isAvailable() && !markitup::profileExists('simpl markitup::insertProfile('simple', 'Angelegt durch das Addon Modulsammlung', 'textile', 300, 800, 'relative', 'bold,italic,underline,deleted,quote,sub,sup,code,unorderedlist,grouplink[internal|external|mailto]'); } -if (rex_addon::get('rex_redactor2')->isAvailable() && !rex_redactor2::profileExists('simple')) { - rex_redactor2::insertProfile('simple', 'Angelegt durch das Addon Modulsammlung', '300', '800', 'relative','bold, italic, underline, deleted, sub, sup, unorderedlist, orderedlist, grouplink[email|external|internal|media], cleaner'); +if (rex_addon::get('redactor2')->isAvailable() && !redactor2::profileExists('simple')) { + redactor2::insertProfile('simple', 'Angelegt durch das Addon Modulsammlung', '300', '800', 'relative','bold, italic, underline, deleted, sub, sup, unorderedlist, orderedlist, grouplink[email|external|internal|media], cleaner'); } $values = ''; @@ -194,7 +194,7 @@ echo '
'; - if (rex_addon::get('rex_redactor2')->isAvailable()) { + if (rex_addon::get('redactor2')->isAvailable()) { echo ' '; } else { echo ' ';