Skip to content

Commit f5aba27

Browse files
committed
feat: Gestione traduzione intestazione plugins con vista datatables
1 parent 33f784b commit f5aba27

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

include/manager.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@
122122
// Data (larghezza fissa)
123123
elseif (preg_match('/^Data/', (string) $field)) {
124124
$attr_td .= " width='100'";
125+
if(!empty($id_plugin)){
126+
//Traduzione intestazione plugins
127+
$field = tr($field);
128+
}
125129
}
126130

127131
// Immagine
@@ -142,6 +146,9 @@
142146
$field = str_replace('mailto_', '', $field);
143147
} elseif (preg_match('/^tel_/', (string) $field)) {
144148
$field = str_replace('tel_', '', $field);
149+
}elseif(!empty($id_plugin)){
150+
//Traduzione intestazione plugins
151+
$field = tr($field);
145152
}
146153

147154
if (isMobile()) {

0 commit comments

Comments
 (0)