[Bedework-commit] selfreg r10 - in trunk/selfreg: skin/default/default war/docs

svnadmin at bedework.org svnadmin at bedework.org
Fri Mar 13 01:41:11 EDT 2009


Author: johnsa
Date: 2009-03-13 01:41:08 -0400 (Fri, 13 Mar 2009)
New Revision: 10

Added:
   trunk/selfreg/war/docs/regFormSaved.jsp
Removed:
   trunk/selfreg/skin/default/default/2.xsl
Modified:
   trunk/selfreg/skin/default/default/default.xsl
   trunk/selfreg/war/docs/initForm.jsp
Log:
some clean up and added confirmation of email sent page

Deleted: trunk/selfreg/skin/default/default/2.xsl
===================================================================
--- trunk/selfreg/skin/default/default/2.xsl	2009-03-13 05:14:49 UTC (rev 9)
+++ trunk/selfreg/skin/default/default/2.xsl	2009-03-13 05:41:08 UTC (rev 10)
@@ -1,551 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-  <!-- ==================================================================== -->
-  <!-- ==================================================================== -->
-  <!--                           BEDEWORK LUWAK                             -->
-  <!-- ==================================================================== -->
-  <!-- ==================================================================== -->
-  <xsl:output method="xhtml" indent="yes" media-type="text/html" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" standalone="yes" omit-xml-declaration="yes"/>
-  <xsl:variable name="appRoot" select="/luwak/appRoot"/>
-  <xsl:variable name="urlPrefix" select="/luwak/urlPrefix"/>
-
-  <xsl:template match="/">
-    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-      <head>
-        <title>
-          <xsl:choose>
-            <xsl:when test="/luwak/contentType='selectedArticle'">
-              Bedework Calendar System - <xsl:value-of select="/luwak/contentSection/item/heading"/>
-            </xsl:when>
-            <xsl:when test="luwak[contentType='siteMap']">
-              Bedework Site Map
-            </xsl:when>
-            <xsl:otherwise>
-              Bedework: Open Source Calendar System for the Enterprise
-            </xsl:otherwise>
-          </xsl:choose>
-        </title>
-        <link rel="stylesheet" type="text/css" media="screen,all" href="{$appRoot}/en_US/default/bedework.css"/>
-        <link href="{$appRoot}/images/bedework.ico" type="image/ico" rel="icon"/>
-        <meta name="verify-v1" content="us49HSI3d8ObLSUHq4VzeLeC8+8VPA+sb6FcdO8Mnak=" />
-        <script type="text/javascript">
-          <xsl:comment>
-          function validate() {
-            temp = trim(document.searchForm.query.value);
-            if (temp != '') {
-              document.searchForm.query.value = temp;
-              return true;
-            }
-            alert("Please enter a term to search against.");
-            return false;
-          }
-
-          function trim(str) {
-            if (str.length &lt; 1) {
-              return"";
-            }
-            str = rightTrim(str);
-            str = leftTrim(str);
-
-            if(str == "") {
-              return "";
-            } else {
-              return str;
-            }
-          }
-
-          function rightTrim(str) {
-            var w_space = String.fromCharCode(32);
-            var v_length = str.length;
-            var strTemp = "";
-
-            if(v_length &lt; 0) {
-              return "";
-            }
-            var iTemp = v_length - 1;
-            while(iTemp > -1){
-              if(str.charAt(iTemp) != w_space) {
-                strTemp = str.substring(0,iTemp +1);
-                break;
-              }
-              iTemp = iTemp-1;
-            }
-            return strTemp;
-          }
-
-          function leftTrim(str) {
-            var w_space = String.fromCharCode(32);
-            if(v_length &lt; 1) {
-              return "";
-            }
-            var v_length = str.length;
-            var strTemp = "";
-            var iTemp = 0;
-
-            while(iTemp &lt; v_length) {
-              if(str.charAt(iTemp) != w_space) {
-                strTemp = str.substring(iTemp,v_length);
-                break;
-              }
-              iTemp = iTemp + 1;
-            }
-            return strTemp;
-          }
-
-          // redirect function
-          function redirect(page) {
-            window.location.replace( page );
-          }
-          </xsl:comment>
-        </script>
-        <xsl:if test="/luwak/contentType='selectedArticle' and /luwak/contentSection/item/key = 27">
-        <!-- display this javascript on the contact page -->
-          <script type="text/javascript">
-          <xsl:comment>
-            function validateContactForm() {
-              if (document.swfForm['Name'].value == "") {
-                alert("Please enter your full name.");
-                document.swfForm['Name'].focus();
-                return false;
-              }
-      
-              if (document.swfForm['EmailAddress'].value == "") {
-                alert("Please enter your e-mail address.");
-                document.swfForm['EmailAddress'].focus();
-                return false;
-              }
-      
-              if (!echeck(document.swfForm['EmailAddress'].value)) {
-                alert("This email address does not appear to be valid.\nWithout a valid email address,\nwe will not be able to confirm your registration.");
-                document.swfForm['EmailAddress'].focus();
-                return false;
-              }
-      
-              if (document.swfForm['EmailAddress'].value != document.swfForm['EmailAddressConfirm'].value) {
-                alert("Your e-mail addresses do not match.\nPlease confirm that your e-mail address is correct, and re-submit.");
-                document.swfForm['EmailAddress'].focus();
-                return false;
-              }
-              
-              if (trim(document.swfForm['Comment'].value) == "") {
-                alert("Please enter your question or comments.");
-                document.swfForm['Comment'].focus();
-                return false;
-              }
-              
-              return true;
-            }
-      
-            // DHTML email validation script. Courtesy of SmartWebby.com (http://www.smartwebby.com/dhtml/)
-              function echeck(str) {
-                var at="@"
-                var dot="."
-                var lat=str.indexOf(at)
-                var lstr=str.length
-                var ldot=str.indexOf(dot)
-                if (str.indexOf(at)==-1) {
-                   return false
-                }
-                if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr) {
-                   return false
-                }
-                if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr) {
-                    return false
-                }
-                if (str.indexOf(at,(lat+1))!=-1) {
-                  return false
-                }
-                if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot) {
-                  return false
-                }
-                if (str.indexOf(dot,(lat+2))==-1) {
-                  return false
-                }
-                if (str.indexOf(" ")!=-1) {
-                  return false
-                }
-               return true
-             }
-            </xsl:comment>
-          </script>
-        </xsl:if>
-      </head>
-      <body>
-        <!--<xsl:if test="/luwak/action='/notFound'">
-          <xsl:attribute name="onload">redirect('/bedework/setup.do')</xsl:attribute>
-        </xsl:if>-->
-        <div id="bodyBlock">
-          <div id="header">
-            <h2 id="title">
-              <a href="setup.do"><img src="{$appRoot}/images/bedework.gif" width="363" height="78" alt="Bedework Calendar System" border="0"/></a>
-            </h2>
-            <img src="{$appRoot}/images/bedeworkMonk.gif" width="77" height="114" alt="Bedework Calendar System" border="0" id="bwLogoLeft"/>
-          </div>
-          <ul class="menu">
-            <xsl:apply-templates select="/luwak/absoluteNav/item[@type='CAT' and title='Menu']/item" mode="menu"/>
-          </ul>
-          <div id="content">
-<!-- ======================================================================= -->
-<!-- ========================== GENERATE CONTENT =========================== -->
-<!-- ======================================================================= -->
-            <xsl:choose>
-              <xsl:when test="/luwak/contentType='categories'">
-                <xsl:apply-templates select="/luwak/contentSection/item" mode="categories"/>
-              </xsl:when>
-              <xsl:when test="luwak[contentType='searchResult']">
-                <xsl:call-template name="searchResult"/>
-              </xsl:when>
-              <xsl:when test="/luwak/contentType='selectedArticle'">
-                <xsl:apply-templates select="/luwak/contentSection/item" mode="article"/>
-              </xsl:when>
-              <xsl:when test="luwak[contentType='siteMap']">
-                <xsl:call-template name="siteMap"/>
-              </xsl:when>
-              <xsl:otherwise>
-                <xsl:apply-templates select="/luwak/contentSection/item[key='1' and @type='ART']" mode="frontPage"/>
-              </xsl:otherwise>
-            </xsl:choose>
-<!-- ======================================================================= -->
-<!-- ======================================================================= -->
-<!-- ======================================================================= -->
-          </div>
-          <div id="footer">
-            <p>
-              Bedework is maintained under a "BSD-style"
-              <a href="update.do?artcenterkey=6">open source license</a>.
-            </p>
-          </div>
-        </div>
-        <ul class="menu" id="footMenu">
-          <xsl:apply-templates select="/luwak/absoluteNav/item[@type='CAT' and title='Menu']/item" mode="menu"/>
-        </ul>
-        <div id="subFoot">&#160;</div>
-      </body>
-    </html>
-  </xsl:template>
-
-  <xsl:template match="item" mode="menu">
-
-      <xsl:variable name="menuItemClass">
-        <xsl:choose>
-          <xsl:when test="position()=1">first</xsl:when>
-          <xsl:otherwise>none</xsl:otherwise>
-        </xsl:choose>
-      </xsl:variable>
-      <li class="{$menuItemClass}">
-        <xsl:choose>
-          <xsl:when test="/luwak/contentType='frontPage' and position()=1">
-            <strong><xsl:value-of select="title"/></strong>
-          </xsl:when>
-          <xsl:when test="key=/luwak/contentSection/item/path/keys/key[position()=3] and /luwak/contentType!='searchResult'">
-            <strong><xsl:value-of select="title"/></strong>
-          </xsl:when>
-          <xsl:otherwise>
-            <xsl:choose>
-              <xsl:when test="item[position()=1]/@type='CAT'">
-                <xsl:variable name="itemKey" select="item/key"/>
-                <a href="update.do?catcenterkey={$itemKey}">
-                  <xsl:value-of select="title"/>
-                </a>
-              </xsl:when>
-              <xsl:when test="item[position()=1]/@type='ART'">
-                <xsl:variable name="itemKey" select="item/key"/>
-                <a href="update.do?artcenterkey={$itemKey}">
-                  <xsl:value-of select="title"/>
-                </a>
-              </xsl:when>
-              <xsl:otherwise><!-- URL -->
-                <xsl:variable name="itemLink" select="item/url"/>
-                <a href="{$itemLink}">
-                  <xsl:value-of select="title"/>
-                </a>
-              </xsl:otherwise>
-            </xsl:choose>
-          </xsl:otherwise>
-        </xsl:choose>
-      </li>
-  </xsl:template>
-
-  <xsl:template match="item" mode="frontPage">
-    <!-- FRONTPAGE-TOP -->
-    <xsl:apply-templates select="/luwak/absoluteNav/item[title='Menu']/item[key=5 and @type='CAT']" mode="sub-nav"/>
-    <h1><xsl:value-of select="heading"/></h1>
-    <xsl:copy-of select="content/*"/>
-    <ul id="news">
-      <xsl:apply-templates select="/luwak/contentSection/item[catKey='3']" mode="news"/>
-    </ul>
-<!--<h3>Screen Shots</h3>
-    <p id="screenShots">
-      <img alt="Demo Template"
-           src="http://www.rpi.edu/dept/cct/apps/bedeworkLuwak/images/contentImages/demoTemplate.gif"
-           width="150"
-           height="152" />
-      <img alt="Rensselaer Template"
-           src="http://www.rpi.edu/dept/cct/apps/bedeworkLuwak/images/contentImages/rpiTemplate.jpg"
-           width="150"
-           height="150" />
-      <img alt="University of Washington Template"
-           src="http://www.rpi.edu/dept/cct/apps/bedeworkLuwak/images/contentImages/uwTemplate.gif"
-           width="150"
-           height="149" />
-    </p>-->
-  </xsl:template>
-
-  <xsl:template match="item" mode="news">
-    <li>
-      <xsl:choose>
-        <xsl:when test="@type='CAT'">
-          <xsl:variable name="itemKey" select="key"/>
-          <a href="update.do?catcenterkey={$itemKey}">
-            <xsl:if test="subHeading/class"><xsl:attribute name="class"><xsl:value-of select="subHeading/class"/></xsl:attribute></xsl:if>
-            <xsl:value-of select="title"/>
-          </a>
-        </xsl:when>
-        <xsl:when test="@type='ART'">
-          <xsl:variable name="itemKey" select="key"/>
-          <a href="update.do?artcenterkey={$itemKey}">
-            <xsl:if test="subHeading/class"><xsl:attribute name="class"><xsl:value-of select="subHeading/class"/></xsl:attribute></xsl:if>
-            <xsl:value-of select="title"/>
-          </a>
-        </xsl:when>
-        <xsl:otherwise><!-- URL -->
-          <xsl:variable name="itemLink" select="url"/>
-          <a href="{$itemLink}">
-            <xsl:if test="subHeading/class"><xsl:attribute name="class"><xsl:value-of select="subHeading/class"/></xsl:attribute></xsl:if>
-            <xsl:value-of select="title"/>
-          </a>
-        </xsl:otherwise>
-      </xsl:choose>
-      <!--<span class="date">(<xsl:value-of select="modDate/month"/><xsl:text> </xsl:text><xsl:value-of select="modDate/day"/>, <xsl:value-of select="modDate/year"/>)</span>-->
-      <xsl:copy-of select="summary/*"/>
-    </li>
-  </xsl:template>
-
-  <xsl:template match="item" mode="article">
-    <xsl:variable name="catKey" select="catKey"/>
-    <xsl:if test="/luwak/absoluteNav/item[title='Menu']/item[key=$catKey and @type='CAT']/item[position()=2]"><!-- there must be more than one item in the category -->
-      <xsl:apply-templates select="/luwak/absoluteNav/item[title='Menu']/item[key=$catKey and @type='CAT']" mode="sub-nav"/>
-    </xsl:if>
-    <h1><a name="top" id="top"><xsl:value-of select="heading"/></a></h1>
-    <xsl:copy-of select="content/*"/>
-    <div id="date">updated: <xsl:value-of select="modDate/year"/>-<xsl:apply-templates select="modDate/month" mode="monthToNumber"/>-<xsl:value-of select="modDate/day2"/></div>
-  </xsl:template>
-
-  <xsl:template match="item" mode="categories">
-    <p>categories are not directly selectable</p>
-  </xsl:template>
-
-  <xsl:template match="item" mode="sub-nav">
-    <div class="highlightBox">
-      <h2><xsl:value-of select="title"/></h2>
-      <ul>
-        <xsl:for-each select="item">
-          <li>
-            <xsl:choose>
-              <xsl:when test="/luwak/contentType='frontPage' and position()=1">
-                <strong class="selected"><xsl:value-of select="title"/></strong>
-              </xsl:when>
-              <xsl:when test="@type=/luwak/contentSection/item/@type and key=/luwak/contentSection/item/key">
-                <strong class="selected"><xsl:value-of select="title"/></strong>
-              </xsl:when>
-              <xsl:otherwise>
-                <xsl:choose>
-                  <xsl:when test="@type='CAT'">
-                    <xsl:variable name="itemKey" select="key"/>
-                    <a href="update.do?catcenterkey={$itemKey}">
-                      <xsl:value-of select="title"/>
-                    </a>
-                  </xsl:when>
-                  <xsl:when test="@type='ART'">
-                    <xsl:variable name="itemKey" select="key"/>
-                    <a href="update.do?artcenterkey={$itemKey}">
-                      <xsl:value-of select="title"/>
-                    </a>
-                  </xsl:when>
-                  <xsl:otherwise><!-- URL -->
-                    <xsl:variable name="itemLink" select="url"/>
-                    <a href="{$itemLink}">
-                      <xsl:value-of select="title"/>
-                      <xsl:if test="key != 9"><xsl:text> </xsl:text>&#8658;</xsl:if><!-- don't show for News link -->
-                    </a>
-                  </xsl:otherwise>
-                </xsl:choose>
-              </xsl:otherwise>
-            </xsl:choose>
-          </li>
-        </xsl:for-each>
-      </ul>
-      <div id="search">
-        <form name="searchForm" action="search.do" method="post" onsubmit="return validate()">
-          <input id="searchInput" type="text" name="query" size="13"/>
-          <input type="hidden" name="qct" value="200"/>
-          <input id="searchButton" type="submit" value="search"/>
-        </form>
-        <a href="siteMap.do">
-          site map
-        </a>
-      </div>
-      <xsl:if test="/luwak/contentType = 'frontPage'">
-        <div id="screenShot">
-        <a href="update.do?artcenterkey=2" title="Download Bedework">
-          <img src="http://www.rpi.edu/dept/cct/apps/bedeworkLuwak2/images/contentImages/screenShot-personal2.gif"
-          width="182"
-          height="162"
-          alt="Bedework personal web client" border="0" align="right"/></a>
-        </div>
-      </xsl:if>
-    </div>
-  </xsl:template>
-
-  <xsl:template name="searchResult">
-    <h1>Search result</h1>
-    <p class="searchResultSize">
-      <strong>
-      <xsl:choose>
-        <xsl:when test="/luwak/searchResult/resultSize=-1">
-          Your search for "<xsl:value-of select="/luwak/searchResult/query"/>" returned 0 items.
-        </xsl:when>
-        <xsl:otherwise>
-          <xsl:variable name="searchResultSize" select="number(/luwak/searchResult/resultSize) - count(/luwak/contentSection/item[@type='CAT'])"/>
-          Your search for "<xsl:value-of select="/luwak/searchResult/query"/>" found <xsl:value-of select="$searchResultSize"/> items.
-        </xsl:otherwise>
-      </xsl:choose>
-      </strong>
-      <br/><span class="wikiNote">You may also wish to <a href="http://www.bedework.org/trac/bedework/">search the Bedework wiki</a>.</span>
-    </p>
-    <ul id="searchResultList">
-      <xsl:apply-templates select="/luwak/contentSection/item" mode="searchResultList"/>
-    </ul>
-  </xsl:template>
-
-  <xsl:template match="item" mode="searchResultList">
-    <xsl:choose>
-      <xsl:when test="@type='CAT' or title='FRONTPAGE'">
-        <!-- do nothing -->
-      </xsl:when>
-      <xsl:when test="@type='URL'">
-        <xsl:variable name="urlRef">
-          <xsl:value-of select="url"/>
-        </xsl:variable>
-        <li>
-          <a href="{$urlRef}" target="_top">
-            <xsl:value-of select="title"/>
-          </a>
-          <xsl:if test="/luwak[contentType='searchResult']">
-            <xsl:apply-templates select="path" mode="search"/>
-          </xsl:if>
-          <div class="summary">
-            <xsl:copy-of select="summary/*"/>
-          </div>
-        </li>
-      </xsl:when>
-      <xsl:otherwise>
-        <xsl:variable name="artKey">
-          <xsl:value-of select="key"/>
-        </xsl:variable>
-        <li>
-          <a href="{$urlPrefix}/update.do?artcenterkey={$artKey}" target="_top">
-            <xsl:value-of select="title"/>
-          </a>
-          <xsl:if test="/luwak[contentType='searchResult']">
-            <xsl:apply-templates select="path" mode="search"/>
-          </xsl:if>
-          <div class="summary">
-            <xsl:value-of select="substring(content,1,500)"/>...
-          </div>
-        </li>
-      </xsl:otherwise>
-    </xsl:choose>
-  </xsl:template>
-
-  <xsl:template match="path" mode="search">
-    <xsl:if test="titles/title[position()=3]">
-      <span class="path">
-        <xsl:variable name="catKey" select="keys/key[position()=3]"/>
-        <xsl:choose>
-          <xsl:when test="/luwak/absoluteNav/item[@type='CAT' and title='Menu']/item[key=$catKey]/item[position()=1 and @type='ART']">
-            <xsl:variable name="firstArtKey" select="/luwak/absoluteNav/item[@type='CAT' and title='Menu']/item[key=$catKey]/item[position()=1]/key"/>
-            [ in <a href="update.do?artcenterkey={$firstArtKey}"><xsl:value-of select="titles/title[position()=3]"/></a> ]
-          </xsl:when>
-          <xsl:when test="/luwak/absoluteNav/item[@type='CAT' and title='Menu']/item[key=$catKey]/item[position()=1 and @type='CAT']">
-            <xsl:variable name="firstCatKey" select="/luwak/absoluteNav/item[@type='CAT' and title='Menu']/item[key=$catKey]/item[position()=1]/key"/>
-            [ in <a href="update.do?catcenterkey={$firstCatKey}"><xsl:value-of select="titles/title[position()=3]"/></a> ]
-          </xsl:when>
-          <xsl:otherwise><!-- URL -->
-            <xsl:variable name="pathLink" select="/luwak/absoluteNav/item[@type='CAT' and title='Menu']/item[key=$catKey]/item[position()=1]/url"/>
-            [ in <a href="{$pathLink}"><xsl:value-of select="titles/title[position()=3]"/></a> ]
-          </xsl:otherwise>
-        </xsl:choose>
-      </span>
-    </xsl:if>
-  </xsl:template>
-
-  <!-- =========== SITE MAP =============== -->
-  <xsl:template name="siteMap">
-    <h1>
-      Bedework Site Map
-    </h1>
-    <ul id="siteMap">
-      <xsl:apply-templates select="/luwak/absoluteNav/item[title = 'News &amp; Updates']" mode="siteMapList"/>
-      <xsl:apply-templates select="/luwak/absoluteNav/item[title = 'Menu']/item" mode="siteMapList"/>
-    </ul>
-  </xsl:template>
-
-  <xsl:template match="item" mode="siteMapList">
-    <xsl:choose>
-      <xsl:when test="@type='CAT'">
-        <li class="category">
-          <strong>
-            <xsl:value-of select="title"/>
-          </strong>
-          <ul>
-            <xsl:apply-templates select="item" mode="siteMapList"/>
-          </ul>
-        </li>
-      </xsl:when>
-      <xsl:when test="@type='URL'">
-        <xsl:variable name="urlRef">
-          <xsl:value-of select="url"/>
-        </xsl:variable>
-        <li class="link">
-          <a href="{$urlRef}" target="_top">
-            <xsl:value-of select="title"/>
-          </a>
-        </li>
-      </xsl:when>
-      <xsl:otherwise>
-        <xsl:variable name="artKey">
-          <xsl:value-of select="key"/>
-        </xsl:variable>
-        <li class="article">
-          <a href="{$urlPrefix}/update.do?artcenterkey={$artKey}" target="_top">
-
-            <xsl:value-of select="title"/>
-          </a>
-        </li>
-      </xsl:otherwise>
-    </xsl:choose>
-  </xsl:template>
-
-  <xsl:template match="month" mode="monthToNumber">
-    <xsl:choose>
-      <xsl:when test="contains(.,'Jan')">01</xsl:when>
-      <xsl:when test="contains(.,'Feb')">02</xsl:when>
-      <xsl:when test="contains(.,'Mar')">03</xsl:when>
-      <xsl:when test="contains(.,'Apr')">04</xsl:when>
-      <xsl:when test="contains(.,'May')">05</xsl:when>
-      <xsl:when test="contains(.,'Jun')">06</xsl:when>
-      <xsl:when test="contains(.,'Jul')">07</xsl:when>
-      <xsl:when test="contains(.,'Aug')">08</xsl:when>
-      <xsl:when test="contains(.,'Sep')">09</xsl:when>
-      <xsl:when test="contains(.,'Oct')">10</xsl:when>
-      <xsl:when test="contains(.,'Nov')">11</xsl:when>
-      <xsl:otherwise>12</xsl:otherwise>
-    </xsl:choose>
-  </xsl:template>
-
-</xsl:stylesheet>
-
-
-
-

