openstamanager/modules/my_impianti/buttons.php

14 lines
456 B
PHP
Raw Normal View History

2019-05-03 16:31:58 +02:00
<?php
include_once __DIR__.'/../../core.php';
echo'
<button type="button" class="btn btn-primary" onclick="if( confirm(\'Duplicare questo impianto?\') ){ $(\'#copia-impianto\').submit(); }"> <i class="fa fa-copy"></i> '.tr('Duplica impianto').'</button>';
// Duplica impianto
echo '
<form action="" method="post" id="copia-impianto">
<input type="hidden" name="backto" value="record-edit">
<input type="hidden" name="op" value="copy">
2019-05-04 03:29:43 +02:00
</form>';