Update of 
/var/cvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/editors/editwizards_new/xsl
In directory 
james.mmbase.org:/tmp/cvs-serv18004/src/webapp/editors/editwizards_new/xsl

Modified Files:
        wizard.xsl 
Log Message:
CMSC-921   Improve calendar of newsletter.


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/editors/editwizards_new/xsl
See also: http://www.mmbase.org/jira/browse/CMSC-921


Index: wizard.xsl
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/editors/editwizards_new/xsl/wizard.xsl,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- wizard.xsl  28 Apr 2008 13:03:33 -0000      1.10
+++ wizard.xsl  28 May 2008 11:02:52 -0000      1.11
@@ -773,13 +773,13 @@
   
   <xsl:template name="ftype-calendar">
      <nobr><select name="calendar-type" id="calendar-type">
-       <option value="1">Once</option>
-       <option value="2">Daily</option>
-       <option value="3">Weekly</option>
-       <option value="4">Monthly</option>
+       <option value="1"><xsl:value-of select="$prompt_newsletter_once" 
/></option>
+       <option value="2"><xsl:value-of select="$prompt_newsletter_daily" 
/></option>
+       <option value="3"><xsl:value-of select="$prompt_newsletter_weekly" 
/></option>
+       <option value="4"><xsl:value-of select="$prompt_newsletter_monthly" 
/></option>
       </select> &#x0020;
       <input type="hidden" name="[EMAIL PROTECTED]" value="{value}" 
title="new-calendar" id="[EMAIL PROTECTED]"/>
-      <a href="#" onclick="javascript:window.open ('[EMAIL 
PROTECTED]&amp;type='+document.getElementById('calendar-type').value, 
'calendar', 'height=400, width=500, top='+eval((window.screen.availHeight - 
400)/2)+', left='+eval((window.screen.availWidth - 500)/2)+',toolbar=no, 
menubar=no, scrollbars=no, location=no, status=no')">select</a> <a href="#" 
onclick="javascript:document.getElementById('calendar-expression').innerHTML='';document.getElementById('[EMAIL
 PROTECTED]').value=''">delete</a></nobr>
+      <a href="#" class="button" onclick="javascript:window.open ('[EMAIL 
PROTECTED]&amp;type='+document.getElementById('calendar-type').value, 
'calendar', 'height=400, width=500, top='+eval((window.screen.availHeight - 
400)/2)+', left='+eval((window.screen.availWidth - 500)/2)+',toolbar=no, 
menubar=no, scrollbars=no, location=no, status=no')"><xsl:value-of 
select="$prompt_newsletter_select" />  </a> <a class="button" href="#" 
onclick="javascript:document.getElementById('calendar-expression').innerHTML='';document.getElementById('[EMAIL
 PROTECTED]').value=''"><xsl:value-of select="$prompt_newsletter_delete" 
/></a></nobr>
       <div id="calendar-expression"></div>     
   </xsl:template>
 </xsl:stylesheet>
\ No newline at end of file
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to