1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-26 07:44:02 +01:00
openstamanager/modules/impostazioni/edit.php

36 lines
853 B
PHP
Raw Normal View History

<?php
include_once __DIR__.'/../../core.php';
echo '
2018-02-23 16:04:50 +01:00
<form action="" method="post" id="edit-form">
<input type="hidden" name="backto" value="record-edit">
<input type="hidden" name="op" value="update">
<!-- DATI -->
<div class="panel panel-primary">
<div class="panel-heading">
2018-05-22 22:51:22 +02:00
<h3 class="panel-title">'.tr('Impostazioni _SEZIONE_', [
2018-07-18 15:20:10 +02:00
'_SEZIONE_' => $record['sezione'],
2018-05-22 22:51:22 +02:00
]).'</h3>
</div>
<div class="panel-body">';
foreach ($records as $record) {
echo '
2018-07-09 10:44:54 +02:00
<div class="col-md-6">
'.Settings::input($record['id']).'
</div>';
}
echo '
<div class="clearfix"></div><hr>
<div class="pull-right">
<button type="submit" class="btn btn-success"><i class="fa fa-check"></i> '.tr('Salva modifiche').'</button>
</div>
</div>
</div>
</form>';