jeremy      02/03/22 04:30:24

  Modified:    src/scratchpad/webapp/mount/editor/editor/docs
                        alpha-config.xml bravo-config.xml
               src/scratchpad/webapp/mount/editor/editor/stylesheets
                        editor-utils.xsl
  Log:
  minor fix for missing new file name
  
  Revision  Changes    Path
  1.6       +1 -1      
xml-cocoon2/src/scratchpad/webapp/mount/editor/editor/docs/alpha-config.xml
  
  Index: alpha-config.xml
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/scratchpad/webapp/mount/editor/editor/docs/alpha-config.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- alpha-config.xml  22 Mar 2002 12:10:00 -0000      1.5
  +++ alpha-config.xml  22 Mar 2002 12:30:24 -0000      1.6
  @@ -80,5 +80,5 @@
   <!-- what to call the parent directory link -->
        <parent-dir tip="View Parent Directory listing">Parent ..</parent-dir>
   <!-- what to call new files -->
  -     <default-new-file>/new.xml</default-new-file>
  +     <default-new-file>new.xml</default-new-file>
   </config>
  
  
  
  1.7       +1 -1      
xml-cocoon2/src/scratchpad/webapp/mount/editor/editor/docs/bravo-config.xml
  
  Index: bravo-config.xml
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/scratchpad/webapp/mount/editor/editor/docs/bravo-config.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- bravo-config.xml  22 Mar 2002 12:10:00 -0000      1.6
  +++ bravo-config.xml  22 Mar 2002 12:30:24 -0000      1.7
  @@ -80,5 +80,5 @@
   <!-- what to call the parent directory link -->
        <parent-dir tip="View Parent Directory listing">Parent ..</parent-dir>
   <!-- what to call new files -->
  -     <default-new-file>/new.xml</default-new-file>
  +     <default-new-file>new.xml</default-new-file>
   </config>
  
  
  
  1.7       +2 -2      
xml-cocoon2/src/scratchpad/webapp/mount/editor/editor/stylesheets/editor-utils.xsl
  
  Index: editor-utils.xsl
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/scratchpad/webapp/mount/editor/editor/stylesheets/editor-utils.xsl,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- editor-utils.xsl  22 Mar 2002 12:10:00 -0000      1.6
  +++ editor-utils.xsl  22 Mar 2002 12:30:24 -0000      1.7
  @@ -28,10 +28,10 @@
   <!-- what to give as the default name of a new file -->
        <xsl:variable name="newfile">
                <xsl:choose>
  -                     <xsl:when test="$target = '/'"><xsl:value-of 
select="$target"/><xsl:value-of select="$config/default-new-file"/></xsl:when>
  +                     <xsl:when test="$target = '/'">/<xsl:value-of 
select="$config/default-new-file"/></xsl:when>
                        <xsl:when test="substring($target,string-length($target)) = 
'/'"><xsl:value-of select="$target"/><xsl:value-of 
select="$config/default-new-file"/></xsl:when>
                        <xsl:when test="$target != ''"><xsl:value-of 
select="$target"/></xsl:when>
  -                     <xsl:otherwise><xsl:value-of 
select="$config/default-new-file"/></xsl:otherwise>
  +                     <xsl:otherwise>/<xsl:value-of 
select="$config/default-new-file"/></xsl:otherwise>
                </xsl:choose>
        </xsl:variable>
   
  
  
  

----------------------------------------------------------------------
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