Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
25 righe
857 B
25 righe
857 B
<? |
|
if (!isset($opt)) { |
|
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; |
|
include_once($configPath); |
|
$error = true; |
|
if (!empty($_SESSION["utente"]) && $_SESSION["utente"]->permission($radice)) { |
|
$opt = get_campi("b_compilatore_opzioni"); |
|
$opt["codice"] = $_POST["id"]; |
|
} |
|
} |
|
if (!empty($opt)) { |
|
?> |
|
<tr id="opt-<?= $opt["codice"] ?>"> |
|
<td> |
|
<input type="text" class="form-control" title="<?= __("Opzione") ?>" name="opt[<?= $opt["codice"] ?>]" id="opt_<?= $opt["codice"] ?>" rel="S;0;0;A" value="<?= $opt["testo"] ?>"> |
|
</td> |
|
<td width="10"> |
|
<button class="btn btn-sm btn-danger" onclick="$(this).parent().parent().remove();" title="<?= __("Elimina") ?>"> |
|
<span class="fa fa-times"></span> |
|
</button> |
|
</td> |
|
</tr> |
|
<? |
|
} |
|
?>
|