diff --git a/include/security.php b/include/security.php old mode 100644 new mode 100755 index 66622fd331..fc816e5d73 --- a/include/security.php +++ b/include/security.php @@ -326,7 +326,7 @@ function check_form_security_token($typename = '', $formname = 'form_security_to } function check_form_security_std_err_msg() { - return t('The form security token was not correct. This probably happened because the form has been opened for too long (>3 hours) before subitting it.') . EOL; + return t('The form security token was not correct. This probably happened because the form has been opened for too long (>3 hours) before submitting it.') . EOL; } function check_form_security_token_redirectOnErr($err_redirect, $typename = '', $formname = 'form_security_token') { if (!check_form_security_token($typename, $formname)) { @@ -344,4 +344,4 @@ function check_form_security_token_ForbiddenOnErr($typename = '', $formname = 'f header('HTTP/1.1 403 Forbidden'); killme(); } -} \ No newline at end of file +} diff --git a/util/messages.po b/util/messages.po index d09b1cfc03..b615815875 100644 --- a/util/messages.po +++ b/util/messages.po @@ -6596,7 +6596,7 @@ msgstr "" #: ../../include/security.php:329 msgid "" "The form security token was not correct. This probably happened because the " -"form has been opened for too long (>3 hours) before subitting it." +"form has been opened for too long (>3 hours) before submitting it." msgstr "" #: ../../include/Contact.php:145 ../../include/conversation.php:813 diff --git a/view/de/messages.po b/view/de/messages.po index 87994b9801..c834ec328d 100644 --- a/view/de/messages.po +++ b/view/de/messages.po @@ -6405,7 +6405,7 @@ msgstr "Willkommen zurück " #: ../../include/security.php:329 msgid "" "The form security token was not correct. This probably happened because the " -"form has been opened for too long (>3 hours) before subitting it." +"form has been opened for too long (>3 hours) before submitting it." msgstr "Der Formular-Sicherheits-Token war nicht korrekt. Der Grund ist wahrscheinlich, dass das Formular zu lange (>3 Stunden) offen war, bevor es abgeschickt wurde." #: ../../include/Contact.php:137 ../../include/conversation.php:813 diff --git a/view/de/strings.php b/view/de/strings.php index a68a77a75c..6a43f049ef 100644 --- a/view/de/strings.php +++ b/view/de/strings.php @@ -1441,7 +1441,7 @@ $a->strings["image/photo"] = "Bild/Foto"; $a->strings["Welcome "] = "Willkommen "; $a->strings["Please upload a profile photo."] = "Bitte lade ein Profilbild hoch."; $a->strings["Welcome back "] = "Willkommen zurück "; -$a->strings["The form security token was not correct. This probably happened because the form has been opened for too long (>3 hours) before subitting it."] = "Der Formular-Sicherheits-Token war nicht korrekt. Der Grund ist wahrscheinlich, dass das Formular zu lange (>3 Stunden) offen war, bevor es abgeschickt wurde."; +$a->strings["The form security token was not correct. This probably happened because the form has been opened for too long (>3 hours) before submitting it."] = "Der Formular-Sicherheits-Token war nicht korrekt. Der Grund ist wahrscheinlich, dass das Formular zu lange (>3 Stunden) offen war, bevor es abgeschickt wurde."; $a->strings["View status"] = "Status anzeigen"; $a->strings["View profile"] = "Profil anzeigen"; $a->strings["View photos"] = "Fotos ansehen"; diff --git a/view/theme/dispy-dark/theme.php b/view/theme/dispy-dark/theme.php index affffc9cbe..d5d489be2f 100644 --- a/view/theme/dispy-dark/theme.php +++ b/view/theme/dispy-dark/theme.php @@ -120,7 +120,7 @@ function dispy_dark_init(&$a) { }); $('a[href=#top]').click(function() { - $('html, body').animate({scrollTop:0}, '500'); + $('html, body').animate({scrollTop:0}, 'slow'); return false; }); diff --git a/view/theme/dispy/theme.php b/view/theme/dispy/theme.php index 8af61d78bd..edc9b9548f 100644 --- a/view/theme/dispy/theme.php +++ b/view/theme/dispy/theme.php @@ -120,7 +120,7 @@ function dispy_init(&$a) { }); $('a[href=#top]').click(function() { - $('html, body').animate({scrollTop:0}, '500'); + $('html, body').animate({scrollTop:0}, 'slow'); return false; });