File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626foreach ($ modelli as $ modello ) {
2727 echo '
2828<tr>
29- <td class="text-center">
30- ' .(!empty ($ modello ->immagine ) ? '<img src=" ' .base_path ().'/files/marche/ ' .$ modello ->immagine .'" class="img-thumbnail" style="max-height: 30px;"> ' : '<i class="fa fa-image text-muted"></i> ' ).'
31- </td>
3229 <td> ' .$ modello ->name .'</td>
3330 <td> ' .(!empty ($ modello ->link ) ? '<a href=" ' .$ modello ->link .'" target="_blank"> ' .$ modello ->link .'</a> ' : '' ).'</td>
3431 <td class="text-center">
4340 </td>
4441 <td class="text-center">
4542 <div class="btn-group">
46- <a class="btn btn-xs btn-warning" data-href =" ' .base_path ().'/editor .php?id_module= ' .$ id_module .'&id_record= ' .$ modello ->id .'" data-toggle="tooltip" title=" ' . tr ( ' Modifica ' ). ' ">
47- <i class="fa fa-edit"></i>
43+ <a class="btn btn-xs btn-warning" title =" ' .tr ( ' Modifica ' ). ' " onclick="launch_modal( \'' . tr ( ' Modifica modello ' ). '\' , \'' . base_path ().'/add .php?id_module= ' .$ id_module .'&id_record= ' .$ modello ->id .'&id_original= ' . $ id_record . '\' ); ">
44+ <i class="fa fa-edit"></i>
4845 </a>
4946 <a class="btn btn-xs btn-danger ask" data-backto="record-edit" data-op="delete" data-id=" ' .$ modello ->id .'" data-toggle="tooltip" title=" ' .tr ('Elimina ' ).'">
5047 <i class="fa fa-trash"></i>
You can’t perform that action at this time.
0 commit comments