You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by eg...@apache.org on 2003/08/12 15:35:03 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/xslt/authoring removelabel.xsl

egli        2003/08/12 06:35:03

  Modified:    src/webapp/lenya/xslt/authoring removelabel.xsl
  Log:
  Fix the parameter names to match the names in the ant file
  and make the user question more verbose.
  
  Revision  Changes    Path
  1.2       +4 -6      cocoon-lenya/src/webapp/lenya/xslt/authoring/removelabel.xsl
  
  Index: removelabel.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/authoring/removelabel.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- removelabel.xsl	12 Aug 2003 10:09:00 -0000	1.1
  +++ removelabel.xsl	12 Aug 2003 13:35:03 -0000	1.2
  @@ -28,9 +28,7 @@
   	      <xsl:with-param name="prefix" select="''"/>
   	    </xsl:call-template>
   	    
  -	    <div class="menu">Do you really want to remove the following label<xsl:text/></div>
  -	    
  -	    <xsl:value-of select="label"/>
  +	    <div class="menu">Do you really want to remove the label '<xsl:value-of select="$label"/>' (Language: <xsl:value-of select="$language"/>) from document '<xsl:value-of select="$document-id"/>'?</div>
   	    
   	    <input type="submit" value="YES, remove label"/>
               &#160;&#160;&#160;<input type="button" onClick="location.href='{referer}';" value="Cancel"/>
  @@ -43,9 +41,9 @@
     
     <xsl:template name="task-parameters">
       <xsl:param name="prefix" select="'task.'"/>
  -    <input type="hidden" name="{$prefix}properties.removelabel.sources" value="{$sources}"/>
  -    <input type="hidden" name="{$prefix}properties.removelabel.documentid" value="{$document-id}"/>
  -    <input type="hidden" name="{$prefix}properties.removelabel.language" value="{$language}"/>
  +    <input type="hidden" name="{$prefix}properties.remove.label.document-id" value="{$document-id}"/>
  +    <input type="hidden" name="{$prefix}properties.remove.label.label-name" value="{$label}"/>
  +    <input type="hidden" name="{$prefix}properties.remove.label.language" value="{$language}"/>
     </xsl:template>
     
   </xsl:stylesheet>  
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org