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 '