Subversion Repositories wpShopGermany4

Rev

Rev 7555 | Rev 7948 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7555 Rev 7562
Line 34... Line 34...
34
 
34
 
35
	<div class="content form-horizontal">
35
	<div class="content form-horizontal">
36
 
36
 
37
		<form method="POST" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Customer&action=save&noheader=1" enctype="multipart/form-data">
37
		<form method="POST" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Customer&action=save&noheader=1" enctype="multipart/form-data">
38
 
38
 
-
 
39
			<?php echo wpsg_formNounce('Customer', 'save'); ?>
-
 
40
			
39
			<div class="row">
41
			<div class="row">
40
				<div class="col-md-8 col-lg-8">
42
				<div class="col-md-8 col-lg-8">
41
 
43
 
42
					<?php echo wpsg_drawForm_AdminboxStart(__('Allgemein', 'wpsg')); ?>
44
					<?php echo wpsg_drawForm_AdminboxStart(__('Allgemein', 'wpsg')); ?>
43
                        <?php echo wpsg_drawForm_Input('knr', __('Kundennummer', 'wpsg'), @$this->view['data']['knr']); ?>
45
                        <?php echo wpsg_drawForm_Input('knr', __('Kundennummer', 'wpsg'), @$this->view['data']['knr']); ?>
Line 113... Line 115...
113
				<div class="col-md-4 col-lg-4">
115
				<div class="col-md-4 col-lg-4">
114
 
116
 
115
					<?php echo wpsg_drawForm_AdminboxStart(__('Passwortänderung', 'wpsg')); ?>
117
					<?php echo wpsg_drawForm_AdminboxStart(__('Passwortänderung', 'wpsg')); ?>
116
						<?php echo wpsg_drawForm_Input('password1', __('Passwort', 'wpsg'), '', array('type' => 'password')); ?>
118
						<?php echo wpsg_drawForm_Input('password1', __('Passwort', 'wpsg'), '', array('type' => 'password')); ?>
117
						<?php echo wpsg_drawForm_Input('password2', __('Wiederholung', 'wpsg'), '', array('type' => 'password')); ?>
119
						<?php echo wpsg_drawForm_Input('password2', __('Wiederholung', 'wpsg'), '', array('type' => 'password')); ?>
118
                        <div id="wpsg_pwd_info">
120
                        <div id="wpsg_pwd_info" style="display:none;">
119
                            <h4><?php echo __('Passwort sollte folgende Regeln befolgen:','wpsg') ?></h4>
121
                            <h4><?php echo __('Passwort sollte folgende Regeln befolgen:','wpsg') ?></h4>
120
                            <ul>
122
                            <ul>
121
                                <li id="wpsg_pwd_length" class="invalid"><?php echo __('Mindestens 8 Zeichen','wpsg')?></li>
123
                                <li id="wpsg_pwd_length" class="invalid"><?php echo __('Mindestens 8 Zeichen','wpsg')?></li>
122
                                <li id="wpsg_pwd_letter" class="invalid"><?php echo __('Mindestens ein Kleinbuchstabe','wpsg') ?></li>
124
                                <li id="wpsg_pwd_letter" class="invalid"><?php echo __('Mindestens ein Kleinbuchstabe','wpsg') ?></li>
123
                                <li id="wpsg_pwd_capital" class="invalid"><?php echo __('Mindestens ein Großbuchstabe','wpsg') ?></li>
125
                                <li id="wpsg_pwd_capital" class="invalid"><?php echo __('Mindestens ein Großbuchstabe','wpsg') ?></li>
Line 211... Line 213...
211
 
213
 
212
	</div>
214
	</div>
213
 
215
 
214
</div>
216
</div>
215
 
217
 
216
<script type="text/javascript">/* <![CDATA[ */
218
<script>
217
	
219
	
218
	jQuery(document).ready(function() {
220
	jQuery(document).ready(function() {
219
		
221
		
220
		// Visualisierung der Passwortstärke
222
		// Visualisierung der Passwortstärke
221
		jQuery('input[type=password]').keyup(function() {
223
		jQuery('input[type=password]').keyup(function() {
Line 285... Line 287...
285
 
287
 
286
				jQuery('#wpsg_pwd_speziell').removeClass('valid').addClass('invalid');
288
				jQuery('#wpsg_pwd_speziell').removeClass('valid').addClass('invalid');
287
 
289
 
288
			}
290
			}
289
 
291
 
-
 
292
		} ).on('focus', function() {
-
 
293
			
290
			jQuery('#wpsg_pwd_info').show();
294
			jQuery('#wpsg_pwd_info').show();
-
 
295
			
-
 
296
		}).on('blur', function() {
291
 
297
 
292
			jQuery(this).blur(function() {
-
 
293
 
-
 
294
				jQuery('#wpsg_pwd_info').hide();
298
			jQuery('#wpsg_pwd_info').hide();
295
 
-
 
296
			} );
-
 
297
 
299
			
298
		} );
300
		});
299
 
301
		
300
	} );
302
	} );
301
 
303
 
302
/* ]]> */</script>
-
 
303
304
</script>
-
 
305
304
306