Subversion Repositories wpShopGermany4

Rev

Rev 5261 | Rev 6839 | 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>
6833 thomas 19
			<?php if ($this->hasMod('wpsg_mod_abo') == '1') { ?>
20
			<li class="menu-item menu-item-object-page"><a href="<?php echo $this->getURL(wpsg_ShopController::URL_ABO); ?>"><?php echo __('Abonnenments', 'wpsg'); ?></a></li>
21
			<?php } else {}?>
2308 daniel 22
			<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 23
		</ul>
24
		<br />
2308 daniel 25
 
1996 daniel 26
		<div class="wpsg_clear"></div>
2308 daniel 27
 
28
	<?php } else { ?>
29
 
30
	<form method="post" action="<?php echo $this->getURL(wpsg_ShopController::URL_PROFIL); ?>">
31
 
3444 daniel 32
		<h2 class="widget-title widgettitle"><?php echo __('Login', 'wpsg'); ?></h2>
33
 
1067 daniel 34
		<input type="text" value="<?php echo __('E-Mail', 'wpsg'); ?>" id="wpsg_mod_kundenverwaltung_widget_email" name="wpsg[mod_kundenverwaltung][email]" />
1765 daniel 35
		<input type="password" value="<?php echo __('Passwort', 'wpsg'); ?>" id="wpsg_mod_kundenverwaltung_widget_passwort" name="wpsg[mod_kundenverwaltung][password]" />
3444 daniel 36
 
37
		<br /><br />
38
 
1067 daniel 39
		<input type="submit" id="wpsg_mod_kundenverwaltung_widget_login" name="wpsg_mod_kundenverwaltung_login" value="<?php echo __('Anmelden', 'wpsg'); ?>" />
3444 daniel 40
 
3362 daniel 41
		<input type="hidden" name="wpsg_referer" value="<?php echo $this->getCurrentURL(); ?>" />
3444 daniel 42
 
1067 daniel 43
		<div class="wpsg_mod_kundenverwaltung_pwdlink">
44
			<a href="<?php echo $this->callMod('wpsg_mod_kundenverwaltung', 'getPwdVergessenURL'); ?>"><?php echo __('Passwort vergessen?', 'wpsg'); ?></a>
45
		</div>
46
 
3444 daniel 47
		<div class="wpsg_clear"></div>
48
 
2308 daniel 49
	</form>
50
 
51
	<?php } ?>
1067 daniel 52
 
53
</div>