Update of
/var/cvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/editors/editwizards_new/xsl
In directory
james.mmbase.org:/tmp/cvs-serv12865/src/webapp/editors/editwizards_new/xsl
Modified Files:
Tag: b1_5
wizard.xsl
Log Message:
CMSC-1180 Newsletter: change newsletter schedule mechanism
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-1180
Index: wizard.xsl
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/editors/editwizards_new/xsl/wizard.xsl,v
retrieving revision 1.13.2.2
retrieving revision 1.13.2.3
diff -u -b -r1.13.2.2 -r1.13.2.3
--- wizard.xsl 27 Sep 2008 03:21:19 -0000 1.13.2.2
+++ wizard.xsl 15 Dec 2008 05:11:44 -0000 1.13.2.3
@@ -772,14 +772,15 @@
</xsl:template>
<xsl:template name="ftype-calendar">
- <nobr><select name="calendar-type" id="calendar-type">
+ <nobr><select name="calendar-type" id="calendar-type"
onchange="resetCalendar(this.value,'{...@fieldname}')">
+ <option value="0"><xsl:value-of select="$prompt_newsletter_never"
/></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>  
<input type="hidden" name="{...@fieldname}" value="{value}"
title="new-calendar" id="{...@fieldname}"/>
- <a href="#" class="button" onclick="javascript:window.open
('calendar.jsp?i...@fieldname}&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('{...@fieldname}').value=''"><xsl:value-of
select="$prompt_newsletter_delete" /></a></nobr>
+ <a href="#" id="calendarSelect" class="button"
onclick="javascript:window.open
('calendar.jsp?i...@fieldname}&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"
id="calendarDelete" href="#"
onclick="javascript:document.getElementById('calendar-expression').innerHTML='';document.getElementById('{...@fieldname}').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