for member login output
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 25 Feb 2015 14:11:10 +0000 (09:11 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 25 Feb 2015 14:11:10 +0000 (09:11 -0500)
static/54.phtml [new file with mode: 0644]
static/8.phtml [deleted file]
templates/template.html

diff --git a/static/54.phtml b/static/54.phtml
new file mode 100644 (file)
index 0000000..f850078
--- /dev/null
@@ -0,0 +1,30 @@
+<?php
+//  application configuration
+$conf = new Config;
+$root =& $conf->parseConfig(BASE . 'Toolkit/Members/config.ini', 'IniFile');
+
+$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',
+    )
+);
+
+$memberAuth = new Toolkit_Members_Auth(
+    $root,
+    $authContainer,
+    array($class, $form),
+    true
+);
+$memberAuth->start();
+if ($memberAuth->getAuth()) {
+    header('Location: ' . BASE_URL . 'members-only-area/');
+}
diff --git a/static/8.phtml b/static/8.phtml
deleted file mode 100644 (file)
index 2851e3e..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-//  application configuration
-$conf = new Config;
-$root =& $conf->parseConfig(BASE . 'Toolkit/Members/config.ini', 'IniFile');
-
-$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',
-       )
-);
-
-$memberAuth = new Toolkit_Members_Auth(
-       $root,
-    $authContainer,
-       array($class, $form),
-       true
-);
-$memberAuth->start();
-if ($memberAuth->getAuth()) {
-    header('Location: ' . BASE_URL . 'members-only-area/');
-}
index fe3073c..33bd14d 100644 (file)
         </div><!-- /#column -->
         <div id="main">
             <div id="toolbox">
-                <div id="category">
-                    <h1>Page Header</h1>
-                    <div class="imageright">
-                        <img src="baseurl/assets/toolboxTMP.gif" width="325" height="218" alt="toolboxTMP (26K)">
-                        <div class="imagecaption">This is the imagecaption</div>
-                    </div><!-- /..imageright -->
-                    <p>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. </p>
-                    <p>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. </p>
-                    <p>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. </p>
-                </div><!-- /#category -->
-                <div class="listing">
-                    <h2>Header</h2>
-                    <div class="imageleft">
-                        <img src="baseurl/assets/toolboxTMP.gif" width="325" height="218" alt="toolboxTMP (26K)">
-                        <div class="imagecaption">This is the imagecaption</div>
-                    </div><!-- /..imageleft -->
-                    <p>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. </p>
-                    <p>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. </p>
-                    <p>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. </p>
-                </div><!-- /.listin\g -->   
-                <div class="listing">
-                    <h2>Header</h2>
-                    <div class="imageright">
-                        <img src="baseurl/assets/toolboxTMP.gif" width="325" height="218" alt="toolboxTMP (26K)">
-                        <div class="imagecaption">This is the imagecaption</div>
-                    </div><!-- /..imageright -->
-                    <p>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. </p>
-                    <p>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. </p>
-                    <p>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. </p>
-                </div><!-- /.listin\g -->   
+                {toolboxContent:h}
             </div><!-- /#toolbox -->
         </div><!-- /#main -->
         <div id="footer">