silverstripe-reports/templates/Newsletter_RecipientImportField.ss
Ingo Schommer 03f0b31f70 elofgren: Make RecipientImportField? iframe body be style.overflow = 'auto'; so that all messages can be seen after recipients are imported.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41968 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 22:00:16 +00:00

55 lines
1.5 KiB
Scheme
Executable File

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<% base_tag %>
$MetaTags
<style type="text/css" media="screen">
@import "mot/css/css.css";
@import "mot/css/typography.css";
</style>
<style type="text/css" media="print">
@import "mot/css/print.css";
</style>
<style type="text/css">
body {
padding-top: 1em;
}
</style>
<script src="jsparty/prototype.js" type="text/javascript"></script>
<script src="jsparty/behaviour.js" type="text/javascript"></script>
<script src="cms/javascript/Newsletter_UploadForm.js" type="text/javascript"></script>
<script type="text/javascript">
// Make it possible to see all errors and messages
function fixOverflow() {
document.body.style.overflow = 'auto';
}
window.afteronload = fixOverflow;
</script>
<% if ImportMessage %>
<script type="text/javascript">
top.statusMessage('Imported new members','good');
top.reloadRecipientsList();
</script>
<% end_if %>
</head>
<body>
<% if ImportMessage %>
<p>
$ImportMessage
<ul>
<li><label>New members imported:</label>$NewMembers</li>
<li><label>Members updated:</label>$ChangedMembers</li>
<li><label>Number of details changed:</label>$ChangedFields</li>
<li><label>Records skipped:</label>$SkippedRecords</li>
<li><label>Time taken: </label>$Time seconds</li>
</ul>
</p>
<% end_if %>
<% if ErrorMessage %>
<p class="message bad">
$ErrorMessage
</p>
<% end_if %>
$UploadForm
</body>
</html>