diff --git a/core/domains/app_languages.php b/core/domains/app_languages.php index 2b9e7b98f1..e50972c025 100644 --- a/core/domains/app_languages.php +++ b/core/domains/app_languages.php @@ -767,6 +767,26 @@ $text['header-domain_settings']['ru-ru'] = "Настройки домена"; $text['header-domain_settings']['sv-se'] = "Domän Inställning"; $text['header-domain_settings']['uk-ua'] = "Налаштування домену"; +$text['header_description-domain_settings']['en-us'] = "Settings for this domain that should override those defined in Default Settings."; +$text['header_description-domain_settings']['ar-eg'] = "Settings for this domain that should override those defined in Default Settings."; +$text['header_description-domain_settings']['de-at'] = "Settings for this domain that should override those defined in Default Settings."; +$text['header_description-domain_settings']['de-ch'] = "Settings for this domain that should override those defined in Default Settings."; +$text['header_description-domain_settings']['de-de'] = "Settings for this domain that should override those defined in Default Settings."; +$text['header_description-domain_settings']['es-cl'] = "Settings for this domain that should override those defined in Default Settings."; +$text['header_description-domain_settings']['es-mx'] = "Settings for this domain that should override those defined in Default Settings."; +$text['header_description-domain_settings']['fr-ca'] = "Settings for this domain that should override those defined in Default Settings."; +$text['header_description-domain_settings']['fr-fr'] = "Settings for this domain that should override those defined in Default Settings."; +$text['header_description-domain_settings']['he-il'] = "Settings for this domain that should override those defined in Default Settings."; +$text['header_description-domain_settings']['it-it'] = "Settings for this domain that should override those defined in Default Settings."; +$text['header_description-domain_settings']['nl-nl'] = "Settings for this domain that should override those defined in Default Settings."; +$text['header_description-domain_settings']['pl-pl'] = "Settings for this domain that should override those defined in Default Settings."; +$text['header_description-domain_settings']['pt-br'] = "Settings for this domain that should override those defined in Default Settings."; +$text['header_description-domain_settings']['pt-pt'] = "Settings for this domain that should override those defined in Default Settings."; +$text['header_description-domain_settings']['ro-ro'] = "Settings for this domain that should override those defined in Default Settings."; +$text['header_description-domain_settings']['ru-ru'] = "Settings for this domain that should override those defined in Default Settings."; +$text['header_description-domain_settings']['sv-se'] = "Settings for this domain that should override those defined in Default Settings."; +$text['header_description-domain_settings']['uk-ua'] = "Settings for this domain that should override those defined in Default Settings."; + $text['header-domain_setting-edit']['en-us'] = "Domain Setting"; $text['header-domain_setting-edit']['ar-eg'] = ""; $text['header-domain_setting-edit']['de-at'] = "Domain Einstellungen"; //copied from de-de diff --git a/core/domains/domain_edit.php b/core/domains/domain_edit.php index 2b01b5961d..816ac71231 100644 --- a/core/domains/domain_edit.php +++ b/core/domains/domain_edit.php @@ -74,6 +74,21 @@ $domain_uuid = $_POST["domain_uuid"]; } + //delete the domain + if (permission_exists('domain_delete')) { + if ($_POST['action'] == 'delete' && is_uuid($domain_uuid)) { + //prepare + $array[0]['checked'] = 'true'; + $array[0]['uuid'] = $domain_uuid; + //delete + $obj = new domains; + $obj->delete($array); + //redirect + header('Location: domains.php'); + exit; + } + } + //validate the token $token = new token; if (!$token->validate($_SERVER['PHP_SELF'])) { @@ -574,7 +589,8 @@ } //show the content - echo "