Subversion Repositories wpShopGermany4

Rev

Rev 4943 | Rev 6833 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1067 daniel 1
<?php
2
 
3
	/**
4
	 * Template für das Login Widget
5
	 */
6
 
7
?>
1996 daniel 8
<div class="wpsg_mod_kundenverwaltung_widget widget">
2308 daniel 9
 
1735 daniel 10
 
2308 daniel 11
	<?php if ($this->callMod('wpsg_mod_kundenverwaltung', 'isLoggedIn')) { ?>
12
 
3444 daniel 13
		<h2 class="widget-title widgettitle"><?php echo __('Login', 'wpsg'); ?></h2>
14
 
1996 daniel 15
		<p><?php echo wpsg_translate(__('Hallo #1# #2#', 'wpsg'), $_SESSION['wpsg']['checkout']['vname'], $_SESSION['wpsg']['checkout']['name']); ?></p>
16
		<ul class="menu" id="wpsg_mod_kundenverwaltung_seitenmenu">
17
			<li class="menu-item menu-item-object-page"><a href="<?php echo $this->getURL(wpsg_ShopController::URL_PROFIL); ?>"><?php echo __('Profil bearbeiten', 'wpsg'); ?></a></li>
18
			<li class="menu-item menu-item-object-page"><a href="<?php echo $this->getURL(wpsg_ShopController::URL_ORDER); ?>"><?php echo __('Bestellungen', 'wpsg'); ?></a></li>
2308 daniel 19
			<li class="menu-item menu-item-object-page"><a href="<?php echo $this->getURL(wpsg_ShopController::URL_LOGOUT); ?>"><?php echo __('Abmelden', 'wpsg'); ?></a></li>
1996 daniel 20
		</ul>
21
		<br />
2308 daniel 22
 
1996 daniel 23
		<div class="wpsg_clear"></div>
2308 daniel 24
 
25
	<?php } else { ?>
26
 
27
	<form method="post" action="<?php echo $this->getURL(wpsg_ShopController::URL_PROFIL); ?>">
28
 
3444 daniel 29
		<h2 class="widget-title widgettitle"><?php echo __('Login', 'wpsg'); ?></h2>
30
 
1067 daniel 31
		<input type="text" value="<?php echo __('E-Mail', 'wpsg'); ?>" id="wpsg_mod_kundenverwaltung_widget_email" name="wpsg[mod_kundenverwaltung][email]" />
1765 daniel 32
		<input type="password" value="<?php echo __('Passwort', 'wpsg'); ?>" id="wpsg_mod_kundenverwaltung_widget_passwort" name="wpsg[mod_kundenverwaltung][password]" />
3444 daniel 33
 
34
		<br /><br />
35
 
1067 daniel 36
		<input type="submit" id="wpsg_mod_kundenverwaltung_widget_login" name="wpsg_mod_kundenverwaltung_login" value="<?php echo __('Anmelden', 'wpsg'); ?>" />
3444 daniel 37
 
3362 daniel 38
		<input type="hidden" name="wpsg_referer" value="<?php echo $this->getCurrentURL(); ?>" />
3444 daniel 39
 
1067 daniel 40
		<div class="wpsg_mod_kundenverwaltung_pwdlink">
41
			<a href="<?php echo $this->callMod('wpsg_mod_kundenverwaltung', 'getPwdVergessenURL'); ?>"><?php echo __('Passwort vergessen?', 'wpsg'); ?></a>
42
		</div>
43
 
3444 daniel 44
		<div class="wpsg_clear"></div>
45
 
2308 daniel 46
	</form>
47
 
48
	<?php } ?>
1067 daniel 49
 
50
</div>