summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhartmut <noreply@maennchen1.de>2017-10-09 08:59:49 +0000
committerhartmut <noreply@maennchen1.de>2017-10-09 08:59:49 +0000
commitfaae951a3078a29184551910b408360bcf9e4399 (patch)
treee077d78dba6b2126224ea92e0192b2a2b78a9d94
parent2e6b2e16d1f6f7d1f719f363d3bd9c272b93e542 (diff)
Passwortvalidierung FE (Profil, Register)
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6578 0d5edaf7-2b12-4e95-93f4-047927463d4b
-rw-r--r--views/css/frontend.css7
-rw-r--r--views/mods/mod_kundenverwaltung/register.phtml3
2 files changed, 8 insertions, 2 deletions
diff --git a/views/css/frontend.css b/views/css/frontend.css
index a68364e..392fc58 100644
--- a/views/css/frontend.css
+++ b/views/css/frontend.css
@@ -176,6 +176,13 @@ input.wpsg_error { border-color:red !important; }
.wpsg_profil .wpsg_mod_kundenverwaltung_login, .wpsg_checkout .wpsg_mod_kundenverwaltung_login { float:right; }
.wpsg_profil .wpsg_saveButton { float:right; }
+/* Passwort Visualisierung */
+#wpsg_pwd_info { width:250px; background:#fefefe; width:100%; padding:25px; border-radius:5px; box-shadow:0 1px 3px #ccc; border:1px solid #ddd; display:none; }
+#wpsg_pwd_info::before { position:absolute; font-size:14px; text-shadow:none; disblay:block; color:#ddd; line-height:14px; }
+#wpsg_pwd_info ul li { margin:10px 20px; display:block; }
+.invalid { padding-left:22px; line-height:24px; color:#ec3f41; }
+.valid { padding-left:22px; line-height:24px; color:#3a7d34; }
+
/* Produktattribute */
.wpsg_cell_produktattribute_value { text-align:right; }
.wpsg_mod_produktattribute_label { display:inline-block; min-width:120px; }
diff --git a/views/mods/mod_kundenverwaltung/register.phtml b/views/mods/mod_kundenverwaltung/register.phtml
index 4e89095..ebced65 100644
--- a/views/mods/mod_kundenverwaltung/register.phtml
+++ b/views/mods/mod_kundenverwaltung/register.phtml
@@ -119,9 +119,8 @@
// Validierung Spam
-
<?php
- if ($_GET["wpsg_spam_email"] != "") {
+ if (isset($_GET["wpsg_spam_email"]) && $_GET["wpsg_spam_email"] != "") {
echo "<p>Sie haben ein Feld ausgefüllt, das frei bleiben muss.</p>";
exit;
}