stephan     2003/02/03 02:52:23

  Modified:    src/blocks/slide/samples sitemap.xmap
  Added:       src/blocks/slide/samples login-failed.xhtml login.xhtml
                        logout.xhtml
  Removed:     src/blocks/slide/samples login-failed.html login.html
                        logout.html
  Log:
  Used xhtml instead of html, because the HTMLizer doesn't work properly.
  
  Revision  Changes    Path
  1.2       +4 -4      xml-cocoon2/src/blocks/slide/samples/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/blocks/slide/samples/sitemap.xmap,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sitemap.xmap      31 Jan 2003 18:08:44 -0000      1.1
  +++ sitemap.xmap      3 Feb 2003 10:52:23 -0000       1.2
  @@ -99,7 +99,7 @@
      <authentication-manager>
       <handlers>
        <handler name="slidehandler" xmlns:map="http://apache.org/cocoon/sitemap/1.0";>
  -      <redirect-to    uri="cocoon://samples/slide/login.html"/>
  +      <redirect-to    uri="cocoon://samples/slide/login.xhtml"/>
         <authentication uri="cocoon:raw:/authenticate"/>
        </handler>
       </handlers>
  @@ -154,7 +154,7 @@
         </map:match>
    
      <map:match pattern="login.html">
  -    <map:generate src="login.html"/>
  +    <map:generate src="login.xhtml"/>
       <map:transform src="redirect4login.xsl">
        <map:parameter name="destination" value="{request-param:resource}"/>
       </map:transform>
  @@ -169,7 +169,7 @@
        <map:redirect-to uri="{request-param:resource}"/>
       </map:act>
   
  -    <map:generate src="login-failed.html"/>
  +    <map:generate src="login-failed.xhtml"/>
       <map:transform src="redirect4login.xsl">
        <map:parameter name="destination" value="{request-param:resource}"/>
       </map:transform>
  @@ -180,7 +180,7 @@
       <map:act type="auth-logout">
        <map:parameter name="handler" value="slidehandler"/>
   
  -     <map:read src="logout.html"/>
  +     <map:read src="logout.xhtml"/>
       </map:act>
   
       <map:redirect-to uri="login.html"/>
  
  
  
  1.1                  xml-cocoon2/src/blocks/slide/samples/login-failed.xhtml
  
  Index: login-failed.xhtml
  ===================================================================
  <?xml version="1.0"?>
    <html>
     <head>
      <title>Apache Cocoon 2.1-dev</title>
      <link rel="SHORTCUT ICON" href="favicon.ico"/>
     </head>
     <body bgcolor="#ffffff" link="#0086b2" vlink="#00698c" alink="#743e75">
      <table border="0" cellspacing="2" cellpadding="2" align="center" width="100%">
       <tr>
        <td width="*"><font face="arial,helvetica,sanserif" color="#000000">The Apache 
Software Foundation is proud to present...</font></td>
        <td width="40%" align="center"><img border="0" 
src="/cocoon/samples/images/cocoon.gif"/></td>
        <td width="30%" align="center"><font face="arial,helvetica,sanserif" 
color="#000000"><b>version 2.1-dev</b></font></td>
       </tr>
       <tr>
         <table bgcolor="#000000" border="0" cellspacing="2" cellpadding="2" 
align="center" width="100%">
           <tr>
              <td width="95%" align="left" bgcolor="#0086b2">
               <br/>
              </td>
              <td nowrap="nowrap" bgcolor="#ffffff"><a href="..">
               <i>back</i></a>
              </td>
           </tr>
         </table>
       </tr>
      </table>
  
    <table width="200" align="center">
     <tr>
      <td valign="top">
       <table border="0" bgcolor="#000000" cellpadding="0" cellspacing="0" width="97%">
        <tbody>
         <tr>
          <td>
           <table bgcolor="#000000" border="0" cellspacing="2" cellpadding="2" 
align="center" width="100%">
            <tr>
             <td bgcolor="#0086b2" width="100%" align="left">
              <font size="+1" face="arial,helvetica,sanserif" 
color="#ffffff">Login</font>
             </td>
            </tr>
            <tr>
             <td width="100%" bgcolor="#ffffff" align="left">
              <table bgcolor="#ffffff" border="0" cellspacing="0" cellpadding="2"  
width="100%" align="center">
  
               <form action="login" method="post">
                <input type="hidden" name="resource" value="content/"/>
  
                <tr>
                 <td>Username</td>
                 <td><input name="userid" type="text" size="15" maxlength="40"/></td>
                </tr>
  
                <tr>
                 <td>Password</td>
                 <td><input name="password" type="password" size="15" 
maxlength="40"/></td>
                </tr>
  
                <tr>
                 <td></td>
                 <td><input type="submit" name="cocoon-login" value="Login"/></td>
                </tr>
  
                <tr>
                 <td></td>
                 <td>Login failed!</td>
                </tr>
                <tr>
                 <td></td>
                 <td>Try root,root or john,john</td>
                </tr>
               </form>
  
              </table>
             </td>
            </tr>
           </table>
  
          </td>
         </tr>
        </tbody>
       </table>
  
       <br/>
      </td>
     </tr>
    </table>
  
  
      <p align="center">
       <font size="-1">
        Copyright &#169; 1999-2002 <a href="http://www.apache.org/";>The Apache 