Modified: trunk/selfreg/skin/default/default/default.xsl
===================================================================
--- trunk/selfreg/skin/default/default/default.xsl	2009-03-13 05:14:49 UTC (rev 9)
+++ trunk/selfreg/skin/default/default/default.xsl	2009-03-13 05:41:08 UTC (rev 10)
@@ -74,6 +74,9 @@
               <xsl:when test="/selfreg/page='initForm'">
                 <xsl:call-template name="initForm"/>
               </xsl:when>
+              <xsl:when test="/selfreg/page='regFormSaved'">
+                <xsl:call-template name="regFormSaved"/>
+              </xsl:when>
               <xsl:otherwise>
                 <xsl:call-template name="home"/>
               </xsl:otherwise>
@@ -330,4 +333,12 @@
     </form>
   </xsl:template>
 
+  <xsl:template name="regFormSaved">
+    <h1>Registration Saved</h1>
+    <p>
+      Step one is complete and you have been sent an email.  Please follow
+      the link in the email to confirm your registration.
+    </p>
+  </xsl:template>
+
 </xsl:stylesheet>

Modified: trunk/selfreg/war/docs/initForm.jsp
===================================================================
--- trunk/selfreg/war/docs/initForm.jsp	2009-03-13 05:14:49 UTC (rev 9)
+++ trunk/selfreg/war/docs/initForm.jsp	2009-03-13 05:41:08 UTC (rev 10)
@@ -1,7 +1,7 @@
 <%@ include file="/docs/header.jsp" %>
 
 <page>initForm</page>
-<%-- A user will start at this page and identify themselves with their email
+  <%-- A user will start at this page and identify themselves with their email
       adddress.
     --%>
 

Added: trunk/selfreg/war/docs/regFormSaved.jsp
===================================================================
--- trunk/selfreg/war/docs/regFormSaved.jsp	                        (rev 0)
+++ trunk/selfreg/war/docs/regFormSaved.jsp	2009-03-13 05:41:08 UTC (rev 10)
@@ -0,0 +1,5 @@
+<%@ include file="/docs/header.jsp" %>
+
+<page>regFormSaved</page>
+
+<%@ include file="/docs/footer.jsp" %>



More information about the Bedework-commit mailing list