silverstripe-cms/templates/Includes/NewsletterAdmin_right.ss
Ingo Schommer 8be38885d0 elofgren: USABILITY: Fix usability issue #66 'Cancel button needs to be added to Send Newsletter Window' by adding a Cancel button and aligning it left.
More info here: http://www.elijahlofgren.com/silverstripe/cancel-button-needs-to-be-added-to-send-newsletter-window/ 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41794 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 19:27:34 +00:00

36 lines
1.2 KiB
Scheme
Executable File

<div class="title"><div>Edit Content</div></div>
<% include Editor_toolbar %>
<div id="form_actions_right" class="ajaxActions">
</div>
<form class="actionparams" id="action_send_options" style="display:none" action="admin/newsletter/sendnewsletter">
<fieldset>
<input type="hidden" name="NewsletterID" />
<ul class="optionset">
<li><input name="SendType" id="SendTypeTest" value="Test" checked="checked" type="radio" /> Send test to <input name="TestEmail" type="text" /></li>
<li><input name="SendType" id="SendTypeList" value="List" type="radio" /> Send to the mailing list</li>
</ul>
$SendProgressBar
</fieldset>
<p class="actions">
<ul class="optionset">
<li class="cancel"><button id="action_send_cancel">Cancel</button></li>
<li class="submit"><input type="submit" value="Send newsletter" /></li>
</ul>
</p>
</form>
<% if EditForm %>
$EditForm
<% else %>
<form id="Form_EditForm" action="admin/newsletter?executeForm=EditForm" method="post" enctype="multipart/form-data">
<p>Welcome to the $ApplicationName newsletter admininistration section. Please choose a folder from the left.</p>
</form>
<% end_if %>
<p id="statusMessage" style="visibility:hidden"></p>