Software Foundation</a>.<br/>
        All rights reserved.
       </font>
      </p>
     </body>
    </html>
  
  
  
  1.1                  xml-cocoon2/src/blocks/slide/samples/login.xhtml
  
  Index: login.xhtml
  ===================================================================
  <?xml version="1.0"?>
    <html>
     <head>
      <title>Apache Cocoon 2.1-dev</title>
      <link rel="SHORTCUT ICON" href="favicon.ico"/>
     </head>
     <body bgcolor="#ffffff" link="#0086b2" vlink="#00698c" alink="#743e75">
      <table border="0" cellspacing="2" cellpadding="2" align="center" width="100%">
       <tr>
        <td width="*"><font face="arial,helvetica,sanserif" color="#000000">The Apache 
Software Foundation is proud to present...</font></td>
        <td width="40%" align="center"><img border="0" 
src="/cocoon/samples/images/cocoon.gif"/></td>
        <td width="30%" align="center"><font face="arial,helvetica,sanserif" 
color="#000000"><b>version 2.1-dev</b></font></td>
       </tr>
       <tr>
         <table bgcolor="#000000" border="0" cellspacing="2" cellpadding="2" 
align="center" width="100%">
           <tr>
              <td width="95%" align="left" bgcolor="#0086b2">
               <br/>
              </td>
              <td nowrap="nowrap" bgcolor="#ffffff"><a href="..">
               <i>back</i></a>
              </td>
           </tr>
         </table>
       </tr>
      </table>
  
    <table width="200" align="center">
     <tr>
      <td valign="top">
       <table border="0" bgcolor="#000000" cellpadding="0" cellspacing="0" width="97%">
        <tbody>
         <tr>
          <td>
           <table bgcolor="#000000" border="0" cellspacing="2" cellpadding="2" 
align="center" width="100%">
            <tr>
             <td bgcolor="#0086b2" width="100%" align="left">
              <font size="+1" face="arial,helvetica,sanserif" 
color="#ffffff">Login</font>
             </td>
            </tr>
            <tr>
             <td width="100%" bgcolor="#ffffff" align="left">
              <table bgcolor="#ffffff" border="0" cellspacing="0" cellpadding="2"  
width="100%" align="center">
  
               <form action="login" method="post">
                <input type="hidden" name="resource" value="content/"/>
  
                <tr>
                 <td>Username</td>
                 <td><input name="userid" type="text" size="15" maxlength="40"/></td>
                </tr>
  
                <tr>
                 <td>Password</td>
                 <td><input name="password" type="password" size="15" 
maxlength="40"/></td>
                </tr>
  
                <tr>
                 <td></td>
                 <td><input type="submit" name="cocoon-login" value="Login"/></td>
                </tr>
  
                <tr>
                 <td></td>
                 <td>Try root,root or john,john</td>
                </tr>
               </form>
  
              </table>
             </td>
            </tr>
           </table>
  
          </td>
         </tr>
        </tbody>
       </table>
  
       <br/>
      </td>
     </tr>
    </table>
  
  
      <p align="center">
       <font size="-1">
        Copyright &#169; 1999-2002 <a href="http://www.apache.org/";>The Apache 
Software Foundation</a>.<br/>
        All rights reserved.
       </font>
      </p>
     </body>
    </html>
  
  
  
  1.1                  xml-cocoon2/src/blocks/slide/samples/logout.xhtml
  
  Index: logout.xhtml
  ===================================================================
  <?xml version="1.0"?>
    <html>
     <head>
      <title>Apache Cocoon @version@</title>
      <link rel="SHORTCUT ICON" href="favicon.ico"/>
     </head>
     <body bgcolor="#ffffff" link="#0086b2" vlink="#00698c" alink="#743e75">
      <table border="0" cellspacing="2" cellpadding="2" align="center" width="100%">
       <tr>
        <td width="*"><font face="arial,helvetica,sanserif" color="#000000">The Apache 
Software Foundation is proud to present...</font></td>
        <td width="40%" align="center"><img border="0" 
src="/cocoon/samples/images/cocoon.gif"/></td>
        <td width="30%" align="center"><font face="arial,helvetica,sanserif" 
color="#000000"><b>version @version@</b></font></td>
       </tr>
       <tr>
         <table bgcolor="#000000" border="0" cellspacing="2" cellpadding="2" 
align="center" width="100%">
           <tr>
              <td width="95%" align="left" bgcolor="#0086b2">
               <br/>
              </td>
              <td nowrap="nowrap" bgcolor="#ffffff"><a 
href="/cocoon/samples/slide/login.html">
               <i>login</i></a>
              </td>
              <td nowrap="nowrap" bgcolor="#ffffff"><a href="..">
               <i>back</i></a>
              </td>
           </tr>
         </table>
       </tr>
      </table>
  
    <table width="200" align="center">
     <tr>
      <td valign="top">
       <table border="0" bgcolor="#000000" cellpadding="0" cellspacing="0" width="97%">
        <tbody>
         <tr>
          <td>
           <table bgcolor="#000000" border="0" cellspacing="2" cellpadding="2" 
align="center" width="100%">
            <tr>
             <td bgcolor="#0086b2" width="100%" align="left">
              <font size="+1" face="arial,helvetica,sanserif" 
color="#ffffff">Logout</font>
             </td>
            </tr>
            <tr>
             <td width="100%" bgcolor="#ffffff" align="left">
              <table bgcolor="#ffffff" border="0" cellspacing="0" cellpadding="2"  
width="100%" align="center">
  
               <tr>
                <td>Good bye.</td>
               </tr>
  
              </table>
             </td>
            </tr>
           </table>
  
          </td>
         </tr>
        </tbody>
       </table>
  
       <br/>
      </td>
     </tr>
    </table>
  
  
      <p align="center">
       <font size="-1">
        Copyright &#169; @year@ <a href="http://www.apache.org/";>The Apache Software 
Foundation</a>.<br/>
        All rights reserved.
       </font>
      </p>
     </body>
    </html>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to