\
+ \
\
@@ -185,7 +185,7 @@ class SRec
document.getElementById('SRec_Add_'+this.uid).onclick = ()=>this.insertRecord();
document.getElementById('SRec_Del_'+this.uid).onclick = ()=>this.deleteRecord();
- document.getElementById('SRec_Exc_'+this.uid).onclick = ()=>this.showreport('xls');
+ document.getElementById('SRec_Exc_'+this.uid).onclick = ()=>this.showReport('xls');
document.getElementById('SRec_Rfr_'+this.uid).onclick = ()=>{this.appendFilter(); this.sendFilter(-1,0);};
}
@@ -1437,7 +1437,7 @@ class SRec
if (error_msg!="") alert2(trt('Alert'),"ShowRecords: \n"+error_msg);
}
- showreport(ext)
+ showReport(ext)
{
if(this.rwin!=null) this.rwin.Close();
@@ -1446,7 +1446,7 @@ class SRec
this.rwin.setParent(this.win);
this.rwin.setSize(280,130);
this.rwin.setCaption(trt('Report'));
- this.rwin.setContent('| '+trt('Preparing_of_report')+' | ');
+ this.rwin.setContent('| '+trt('Preparing_of_report')+' | ');
this.appendFilter();
//Call data from server
diff --git a/metadata/dbms/tools.js b/metadata/dbms/tools.js
index db2a244..96e9889 100644
--- a/metadata/dbms/tools.js
+++ b/metadata/dbms/tools.js
@@ -1204,7 +1204,7 @@ class TWin
this.tWinId=Wins.add(this);
/*
var hd='';
- hd+='';
+ hd+='';
hd+=' ';
hd+='  | ';
hd+=' | ';
@@ -1218,7 +1218,7 @@ class TWin
hd+=' ';
var str='';
- str+='';
+ str+='';
str+=' | '+hd+' | ';
str+=' ';
str+='  | ';
@@ -1227,7 +1227,7 @@ class TWin
str+=' ';
str+=' ';
str+=' | ';
- str+=' | ';
+ str+=' | ';
str+=' | ';
str+=' ';
str+=' ';
@@ -1239,8 +1239,8 @@ class TWin
*/
/*
var str='';
- str+='';
- str+=' | | | ';
+ str+='';
+ str+=' | | | ';
str+=' ';
str+='  | ';
str+=' | ';
@@ -1248,7 +1248,7 @@ class TWin
str+=' ';
str+=' ';
str+=' | ';
- str+=' | ';
+ str+=' | ';
str+=' | ';
str+=' ';
str+=' ';
@@ -1267,8 +1267,8 @@ class TWin
}
let str='';
- str+='';
- str+=' | | '+(this.disableClosing ? '' : ' ')+' |
| | ';
+ str+='';
+ str+=' | | '+(this.disableClosing ? '' : ' ')+' |
| | ';
str+=' ';
str+='  | ';
str+=' | ';
@@ -1276,7 +1276,7 @@ class TWin
str+=' ';
str+=' ';
str+=' | ';
- str+=' | ';
+ str+=' | ';
str+=' | ';
str+=' ';
str+=' ';
diff --git a/metadata/include/kcfinder/conf/config.php b/metadata/include/kcfinder/conf/config.php
index 844b9b5..1975fb0 100644
--- a/metadata/include/kcfinder/conf/config.php
+++ b/metadata/include/kcfinder/conf/config.php
@@ -23,7 +23,7 @@ $_CONFIG = array(
'disabled' => false,
'uploadURL' => "upload",
- 'uploadDir' => "O:/www/www.bigfoottrade.kz_old/shop/",
+ 'uploadDir' => "O:/www/www.rigor.kz_old/shop/",
'theme' => "default",
'types' => array(
diff --git a/metadata/include/tools.php b/metadata/include/tools.php
index b0d7332..fe19623 100644
--- a/metadata/include/tools.php
+++ b/metadata/include/tools.php
@@ -16,7 +16,7 @@ function trt($text)
global $db,$Schema;
$result='';
- $sql='select translation from '.$Schema.'._translations where del=false and language_id='.$_SESSION["LNG"].' and identifier=\''.$text.'\';';
+ $sql='select translation from '.$Schema.'_translations where del=false and language_id='.$_SESSION["LNG"].' and identifier=\''.$text.'\';';
//$sql='select translation from main._translations where del=false and language_id=(select id from main._languages where short_name=\''.$_SESSION["LNG"].'\') and identifier=\''.$text.'\';';
$res = NULL;
try
diff --git a/metadata/tree/tree.js b/metadata/tree/tree.js
index 4fb377c..eb6273d 100644
--- a/metadata/tree/tree.js
+++ b/metadata/tree/tree.js
@@ -285,7 +285,7 @@ function TMenu(v_obj,v_scr,v_treepath) //Горизонтальное меню
pn=pn.parent;
}
//Шаблон кнопки по умолчанию
- if(str=='') str='';
+ if(str=='') str='';
str=str.replace(/\${path}/g, tn.getTreePath());
str=str.replace(/\${hash}/g, crc32(tn.getTreePath()));
@@ -417,7 +417,7 @@ function TMenu(v_obj,v_scr,v_treepath) //Горизонтальное меню
if(str!='') break;
nTmp=nTmp.parentNode;
}
- if(str=='') str='';
+ if(str=='') str='';
str=str.replace(/\${path}/g, this.m_tn[this.m_tn.length-1].getTreePath());
str=str.replace(/\${name}/g, getCdataValue(nodeTree));
str=str.replace(/\${none}/g, nodeTree.getAttribute("c")=='1' ? 'block' : 'none');
diff --git a/metadata/tree/treetools.php b/metadata/tree/treetools.php
index ab69d38..b7507e1 100644
--- a/metadata/tree/treetools.php
+++ b/metadata/tree/treetools.php
@@ -503,7 +503,7 @@ function getSiteMap($nParent,$nParams,$db,$first,$path)
$rСol.=''."\n";
$result.=' '."\n";
- $result.=' http://'.$_SERVER["SERVER_NAME"].$url.''."\n";
+ $result.=' https://'.$_SERVER["SERVER_NAME"].$url.''."\n";
$result.=' '.$date.''."\n";
$result.=' daily'."\n";
$result.=' '."\n";
|
|