From ae7839ffaada72c522ffcd9b3f4f1cc04027a720 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 15 Nov 2008 06:23:09 +0000 Subject: Revise the user login code. * Remove user registration link and popup from the theme; this shouldn't be done in a popup. Use ajaxform to simplify the way that we load the login popup. * Create form.html.php, this is a template for Forge based forms. * Move user validation rules into User_Model and let forms populate the rules into their forms as useful. * Undo r18688's changes regarding the REST code. We should never accept a null resource, this breaks the REST abstraction. * Change login and user controllers to use Forge which lets us delete login.html.php and user.html.php since those now are generated by the theme-owned form template --- modules/user/views/login.html.php | 21 --------------------- modules/user/views/user.html.php | 34 ---------------------------------- 2 files changed, 55 deletions(-) delete mode 100644 modules/user/views/login.html.php delete mode 100644 modules/user/views/user.html.php (limited to 'modules/user/views') diff --git a/modules/user/views/login.html.php b/modules/user/views/login.html.php deleted file mode 100644 index 78e03b46..00000000 --- a/modules/user/views/login.html.php +++ /dev/null @@ -1,21 +0,0 @@ - -
"> -
- -
    -
  • - - -
  • -
  • - - -
  • -
  • - " /> -
  • -
-
-
-
-
diff --git a/modules/user/views/user.html.php b/modules/user/views/user.html.php deleted file mode 100644 index 614645e5..00000000 --- a/modules/user/views/user.html.php +++ /dev/null @@ -1,34 +0,0 @@ - -
"> -
- -
    -
  • - - - -
  • -
  • - - - -
  • -
  • - - -
  • -
  • - - - -
  • -
  • - - -
  • -
  • - -
  • -
-
-
-- cgit v1.2.3