- Updated various language files.
| | |
| | | // Resyncing dns zones |
| | | if(isset($_POST['resync']) && $_POST['resync'] == 1) { |
| | | $zones = $app->db->queryAllRecords("SELECT id,origin,serial FROM dns_soa WHERE active = 'Y'"); |
| | | if(is_array($zones)) { |
| | | if(is_array($zones) && !empty($zones)) { |
| | | foreach($zones as $zone) { |
| | | $records = $app->db->queryAllRecords("SELECT id,serial FROM dns_rr WHERE zone = ".$zone['id']." AND active = 'Y'"); |
| | | if(is_array($records)) { |
| | |
| | | $app->db->datalogUpdate('dns_soa', "serial = '".$new_serial."'", 'id', $zone['id']); |
| | | $msg .= "Resynced: ".$zone['origin'].'<br />'; |
| | | } |
| | | } else { |
| | | $error .= "No zones found to sync.<br />"; |
| | | } |
| | | |
| | | } |
| | |
| | | //* Check permissions for module |
| | | $app->auth->check_module_permissions('tools'); |
| | | |
| | | echo '<h2 class="frmTextHead">'.$app->lng('ISPConfig Tools').'</h2>'; |
| | | echo '<h2 class="frmTextHead">'.$app->lng('ISPConfig Tools').'</h2><p>'.$app->lng('ispconfig_tools_note').'</p>'; |
| | | |
| | | ?> |
| | |
| | | $wb['Settings'] = 'Einstellungen'; |
| | | $wb['ISPConfig Tools'] = 'Einstellungen'; |
| | | $wb['Password and Language'] = 'Passwort und Sprache'; |
| | | $wb['ispconfig_tools_note'] = 'Dieses Modul erlaubt Ihnen, das Passwort und die Sprache zu ändern sowie einen Resync der DNS-Records anzustoßen.'; |
| | | ?> |
| | |
| | | <?php |
| | | $wb['passwort_txt'] = 'Passwort'; |
| | | $wb['language_txt'] = 'Sprache'; |
| | | $wb['password_mismatch'] = 'Die Passwörter stimmen nicht überein.'; |
| | | $wb['password_strength_txt'] = 'Passwortkomplexität'; |
| | | $wb['Form to edit the user password and language.'] = 'Formular, um das Benutzerpasswort, die Sprache und die authentication zu bearbeiten.'; |
| | | $wb['password_mismatch'] = 'Die Passwörter stimmen nicht überein.'; |
| | | $wb['password_strength_txt'] = 'Passwortkomplexität'; |
| | | $wb['Form to edit the user password and language.'] = 'Formular, um das Benutzerpasswort und die Sprache zu bearbeiten.'; |
| | | $wb['Settings'] = 'Einstellungen'; |
| | | ?> |
| | |
| | | $wb['Settings'] = 'Settings'; |
| | | $wb['ISPConfig Tools'] = 'ISPConfig Tools'; |
| | | $wb['Password and Language'] = 'Password and Language'; |
| | | $wb['ispconfig_tools_note'] = 'This module allows you to change the password and language and to start a resync of the DNS records.'; |
| | | ?> |
| | |
| | | $wb["password_strength_txt"] = 'Password strength'; |
| | | $wb["language_txt"] = 'Language'; |
| | | $wb["password_mismatch"] = 'The password in the second password field does not match the first password.'; |
| | | $wb["Form to edit the user password and language."] = 'Form to edit the user password, language, and authentication.'; |
| | | $wb["Form to edit the user password and language."] = 'Form to edit the user password and language.'; |
| | | $wb["Settings"] = 'Settings'; |
| | | ?> |
| | |
| | | <h2><tmpl_var name="list_head_txt"></h2> |
| | | <h2>DNS Resync</h2> |
| | | <p><tmpl_var name="list_desc_txt"></p> |
| | | |
| | | <div class="panel panel_language_import"> |