This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php74 | |
<?php | |
define('TO', '[email protected]'); | |
define('FROM', '[email protected]'); | |
$stdIn = trim(stream_get_contents(STDIN)); | |
if($stdIn === ''){ | |
exit(0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var confirmDialog = function(message, headline, cb) { | |
var dialog = '<div class="dialog confirm mfp-with-anim">'; | |
if (headline) { | |
dialog += '<h2>' + headline + '</h2>'; | |
} | |
dialog += '<div class="content"><p>' + message + '</p></div>'; | |
dialog += '<div class="actions">'; | |
dialog += '<button type="button" class="btn btn-default btn-cancel">Abbrechen</button> '; | |
dialog += '<button type="button" class="btn btn-primary btn-submit">OK</button>'; | |
dialog += '</div>'; |