2017-08-04 16:28:16 +02:00
|
|
|
<?php
|
2020-09-07 15:04:06 +02:00
|
|
|
/*
|
|
|
|
* OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione
|
|
|
|
* Copyright (C) DevCode s.n.c.
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
*/
|
2017-08-04 16:28:16 +02:00
|
|
|
|
|
|
|
include_once __DIR__.'/../../core.php';
|
|
|
|
|
|
|
|
echo '
|
2018-02-23 16:04:50 +01:00
|
|
|
<form action="" method="post" id="edit-form">
|
2017-08-04 16:28:16 +02:00
|
|
|
<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>
|
2017-08-04 16:28:16 +02:00
|
|
|
</div>
|
|
|
|
|
2018-02-22 11:07:52 +01:00
|
|
|
<div class="panel-body">';
|
|
|
|
|
2017-08-04 16:28:16 +02:00
|
|
|
foreach ($records as $record) {
|
|
|
|
echo '
|
2018-07-09 10:44:54 +02:00
|
|
|
<div class="col-md-6">
|
|
|
|
'.Settings::input($record['id']).'
|
|
|
|
</div>';
|
2017-08-04 16:28:16 +02:00
|
|
|
}
|
2018-02-22 11:07:52 +01:00
|
|
|
|
2017-08-04 16:28:16 +02:00
|
|
|
echo '
|
|
|
|
<div class="clearfix"></div><hr>
|
|
|
|
<div class="pull-right">
|
2017-09-04 12:02:29 +02:00
|
|
|
<button type="submit" class="btn btn-success"><i class="fa fa-check"></i> '.tr('Salva modifiche').'</button>
|
2017-08-04 16:28:16 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>';
|