1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-22 21:28:08 +01:00
openstamanager/modules/newsletter/buttons.php

14 lines
647 B
PHP
Raw Normal View History

2019-08-27 17:25:52 +02:00
<?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>';
2019-08-28 16:58:47 +02:00
} elseif ($newsletter->state == 'WAIT') {
2019-08-28 09:28:08 +02:00
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 di invio').'
</button>';
2019-08-27 17:25:52 +02:00
}