<?php echo rex_view::title('yform'); $fragment = new rex_fragment(); $fragment->setVar('class', 'info'); $fragment->setVar('title', rex_i18n::msg('yform_description_title'), false); $fragment->setVar('body', rex_i18n::rawMsg('yform_description_all', false) . rex_yform::showHelp(true, true), false); echo $fragment->parse('core/page/section.php');
$mi->update(); echo rex_view::success('Modul "' . $module_name . '" wurde aktualisiert'); } else { $mi->setValue('name', $yform_module_name); $mi->insert(); $module_id = (int) $mi->getLastId(); $module_name = $yform_module_name; echo rex_view::success('yform Modul wurde angelegt unter "' . $yform_module_name . '"'); } } $content .= '<p>' . $this->i18n('install_modul_description') . '<br /><br />'; if ($module_id > 0) { $content .= '<p><a class="btn btn-primary" href="index.php?page=yform/overview&install=1&module_id=' . $module_id . '" class="rex-button">' . $this->i18n('install_update_module', htmlspecialchars($module_name)) . '</a></p>'; } else { $content .= '<p><a class="btn btn-primary" href="index.php?page=yform/overview&install=1" class="rex-button">' . $this->i18n('install_yform_modul', $yform_module_name) . '</a></p>'; } $content .= '</p>'; $fragment = new rex_fragment(); $fragment->setVar('title', $this->i18n('install_modul'), false); $fragment->setVar('body', $content, false); echo $fragment->parse('core/page/section.php'); } $content = rex_i18n::rawMsg('yform_description_all', false); $fragment = new rex_fragment(); $fragment->setVar('title', $this->i18n('description'), false); $fragment->setVar('body', $content, false); echo $fragment->parse('core/page/section.php'); $fragment = new rex_fragment(); $fragment->setVar('title', $this->i18n('description_type_heading'), false); $fragment->setVar('content', rex_yform::showHelp(true, true), false); echo $fragment->parse('core/page/section.php');