first commit
This commit is contained in:
215
templates/modern/admin/mail_test.html
Executable file
215
templates/modern/admin/mail_test.html
Executable file
@ -0,0 +1,215 @@
|
||||
{if $action == ''}
|
||||
<html>
|
||||
<head>
|
||||
<link type="text/css" rel="stylesheet" href="../templates/{$global_template}/css/styles_refill.css">
|
||||
<style>
|
||||
select{
|
||||
width:330px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<form action="?action=mailsenden_test" method='post' name='ausgabe'>
|
||||
|
||||
{if $termine_error == '1'}
|
||||
<table width="70%" class="errorTable" align="center">
|
||||
<tr>
|
||||
<td>
|
||||
<img src="../templates/{$global_template}/images/pflichtfelder/achtung_gross.gif">
|
||||
</td>
|
||||
<td><b>Achtung!</b><br>
|
||||
{$termine_error_text}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
{/if}
|
||||
<fieldset>
|
||||
<legend>
|
||||
<b>Mail an Testteilnehmer</b>
|
||||
</legend>
|
||||
<br />
|
||||
<br />
|
||||
<p align="center">
|
||||
<select name="testtermin" size=15>
|
||||
{section name=table_data1 loop=$table_data1}
|
||||
<option value="{$table_data1[table_data1].tm_id}">{$table_data1[table_data1].tm_datum_form} - {$table_data1[table_data1].tm_standort}</option>
|
||||
{/section}
|
||||
</select>
|
||||
</p>
|
||||
<br />
|
||||
<p align='center'>
|
||||
<input type='submit' name='senden' value="Liste drucken">
|
||||
</p>
|
||||
<br />
|
||||
</fieldset>
|
||||
</form>
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
</body>
|
||||
</html>
|
||||
{/if}
|
||||
|
||||
{if $action == 'mailsenden_test'}
|
||||
<html>
|
||||
<head>
|
||||
<link type="text/css" rel="stylesheet" href="../templates/{$global_template}/css/styles_refill.css">
|
||||
<script type='text/javascript' src='../ckeditor5/build/ckeditor.js'></script>
|
||||
<style>
|
||||
.ck-editor__editable {
|
||||
min-height: 300px;
|
||||
}
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<fieldset>
|
||||
<legend>
|
||||
<b>E-Mail bearbeiten</b>
|
||||
</legend>
|
||||
<br />
|
||||
<br />
|
||||
<form action="?action=mailsenden2_test" method='post' name='mailsenden2_sonst'>
|
||||
<table width="100%" border="1" cellspacing="0" cellpadding="0" rules="all">
|
||||
<tr>
|
||||
<td width="200" height="40" style="padding-left:5px">
|
||||
Absender:
|
||||
</td>
|
||||
<td style="padding-left:5px">
|
||||
{$mail_sender} - {$mail_sendermail}
|
||||
<input type="hidden" name="mail_sender" id="mail_sender" size="101" value="{$mail_sender}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40" style="padding-left:5px">
|
||||
Empfänger:
|
||||
</td>
|
||||
<td style="padding-left:5px">
|
||||
<textarea style="width:745px; height:120px; font-family:monospace;" id='mail_mail' name='mail_mail'>{$empfaenger}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40" style="padding-left:5px">
|
||||
Betreff:
|
||||
</td>
|
||||
<td style="padding-left:5px">
|
||||
<input type="text" id="betreff" name="betreff" value="{$mail_betreff}" size="120">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40" style="padding-left:5px">
|
||||
Mailtext:
|
||||
</td>
|
||||
<td style="padding-left:5px">
|
||||
|
||||
<textarea id='text' name='text'>{$mail_text}</textarea>
|
||||
{literal}
|
||||
<script>ClassicEditor
|
||||
.create( document.querySelector( '#text' ), {
|
||||
toolbar: {
|
||||
items: [
|
||||
'heading',
|
||||
'|',
|
||||
'fontSize',
|
||||
'fontFamily',
|
||||
'fontBackgroundColor',
|
||||
'fontColor',
|
||||
'|',
|
||||
'bold',
|
||||
'italic',
|
||||
'link',
|
||||
'bulletedList',
|
||||
'numberedList',
|
||||
'|',
|
||||
'alignment',
|
||||
'indent',
|
||||
'outdent',
|
||||
'|',
|
||||
'imageUpload',
|
||||
'blockQuote',
|
||||
'insertTable',
|
||||
'mediaEmbed',
|
||||
'undo',
|
||||
'redo'
|
||||
]
|
||||
},
|
||||
language: 'de',
|
||||
image: {
|
||||
toolbar: [
|
||||
'imageTextAlternative',
|
||||
'imageStyle:full',
|
||||
'imageStyle:side'
|
||||
]
|
||||
},
|
||||
table: {
|
||||
contentToolbar: [
|
||||
'tableColumn',
|
||||
'tableRow',
|
||||
'mergeTableCells',
|
||||
'tableCellProperties',
|
||||
'tableProperties'
|
||||
]
|
||||
},
|
||||
licenseKey: '',
|
||||
} )
|
||||
.then( editor => {
|
||||
window.editor = editor;
|
||||
} )
|
||||
.catch( error => {
|
||||
console.error( error );
|
||||
} );
|
||||
</script>
|
||||
{/literal}
|
||||
<input type="hidden" name="smid" id="smid" size="101" value="{$mail_smid}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</p>
|
||||
<br />
|
||||
<br />
|
||||
<p align='center'>
|
||||
<input type='submit' name='senden' value="Mail senden"><br><br>
|
||||
<font color="red" style="font-size:20px">Bitte nur einmal klicken. Rückmeldung dauert 30-60 Sekunden bis alle Mails verschickt wurden!</font>
|
||||
</p>
|
||||
<br />
|
||||
</form>
|
||||
</fieldset>
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
</body>
|
||||
</html>
|
||||
{/if}
|
||||
|
||||
|
||||
{if $action == 'mailsenden2_test'}
|
||||
<html>
|
||||
<head>
|
||||
<link type="text/css" rel="stylesheet" href="../templates/{$global_template}/css/styles_refill.css">
|
||||
</head>
|
||||
<body>
|
||||
<fieldset>
|
||||
<legend>
|
||||
<b>Ergebnis</b>
|
||||
</legend>
|
||||
<br />
|
||||
<br />
|
||||
{$mail_senderg}
|
||||
<br>
|
||||
<br>
|
||||
Sie können das Fenster nun schließen.
|
||||
</fieldset>
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
</body>
|
||||
</html>
|
||||
{/if}
|
Reference in New Issue
Block a user