Example #1
0
             $info .= t("Modulübersetzung wurde in <b>translation.xml (%1)</b> geschrieben<br \\>", $modul);
         }
         $func->information($info, 'index.php?mod=install&action=translation');
     }
     break;
     // Import Translation to DB from mod_translation.xml
 // Import Translation to DB from mod_translation.xml
 case 60:
     if (!$_GET['confirm'] == "yes") {
         $func->question(t('Achtung!!! Alle vorhandenen Übersetzungen werden von den XML-Dateien in die Datenbank geschrieben'), 'index.php?mod=install&action=translation&step=60&confirm=yes', 'index.php?mod=install&action=translation');
     } else {
         $db->qry("TRUNCATE %prefix%translation");
         $db->qry("TRUNCATE %prefix%translation_long");
         include_once "modules/install/class_install.php";
         $install = new install();
         $install->InsertModules();
         $func->confirmation(t('Die Übersetzungen wurden in die Datenbank eingelesen'), 'index.php?mod=install&action=translation');
     }
     break;
     // Search for Old Text and New Entrys
 // Search for Old Text and New Entrys
 case 70:
     $output = '';
     $dsp->NewContent(t('Veraltete Eintraege'), t('Veraltete Eingtraege die aehnlichkeiten mit einem neuen Eintrag aufweisen'));
     // Show switch between Modules/Files
     $dsp->AddFieldSetStart(t('Modul/File Wechseln.'));
     if ($_POST['target_file']) {
         $_SESSION['target_file'] = $_POST['target_file'];
     }
     if ($_SESSION['target_file'] == '') {
         $_SESSION['target_file'] = 'System';