summaryrefslogtreecommitdiff
path: root/modules/gallery/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-19 12:53:44 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-19 12:53:44 -0700
commit098b57bf18112d0a3173dbe28b5ed76782431ff7 (patch)
tree597410ea09aa91de7ac3dde2a5cc7b182c2aa35b /modules/gallery/views
parent1b530e4680b09391d7f99e91f1b0b1eb6b2069fc (diff)
Simplify the user interface by moving the password reset functionality into the user module
Bagging the User_Definition and Group_Definition abstract classes and replacing them with interfaces with the same names. Make sure all the unit tests work.
Diffstat (limited to 'modules/gallery/views')
-rw-r--r--modules/gallery/views/admin_identity.html.php6
-rw-r--r--modules/gallery/views/reset_password.html.php17
2 files changed, 3 insertions, 20 deletions
diff --git a/modules/gallery/views/admin_identity.html.php b/modules/gallery/views/admin_identity.html.php
index dcf1dbc1..1405cacb 100644
--- a/modules/gallery/views/admin_identity.html.php
+++ b/modules/gallery/views/admin_identity.html.php
@@ -15,11 +15,11 @@
height:165,
modal: true,
overlay: {
- backgroundColor: '#000',
- opacity: 0.5
+ backgroundColor: '#000',
+ opacity: 0.5
},
buttons: {
- "Continue": function() {
+ "Continue": function() {
$("##g-dialog form").submit();
},
Cancel: function() {
diff --git a/modules/gallery/views/reset_password.html.php b/modules/gallery/views/reset_password.html.php
deleted file mode 100644
index 92ca4917..00000000
--- a/modules/gallery/views/reset_password.html.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php defined("SYSPATH") or die("No direct script access.") ?>
-<html>
- <head>
- <title><?= t("Password Reset Request") ?> </title>
- </head>
- <body>
- <h2><?= t("Password Reset Request") ?> </h2>
- <p>
- <?= t("Hello, %name,", array("name" => $user->full_name ? $user->full_name : $user->name)) ?>
- </p>
- <p>
- <?= t("We received a request to reset your password for <a href=\"%site_url\">%site_url</a>. If you made this request, you can confirm it by <a href=\"%confirm_url\">clicking this link</a>. If you didn't request this password reset, it's ok to ignore this mail.",
- array("site_url" => html::mark_clean(url::base(false, "http")),
- "confirm_url" => $confirm_url)) ?>
- </p>
- </body>
-</html>