summaryrefslogtreecommitdiffstats
path: root/application/views
diff options
context:
space:
mode:
Diffstat (limited to 'application/views')
-rw-r--r--application/views/scripts/auth/login.phtml7
-rw-r--r--application/views/scripts/auth/recoverpassword.phtml5
-rw-r--r--application/views/scripts/person/index.phtml37
-rw-r--r--application/views/scripts/person/selectmembership.phtml7
4 files changed, 56 insertions, 0 deletions
diff --git a/application/views/scripts/auth/login.phtml b/application/views/scripts/auth/login.phtml
new file mode 100644
index 0000000..f172fe4
--- /dev/null
+++ b/application/views/scripts/auth/login.phtml
@@ -0,0 +1,7 @@
+<h1>Login</h1>
+<?php
+$this->loginForm->setAction($this->url());
+echo $this->notification;
+echo $this->loginForm;
+?>
+<div><button onclick="location.href='/auth/recoverpassword'">Recover Password</button></div> \ No newline at end of file
diff --git a/application/views/scripts/auth/recoverpassword.phtml b/application/views/scripts/auth/recoverpassword.phtml
new file mode 100644
index 0000000..089aec3
--- /dev/null
+++ b/application/views/scripts/auth/recoverpassword.phtml
@@ -0,0 +1,5 @@
+<h1>Recover Password</h1>
+<?php
+$this->recoverPasswordForm->setAction($this->url());
+echo $this->recoverPasswordForm;
+?>
diff --git a/application/views/scripts/person/index.phtml b/application/views/scripts/person/index.phtml
new file mode 100644
index 0000000..9fa1ff4
--- /dev/null
+++ b/application/views/scripts/person/index.phtml
@@ -0,0 +1,37 @@
+<h1>Own Details</h1>
+<style type="text/css">
+label {
+ width: 150px !important;
+}
+</style>
+<div class='listelement'>
+ <div class='element'>
+ <div class='content'>
+ <div class='title'><?php echo $this->person->getTitle()." ".$this->person->getFirstname()." ".$this->person->getName(); ?></div>
+ <div class='subtitle'><?php echo $this->person->getEmail(); ?></div>
+ <div class='details'><label>Street:</label>
+ <div class='item'><?php echo $this->person->getStreet(); ?>&nbsp;</div>
+ <label>Housenumber:</label>
+ <div class='item'><?php echo $this->person->getHousenumber(); ?>&nbsp;</div>
+ <label>City:</label>
+ <div class='item'><?php echo $this->person->getCity(); ?>&nbsp;</div>
+ <label>Postalcode:</label>
+ <div class='item'><?php echo $this->person->getPostalcode(); ?>&nbsp;</div>
+ <label>Email:</label>
+ <div class='item'><?php echo $this->person->getEmail(); ?>&nbsp;</div>
+ <label>Last Login:</label>
+ <div class='item'><?php if( $this->person->getLogindate()) echo date ('d. F Y - H:i', $this->person->getLogindate()) . " Uhr"; ?>&nbsp;</div>
+ <label>Register Date:</label>
+ <div class='item'><?php echo date ('d. F Y - H:i', $this->person->getRegisterdate()) . ' Uhr'; ?>&nbsp;</div>
+ <?php if($this->suspendRight === true)
+ {
+ ?> <label>Suspended:</label>
+ <div class='item'><?php if($this->person->getSuspend() == 1) echo "yes"; else echo "no"; ?></div>
+ <?php
+ }
+ ?>
+ </div>
+ </div>
+ <div class='clear'></div>
+ </div>
+</div>
diff --git a/application/views/scripts/person/selectmembership.phtml b/application/views/scripts/person/selectmembership.phtml
new file mode 100644
index 0000000..f5c18a3
--- /dev/null
+++ b/application/views/scripts/person/selectmembership.phtml
@@ -0,0 +1,7 @@
+<h1>Select Membership</h1>
+<?php if($this->notification != ''){echo $this->notification;} ?>
+
+<?php
+$this->membershipSelectForm->setAction($this->url());
+echo $this->membershipSelectForm;
+?>