summaryrefslogtreecommitdiff
path: root/views/mods/mod_kundenverwaltung/edit.phtml
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2019-09-10 11:34:11 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2019-09-10 11:34:11 +0000
commitb1dad65b246f224c3ceea030ce2babc64147ecd2 (patch)
tree92bb42dc69e6c6e9cb1dd7cd7fc5ba07c44cf64c /views/mods/mod_kundenverwaltung/edit.phtml
parentd5e3a1f4c0afbb8e7987e8116a60bbac6fab261e (diff)
- Bugfix: Probleme beim erstmaligen aktivieren in einem Multiblog behoben
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7562 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_kundenverwaltung/edit.phtml')
-rw-r--r--views/mods/mod_kundenverwaltung/edit.phtml24
1 files changed, 13 insertions, 11 deletions
diff --git a/views/mods/mod_kundenverwaltung/edit.phtml b/views/mods/mod_kundenverwaltung/edit.phtml
index 915a9fe..fb5330e 100644
--- a/views/mods/mod_kundenverwaltung/edit.phtml
+++ b/views/mods/mod_kundenverwaltung/edit.phtml
@@ -36,6 +36,8 @@
<form method="POST" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Customer&action=save&noheader=1" enctype="multipart/form-data">
+ <?php echo wpsg_formNounce('Customer', 'save'); ?>
+
<div class="row">
<div class="col-md-8 col-lg-8">
@@ -115,7 +117,7 @@
<?php echo wpsg_drawForm_AdminboxStart(__('Passwortänderung', 'wpsg')); ?>
<?php echo wpsg_drawForm_Input('password1', __('Passwort', 'wpsg'), '', array('type' => 'password')); ?>
<?php echo wpsg_drawForm_Input('password2', __('Wiederholung', 'wpsg'), '', array('type' => 'password')); ?>
- <div id="wpsg_pwd_info">
+ <div id="wpsg_pwd_info" style="display:none;">
<h4><?php echo __('Passwort sollte folgende Regeln befolgen:','wpsg') ?></h4>
<ul>
<li id="wpsg_pwd_length" class="invalid"><?php echo __('Mindestens 8 Zeichen','wpsg')?></li>
@@ -213,7 +215,7 @@
</div>
-<script type="text/javascript">/* <![CDATA[ */
+<script>
jQuery(document).ready(function() {
@@ -287,16 +289,16 @@
}
+ } ).on('focus', function() {
+
jQuery('#wpsg_pwd_info').show();
+
+ }).on('blur', function() {
- jQuery(this).blur(function() {
-
- jQuery('#wpsg_pwd_info').hide();
-
- } );
-
- } );
-
+ jQuery('#wpsg_pwd_info').hide();
+
+ });
+
} );
-/* ]]> */</script> \ No newline at end of file
+</script> \ No newline at end of file