1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-14 09:25:31 +01:00
openstamanager/modules/impianti/buttons.php
2020-08-14 09:38:24 +02:00

14 lines
456 B
PHP
Executable File

<?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">
</form>';