From dc76962319d84d24209b495b5e37248ab79871c0 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 25 Feb 2015 09:11:10 -0500 Subject: [PATCH] for member login output --- static/{8.phtml => 54.phtml} | 24 ++++++++++++------------ templates/template.html | 31 +------------------------------ 2 files changed, 13 insertions(+), 42 deletions(-) rename static/{8.phtml => 54.phtml} (54%) diff --git a/static/8.phtml b/static/54.phtml similarity index 54% rename from static/8.phtml rename to static/54.phtml index 2851e3e..f850078 100644 --- a/static/8.phtml +++ b/static/54.phtml @@ -7,22 +7,22 @@ $class = 'Toolkit_Members_Auth'; $form = isset($_GET['forgot']) ? 'passwordForm' : 'loginForm'; $authContainer = new Toolkit_Members_AuthContainer( - Toolkit_Database::getInstance(), - array( - 'table' => 'member', - 'usernamecol' => 'member_login', - 'passwordcol' => 'member_passwd', - 'db_fields' => array('member_id', 'member_name'), - 'cryptType' => 'none', - 'db_where' => 'new_member <> true AND active = true', - ) + Toolkit_Database::getInstance(), + array( + 'table' => 'member', + 'usernamecol' => 'member_login', + 'passwordcol' => 'member_passwd', + 'db_fields' => array('member_id', 'member_name'), + 'cryptType' => 'none', + 'db_where' => 'new_member <> true AND active = true', + ) ); $memberAuth = new Toolkit_Members_Auth( - $root, + $root, $authContainer, - array($class, $form), - true + array($class, $form), + true ); $memberAuth->start(); if ($memberAuth->getAuth()) { diff --git a/templates/template.html b/templates/template.html index fe3073c..33bd14d 100644 --- a/templates/template.html +++ b/templates/template.html @@ -45,36 +45,7 @@
-
-

Page Header

-
- toolboxTMP (26K) -
This is the imagecaption
-
-

Located in the exact center of Northern Michigan on the 45th parallel, Gaylord is unique because of its stunning surroundings, up north ambience and easy commuting access.

-

Located in the exact center of Northern Michigan on the 45th parallel, Gaylord is unique because of its stunning surroundings, up north ambience and easy commuting access.

-

Located in the exact center of Northern Michigan on the 45th parallel, Gaylord is unique because of its stunning surroundings, up north ambience and easy commuting access.

-
-
-

Header

-
- toolboxTMP (26K) -
This is the imagecaption
-
-

Located in the exact center of Northern Michigan on the 45th parallel, Gaylord is unique because of its stunning surroundings, up north ambience and easy commuting access.

-

Located in the exact center of Northern Michigan on the 45th parallel, Gaylord is unique because of its stunning surroundings, up north ambience and easy commuting access.

-

Located in the exact center of Northern Michigan on the 45th parallel, Gaylord is unique because of its stunning surroundings, up north ambience and easy commuting access.

-
-
-

Header

-
- toolboxTMP (26K) -
This is the imagecaption
-
-

Located in the exact center of Northern Michigan on the 45th parallel, Gaylord is unique because of its stunning surroundings, up north ambience and easy commuting access.

-

Located in the exact center of Northern Michigan on the 45th parallel, Gaylord is unique because of its stunning surroundings, up north ambience and easy commuting access.

-

Located in the exact center of Northern Michigan on the 45th parallel, Gaylord is unique because of its stunning surroundings, up north ambience and easy commuting access.

-
+ {toolboxContent:h}