diff --git a/install/updates/froxlor/0.9/update_0.9.inc.php b/install/updates/froxlor/0.9/update_0.9.inc.php index dda0720f..30415bf8 100644 --- a/install/updates/froxlor/0.9/update_0.9.inc.php +++ b/install/updates/froxlor/0.9/update_0.9.inc.php @@ -3039,7 +3039,7 @@ if (isFroxlorVersion('0.9.34.2')) { `cronfile` = 'letsencrypt', `interval` = '5 MINUTE', `desc_lng_key` = 'cron_letsencrypt', - `lastrun` = NOW(), + `lastrun` = UNIX_TIMESTAMP(), `isactive` = 1" ); Database::pexecute($stmt); @@ -3108,7 +3108,7 @@ if (isFroxlorVersion('0.9.35-dev5')) { showUpdateStep("Adding new panel_vhostconfigs table"); Database::query("DROP TABLE IF EXISTS `panel_vhostconfigs`;"); - $sql = "CREATE TABLE `" . TABLE_PANEL_VHOSTCONFIGS . "` ( + $sql = "CREATE TABLE `panel_vhostconfigs` ( `id` int(11) NOT NULL AUTO_INCREMENT, `description` varchar(50) NOT NULL, `vhostsettings` text NOT NULL, @@ -3131,7 +3131,7 @@ if (isFroxlorVersion('0.9.35-dev6')) { showUpdateStep("Adding a new field to the panel_vhostconfigs table"); $webserver = Settings::Get('system.webserver'); - Database::query("ALTER TABLE `" . TABLE_PANEL_VHOSTCONFIGS ."` ADD `webserver` VARCHAR(255) NOT NULL DEFAULT '" . $webserver . "' AFTER `vhostsettings`;"); + Database::query("ALTER TABLE `panel_vhostconfigs` ADD `webserver` VARCHAR(255) NOT NULL DEFAULT '" . $webserver . "' AFTER `vhostsettings`;"); lastStepStatus(0); updateToVersion('0.9.35-dev7'); diff --git a/lib/navigation/00.froxlor.main.php b/lib/navigation/00.froxlor.main.php index 101c5adc..eb7e7d21 100644 --- a/lib/navigation/00.froxlor.main.php +++ b/lib/navigation/00.froxlor.main.php @@ -248,15 +248,6 @@ return array ( ), ), ), - 'templates' => array ( - 'label' => $lng['admin']['server_templates'], - 'elements' => array ( - array ( - 'url' => 'admin_templates.php?page=email', - 'label' => $lng['admin']['templates']['email'], - ), - ) - ), 'server_php' => array ( 'label' => $lng['admin']['server_php'], 'required_resources' => 'change_serversettings', @@ -299,6 +290,10 @@ return array ( 'url' => 'admin_settings.php?page=integritycheck', 'label' => $lng['admin']['integritycheck'], 'required_resources' => 'change_serversettings', + ), + array ( + 'url' => 'admin_templates.php?page=email', + 'label' => $lng['admin']['templates']['email'], ), array ( 'url' => 'admin_message.php?page=message', diff --git a/lng/english.lng.php b/lng/english.lng.php index 09762b4f..7974a73c 100644 --- a/lng/english.lng.php +++ b/lng/english.lng.php @@ -1173,7 +1173,7 @@ $lng['serversettings']['ftpserver']['desc'] = 'If pureftpd is selected the .ftpq $lng['mails']['new_ftpaccount_by_customer']['subject'] = 'New ftp-user created'; $lng['mails']['new_ftpaccount_by_customer']['mailbody'] = "Hello {CUST_NAME},\n\nyou have just added a new ftp-user. Here is the entered information:\n\nUsername: {USR_NAME}\nPassword: {USR_PASS}\nPath: {USR_PATH}\n\nYours sincerely, your administrator"; $lng['domains']['redirectifpathisurl'] = 'Redirect code (default: empty)'; -$lng['domains']['redirectifpathisurlinfo'] = 'You only need to select one of these if you entered an URL as path'; +$lng['domains']['redirectifpathisurlinfo'] = 'You only need to select one of these if you entered an URL as path
NOTE:Changes are only applied if the given path is an URL.'; $lng['serversettings']['customredirect_enabled']['title'] = 'Allow customer redirects'; $lng['serversettings']['customredirect_enabled']['description'] = 'Allow customers to choose the http-status code for redirects which will be used'; $lng['serversettings']['customredirect_default']['title'] = 'Default redirect'; @@ -1931,7 +1931,7 @@ $lng['opcacheinfo']['false'] = 'false'; $lng['admin']['letsencrypt']['title'] = 'Use Let\'s Encrypt'; $lng['admin']['letsencrypt']['description'] = 'Get a free certificate from Let\'s Encrypt. The certificate will be created and renewed automatically.
ATTENTION:If wildcards are enabled, this option will automatically be disabled. This feature is still in beta.'; $lng['customer']['letsencrypt']['title'] = 'Use Let\'s Encrypt'; -$lng['customer']['letsencrypt']['description'] = 'Get a free certificate from Let\'s Encrypt. The certificate will be created and renewed automatically.
ATTENTION:"This feature is still in beta.'; +$lng['customer']['letsencrypt']['description'] = 'Get a free certificate from Let\'s Encrypt. The certificate will be created and renewed automatically.
ATTENTION:"This feature is still in beta.'; $lng['error']['sslredirectonlypossiblewithsslipport'] = 'Using Let\'s Encrypt is only possible when the domain has at least one ssl-enabled IP/port combination assigned.'; $lng['error']['nowildcardwithletsencrypt'] = 'Let\'s Encrypt cannot (yet) handle wildcard-domains. Please set the ServerAlias to WWW or disable it completely'; $lng['error']['letsencryptdoesnotworkwithaliasdomains'] = "Usage of Let's Encrypt is not possible for aliasdomains at the moment. Please disable Let's Encrypt or AliasDomain"; @@ -1971,4 +1971,3 @@ $lng['domains']['termination_date'] = 'Date of termination'; $lng['domains']['termination_date_overview'] = 'canceled until '; $lng['panel']['set'] = 'Apply'; -$lng['admin']['server_templates'] = 'Templates'; diff --git a/lng/german.lng.php b/lng/german.lng.php index 0f0b8e4f..990c798d 100644 --- a/lng/german.lng.php +++ b/lng/german.lng.php @@ -1166,7 +1166,7 @@ $lng['serversettings']['ftpserver']['desc'] = 'Wenn pureftpd ausgewählt ist, we $lng['mails']['new_ftpaccount_by_customer']['subject'] = 'Neuer FTP-Benutzer erstellt'; $lng['mails']['new_ftpaccount_by_customer']['mailbody'] = "Hallo {CUST_NAME},\n\ndu hast gerade einen neuen FTP-Benutzer angelegt. Hier die angegebenen Informationen:\n\nBenutzername: {USR_NAME}\nPasswort: {USR_PASS}\nPfad: {USR_PATH}\n\nVielen Dank, Ihr Administrator"; $lng['domains']['redirectifpathisurl'] = 'Redirect-Code (Standard: leer)'; -$lng['domains']['redirectifpathisurlinfo'] = 'Der Redirect-Code kann gewählt werden, wenn der eingegebene Pfad eine URL ist'; +$lng['domains']['redirectifpathisurlinfo'] = 'Der Redirect-Code kann gewählt werden, wenn der eingegebene Pfad eine URL ist.
HINWEIS:Änderungen werden nur wirksam wenn der Pfad eine URL ist.'; $lng['serversettings']['customredirect_enabled']['title'] = 'Erlaube Kunden-Redirect'; $lng['serversettings']['customredirect_enabled']['description'] = 'Erlaubt es Kunden den HTTP-Status Code für einen Redirect zu wählen'; $lng['serversettings']['customredirect_default']['title'] = 'Standard-Redirect'; @@ -1586,7 +1586,7 @@ $lng['admin']['mod_fcgid_umask']['title'] = 'Umask (Standard: 022)'; $lng['admin']['letsencrypt']['title'] = 'Benutze Let\'s Encrypt'; $lng['admin']['letsencrypt']['description'] = 'Holt ein kostenloses Zertifikat von Let\'s Encrypt. Das Zertifikat wird automatisch erstellt und verlängert.
ACHTUNG:Wenn Wildcards aktiviert sind, wird diese Option automatisch deaktiviert. Dieses Feature befindet sich noch im Test.'; $lng['customer']['letsencrypt']['title'] = 'Benutze Let\'s Encrypt'; -$lng['customer']['letsencrypt']['description'] = 'Holt ein kostenloses Zertifikat von Let\'s Encrypt. Das Zertifikat wird automatisch erstellt und verlängert.
ACHTUNG:Dieses Feature befindet sich noch im Test.'; +$lng['customer']['letsencrypt']['description'] = 'Holt ein kostenloses Zertifikat von Let\'s Encrypt. Das Zertifikat wird automatisch erstellt und verlängert.
ACHTUNG:Dieses Feature befindet sich noch im Test.'; $lng['error']['sslredirectonlypossiblewithsslipport'] = 'Die Nutzung von Let\'s Encrypt ist nur möglich, wenn die Domain mindestens eine IP/Port - Kombination mit aktiviertem SSL zugewiesen hat.'; $lng['error']['nowildcardwithletsencrypt'] = 'Let\'s Encrypt kann (noch) nicht mit Wildcard-Domains umgehen. Bitte den ServerAlias auf WWW setzen oder deaktivieren'; $lng['error']['letsencryptdoesnotworkwithaliasdomains'] = "Die Nutzung von Let's Encrypt ist mit AliasDomains derzeit nicht möglich. Bitte Let's Encrypt oder AliasDomain deaktivieren"; @@ -1611,4 +1611,3 @@ $lng['domains']['termination_date'] = 'Kündigungsdatum'; $lng['domains']['termination_date_overview'] = 'gekündigt zum '; $lng['panel']['set'] = 'Setzen'; -$lng['admin']['server_templates'] = 'Vorlagen';