mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-23 13:58:25 +01:00
Fix #838
This commit is contained in:
parent
af60bd092b
commit
a3b384f4f3
@ -184,7 +184,7 @@ function start_datatables() {
|
|||||||
|
|
||||||
var value = search['search_' + name] ? search['search_' + name] : '';
|
var value = search['search_' + name] ? search['search_' + name] : '';
|
||||||
|
|
||||||
$('<br><input type="text" style="width:100%" class="form-control' + (value ? ' input-searching' : '') + '" placeholder="' + globals.translations.filter + '..." value="' + value + '"><i class="deleteicon fa fa-times fa-2x' + (value ? '' : ' hide') + '"></i>')
|
$('<br><input type="text" style="width:100%" class="form-control' + (value ? ' input-searching' : '') + '" placeholder="' + globals.translations.filter + '..." value="' + value.replace(/"/g, '"') + '"><i class="deleteicon fa fa-times fa-2x' + (value ? '' : ' hide') + '"></i>')
|
||||||
.appendTo(column.header())
|
.appendTo(column.header())
|
||||||
.on('keyup', function (e) {
|
.on('keyup', function (e) {
|
||||||
clearInterval(tempo);
|
clearInterval(tempo);
|
||||||
|
@ -18,7 +18,7 @@ echo '<!DOCTYPE html>
|
|||||||
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
||||||
|
|
||||||
<meta name="robots" content="noindex,nofollow">
|
<meta name="robots" content="noindex,nofollow">
|
||||||
|
|
||||||
<link href="'.$paths['img'].'/favicon.png" rel="icon" type="image/x-icon" />';
|
<link href="'.$paths['img'].'/favicon.png" rel="icon" type="image/x-icon" />';
|
||||||
|
|
||||||
if (file_exists(DOCROOT.'/manifest.json')) {
|
if (file_exists(DOCROOT.'/manifest.json')) {
|
||||||
@ -51,7 +51,7 @@ if (Auth::check()) {
|
|||||||
|
|
||||||
echo '
|
echo '
|
||||||
search.push("search_'.$field_name.'");
|
search.push("search_'.$field_name.'");
|
||||||
search["search_'.$field_name.'"] = "'.$value.'";';
|
search["search_'.$field_name.'"] = "'.addslashes($value).'";';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -145,7 +145,7 @@ if (Auth::check()) {
|
|||||||
|
|
||||||
id_module: "'.$id_module.'",
|
id_module: "'.$id_module.'",
|
||||||
id_record: "'.$id_record.'",
|
id_record: "'.$id_record.'",
|
||||||
|
|
||||||
is_mobile: '.isMobile().',
|
is_mobile: '.isMobile().',
|
||||||
|
|
||||||
cifre_decimali: '.setting('Cifre decimali per importi').',
|
cifre_decimali: '.setting('Cifre decimali per importi').',
|
||||||
@ -170,7 +170,7 @@ if (Auth::check()) {
|
|||||||
ckeditorToolbar: [
|
ckeditorToolbar: [
|
||||||
["Undo","Redo","-","Cut","Copy","Paste","PasteText","PasteFromWord","-","Scayt", "-","Link","Unlink","-","Bold","Italic","Underline","Superscript","SpecialChar","HorizontalRule","-","JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock","-","NumberedList","BulletedList","Outdent","Indent","Blockquote","-","Styles","Format","Image","Table", "TextColor", "BGColor" ],
|
["Undo","Redo","-","Cut","Copy","Paste","PasteText","PasteFromWord","-","Scayt", "-","Link","Unlink","-","Bold","Italic","Underline","Superscript","SpecialChar","HorizontalRule","-","JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock","-","NumberedList","BulletedList","Outdent","Indent","Blockquote","-","Styles","Format","Image","Table", "TextColor", "BGColor" ],
|
||||||
],
|
],
|
||||||
|
|
||||||
order_manager_id: "'.($dbo->isInstalled() ? Modules::get('Stato dei servizi')['id'] : '').'",
|
order_manager_id: "'.($dbo->isInstalled() ? Modules::get('Stato dei servizi')['id'] : '').'",
|
||||||
dataload_page_buffer: '.setting('Lunghezza in pagine del buffer Datatables').',
|
dataload_page_buffer: '.setting('Lunghezza in pagine del buffer Datatables').',
|
||||||
tempo_attesa_ricerche: '.setting('Tempo di attesa ricerche in secondi').',
|
tempo_attesa_ricerche: '.setting('Tempo di attesa ricerche in secondi').',
|
||||||
@ -181,7 +181,7 @@ if (Auth::check()) {
|
|||||||
<script>
|
<script>
|
||||||
globals = {
|
globals = {
|
||||||
rootdir: "'.$rootdir.'",
|
rootdir: "'.$rootdir.'",
|
||||||
|
|
||||||
search: {},
|
search: {},
|
||||||
translations: {
|
translations: {
|
||||||
password: {
|
password: {
|
||||||
@ -202,7 +202,7 @@ if (Auth::check()) {
|
|||||||
"veryStrong": "'.tr('Molto forte').'",
|
"veryStrong": "'.tr('Molto forte').'",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
timestamp_format: "'.formatter()->getTimestampPattern().'",
|
timestamp_format: "'.formatter()->getTimestampPattern().'",
|
||||||
date_format: "'.formatter()->getDatePattern().'",
|
date_format: "'.formatter()->getDatePattern().'",
|
||||||
time_format: "'.formatter()->getTimePattern().'",
|
time_format: "'.formatter()->getTimePattern().'",
|
||||||
@ -296,7 +296,7 @@ if (Auth::check()) {
|
|||||||
</a>
|
</a>
|
||||||
<!-- Header Navbar: style can be found in header.less -->
|
<!-- Header Navbar: style can be found in header.less -->
|
||||||
<nav class="navbar navbar-static-top" role="navigation">
|
<nav class="navbar navbar-static-top" role="navigation">
|
||||||
|
|
||||||
<!-- Sidebar toggle button-->
|
<!-- Sidebar toggle button-->
|
||||||
<a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
|
<a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
|
||||||
<span class="sr-only">'.tr('Mostra/nascondi menu').'</span>
|
<span class="sr-only">'.tr('Mostra/nascondi menu').'</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user