mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-14 09:25:31 +01:00
14 lines
649 B
PHP
Executable File
14 lines
649 B
PHP
Executable File
<?php
|
|
|
|
if ($newsletter->state == 'DEV') {
|
|
echo '
|
|
<button type="button" class="btn btn-primary ask" data-msg="'.tr('Procedere ad inviare la newsletter?').'" data-op="send" data-button="'.tr('Invia').'" data-class="btn btn-lg btn-warning">
|
|
<i class="fa fa-envelope"></i> '.tr('Invia newsletter').'
|
|
</button>';
|
|
} elseif ($newsletter->state == 'WAIT') {
|
|
echo '
|
|
<button type="button" class="btn btn-danger ask" data-msg="'.tr('Svuotare la coda di invio della newsletter?').'" data-op="block" data-button="'.tr('Svuota').'" data-class="btn btn-lg btn-warning">
|
|
<i class="fa fa-envelope"></i> '.tr('Svuota coda newsletter').'
|
|
</button>';
|
|
}
|