HOR-1473
add HOR-1473
This commit is contained in:
2
gulliver/js/codemirror/addon/tern/tern.js
vendored
2
gulliver/js/codemirror/addon/tern/tern.js
vendored
@@ -614,7 +614,7 @@
|
|||||||
send({type: "getFile", err: String(err), text: text, id: data.id});
|
send({type: "getFile", err: String(err), text: text, id: data.id});
|
||||||
});
|
});
|
||||||
} else if (data.type == "debug") {
|
} else if (data.type == "debug") {
|
||||||
console.log(data.message);
|
//console.log(data.message);
|
||||||
} else if (data.id && pending[data.id]) {
|
} else if (data.id && pending[data.id]) {
|
||||||
pending[data.id](data.err, data.body);
|
pending[data.id](data.err, data.body);
|
||||||
delete pending[data.id];
|
delete pending[data.id];
|
||||||
|
|||||||
@@ -5558,90 +5558,62 @@ class G
|
|||||||
foreach ($allowedTypes as $allowedType) {
|
foreach ($allowedTypes as $allowedType) {
|
||||||
switch ($allowedType) {
|
switch ($allowedType) {
|
||||||
case 'xls':
|
case 'xls':
|
||||||
if ($docType[1] == 'vnd.ms-excel' || ($fileExtension == 'xls' && $docType[1] == 'plain')) {
|
$res->status = ($docType[1] == 'vnd.ms-excel' || ($fileExtension == 'xls' && $docType[1] == 'plain'));
|
||||||
$res->status = true;
|
return $res;
|
||||||
return $res;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case 'doc':
|
case 'doc':
|
||||||
if ($docType[1] == 'msword' || ($fileExtension == 'doc' && $docType[1] == 'html')) {
|
$res->status = ($docType[1] == 'msword' || ($fileExtension == 'doc' && $docType[1] == 'html'));
|
||||||
$res->status = true;
|
return $res;
|
||||||
return $res;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case 'ppt':
|
case 'ppt':
|
||||||
if ($docType[1] == 'vnd.ms-office') {
|
$res->status = ($docType[1] == 'vnd.ms-office');
|
||||||
$res->status = true;
|
return $res;
|
||||||
return $res;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case 'docx':
|
case 'docx':
|
||||||
if ($docType[1] == 'vnd.openxmlformats-officedocument.wordprocessingml.document') {
|
$res->status = ($docType[1] == 'vnd.openxmlformats-officedocument.wordprocessingml.document');
|
||||||
$res->status = true;
|
return $res;
|
||||||
return $res;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case 'pptx':
|
case 'pptx':
|
||||||
if ($docType[1] == 'vnd.openxmlformats-officedocument.presentationml.presentation') {
|
$res->status = ($docType[1] == 'vnd.openxmlformats-officedocument.presentationml.presentation');
|
||||||
$res->status = true;
|
return $res;
|
||||||
return $res;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case 'xlsx':
|
case 'xlsx':
|
||||||
if ($docType[1] == 'vnd.openxmlformats-officedocument.spreadsheetml.sheet') {
|
$res->status = ($docType[1] == 'vnd.openxmlformats-officedocument.spreadsheetml.sheet');
|
||||||
$res->status = true;
|
return $res;
|
||||||
return $res;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case 'exe':
|
case 'exe':
|
||||||
if ($docType[1] == 'x-msdownload' || $docType[1] == 'x-dosexec') {
|
$res->status = ($docType[1] == 'x-msdownload' || $docType[1] == 'x-dosexec');
|
||||||
$res->status = true;
|
return $res;
|
||||||
return $res;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case 'wmv':
|
case 'wmv':
|
||||||
if($docType[1] == 'x-ms-asf' || $docType[1] == 'x-ms-wmv'){
|
$res->status = ($docType[1] == 'x-ms-asf' || $docType[1] == 'x-ms-wmv');
|
||||||
$res->status = true;
|
return $res;
|
||||||
return $res;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case 'jpg':
|
case 'jpg':
|
||||||
if ($docType[1] == 'jpeg'){
|
$res->status = ($docType[1] == 'jpeg');
|
||||||
$res->status = true;
|
return $res;
|
||||||
return $res;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case 'mp3':
|
case 'mp3':
|
||||||
if ($docType[1] == 'mpeg'){
|
$res->status = ($docType[1] == 'mpeg');
|
||||||
$res->status = true;
|
return $res;
|
||||||
return $res;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case 'rar':
|
case 'rar':
|
||||||
if ($docType[1] == 'x-rar'){
|
$res->status = ($docType[1] == 'x-rar');
|
||||||
$res->status = true;
|
return $res;
|
||||||
return $res;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case 'txt':
|
case 'txt':
|
||||||
case 'pm':
|
case 'pm':
|
||||||
if ($docType[1] == 'plain'){
|
$res->status = ($docType[1] == 'plain');
|
||||||
$res->status = true;
|
return $res;
|
||||||
return $res;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case 'htm':
|
case 'htm':
|
||||||
case 'html':
|
case 'html':
|
||||||
if ($docType[1] == 'html'){
|
$res->status = ($docType[1] == 'html');
|
||||||
$res->status = true;
|
return $res;
|
||||||
return $res;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case 'po':
|
case 'po':
|
||||||
if ($docType[1] == 'x-po'){
|
$res->status = ($docType[1] == 'x-po');
|
||||||
$res->status = true;
|
return $res;
|
||||||
return $res;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case 'pdf':
|
case 'pdf':
|
||||||
case 'png':
|
case 'png':
|
||||||
@@ -5649,16 +5621,12 @@ class G
|
|||||||
case 'gif':
|
case 'gif':
|
||||||
case 'zip':
|
case 'zip':
|
||||||
case 'mp4':
|
case 'mp4':
|
||||||
if ($docType[1] == $allowedType){
|
$res->status = ($docType[1] == $allowedType);
|
||||||
$res->status = true;
|
return $res;
|
||||||
return $res;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if ($validExtension) {
|
$res->status = ($validExtension);
|
||||||
$res->status = true;
|
return $res;
|
||||||
return $res;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
18
gulliver/thirdparty/pear/Net/FTP.php
vendored
18
gulliver/thirdparty/pear/Net/FTP.php
vendored
@@ -1406,7 +1406,7 @@ class Net_FTP extends PEAR
|
|||||||
* NET_FTP_ERR_REMOTEPATHNODIR, NET_FTP_ERR_LOCALPATHNODIR,
|
* NET_FTP_ERR_REMOTEPATHNODIR, NET_FTP_ERR_LOCALPATHNODIR,
|
||||||
* NET_FTP_ERR_CREATELOCALDIR_FAILED
|
* NET_FTP_ERR_CREATELOCALDIR_FAILED
|
||||||
*/
|
*/
|
||||||
function getRecursive($remote_path, $local_path, $overwrite = false,
|
function getRecursive($remote_path, $local_p, $overwrite = false,
|
||||||
$mode = null)
|
$mode = null)
|
||||||
{
|
{
|
||||||
if (!class_exists('G')) {
|
if (!class_exists('G')) {
|
||||||
@@ -1426,16 +1426,16 @@ class Net_FTP extends PEAR
|
|||||||
"' seems not to be a directory.",
|
"' seems not to be a directory.",
|
||||||
NET_FTP_ERR_REMOTEPATHNODIR);
|
NET_FTP_ERR_REMOTEPATHNODIR);
|
||||||
}
|
}
|
||||||
if (!$this->_checkDir($local_path)) {
|
if (!$this->_checkDir($local_p)) {
|
||||||
return $this->raiseError("Given local-path '".$local_path.
|
return $this->raiseError("Given local-path '".$local_p.
|
||||||
"' seems not to be a directory.",
|
"' seems not to be a directory.",
|
||||||
NET_FTP_ERR_LOCALPATHNODIR);
|
NET_FTP_ERR_LOCALPATHNODIR);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!@is_dir($filter->validatePath($local_path))) {
|
if (!@is_dir($filter->validatePath($local_p))) {
|
||||||
$res = @mkdir($filter->validatePath($local_path));
|
$res = @mkdir($filter->validatePath($local_p));
|
||||||
if (!$res) {
|
if (!$res) {
|
||||||
return $this->raiseError("Could not create dir '$local_path'",
|
return $this->raiseError("Could not create dir '$local_p'",
|
||||||
NET_FTP_ERR_CREATELOCALDIR_FAILED);
|
NET_FTP_ERR_CREATELOCALDIR_FAILED);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1447,9 +1447,9 @@ class Net_FTP extends PEAR
|
|||||||
foreach ($dir_list as $dir_entry) {
|
foreach ($dir_list as $dir_entry) {
|
||||||
if ($dir_entry['name'] != '.' && $dir_entry['name'] != '..') {
|
if ($dir_entry['name'] != '.' && $dir_entry['name'] != '..') {
|
||||||
$remote_path_new = $remote_path.$dir_entry["name"]."/";
|
$remote_path_new = $remote_path.$dir_entry["name"]."/";
|
||||||
$local_path_new = $local_path.$dir_entry["name"]."/";
|
$local_p_new = $local_p.$dir_entry["name"]."/";
|
||||||
$result = $this->getRecursive($remote_path_new,
|
$result = $this->getRecursive($remote_path_new,
|
||||||
$local_path_new, $overwrite, $mode);
|
$local_p_new, $overwrite, $mode);
|
||||||
if ($this->isError($result)) {
|
if ($this->isError($result)) {
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
@@ -1462,7 +1462,7 @@ class Net_FTP extends PEAR
|
|||||||
}
|
}
|
||||||
foreach ($file_list as $file_entry) {
|
foreach ($file_list as $file_entry) {
|
||||||
$remote_file = $remote_path.$file_entry["name"];
|
$remote_file = $remote_path.$file_entry["name"];
|
||||||
$local_file = $local_path.$file_entry["name"];
|
$local_file = $local_p.$file_entry["name"];
|
||||||
$result = $this->get($remote_file, $local_file, $overwrite, $mode);
|
$result = $this->get($remote_file, $local_file, $overwrite, $mode);
|
||||||
if ($this->isError($result)) {
|
if ($this->isError($result)) {
|
||||||
return $result;
|
return $result;
|
||||||
|
|||||||
5
gulliver/thirdparty/pear/Net/FTP/Socket.php
vendored
5
gulliver/thirdparty/pear/Net/FTP/Socket.php
vendored
@@ -672,11 +672,12 @@ function ftp_get(&$control, $local, $remote, $mode, $resume = 0)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(is_file($filter->validatePath($local))) {
|
if(is_file($filter->validatePath($local))) {
|
||||||
$fp = fopen($filter->validatePath($local), 'w'.$windows[$mode]);
|
$var = 'w'.$windows[$mode];
|
||||||
|
$fp = fopen($filter->validatePath($local), $var);
|
||||||
} else {
|
} else {
|
||||||
$fp = false;
|
$fp = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_resource($fp)) {
|
if (!is_resource($fp)) {
|
||||||
$fp = null;
|
$fp = null;
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
8
gulliver/thirdparty/phing/lib/Capsule.php
vendored
8
gulliver/thirdparty/phing/lib/Capsule.php
vendored
@@ -124,13 +124,13 @@ class Capsule {
|
|||||||
|
|
||||||
$path = $this->templatePath . PATH_SEPARATOR . $__old_inc_path;
|
$path = $this->templatePath . PATH_SEPARATOR . $__old_inc_path;
|
||||||
if(strpos($path,":")>0){
|
if(strpos($path,":")>0){
|
||||||
$firstPath = explode(":", $this->templatePath . PATH_SEPARATOR . $__old_inc_path);
|
$firstPath = explode(":", $path);
|
||||||
if (is_dir($firstPath[0])) {
|
if (is_dir($firstPath[0])) {
|
||||||
ini_set('include_path', $this->templatePath . PATH_SEPARATOR . $__old_inc_path);
|
ini_set('include_path', $path);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if(is_dir($this->templatePath . PATH_SEPARATOR . $__old_inc_path)) {
|
if(is_dir($path)) {
|
||||||
ini_set('include_path', $this->templatePath . PATH_SEPARATOR . $__old_inc_path);
|
ini_set('include_path', $path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
6
gulliver/thirdparty/tcpdf/tcpdf.php
vendored
6
gulliver/thirdparty/tcpdf/tcpdf.php
vendored
@@ -18281,7 +18281,7 @@ class TCPDF {
|
|||||||
* @author Nicola Asuni
|
* @author Nicola Asuni
|
||||||
* @since 4.6.005 (2009-04-24)
|
* @since 4.6.005 (2009-04-24)
|
||||||
*/
|
*/
|
||||||
public function setSignature($signing_cert='', $private_key='', $private_key_password='', $extracerts='', $cert_type=2, $info=array()) {
|
public function setSignature($signing_cert='', $private_key='', $private_key_p='', $extracerts='', $cert_type=2, $info=array()) {
|
||||||
// to create self-signed signature: openssl req -x509 -nodes -days 365000 -newkey rsa:1024 -keyout tcpdf.crt -out tcpdf.crt
|
// to create self-signed signature: openssl req -x509 -nodes -days 365000 -newkey rsa:1024 -keyout tcpdf.crt -out tcpdf.crt
|
||||||
// to export crt to p12: openssl pkcs12 -export -in tcpdf.crt -out tcpdf.p12
|
// to export crt to p12: openssl pkcs12 -export -in tcpdf.crt -out tcpdf.p12
|
||||||
// to convert pfx certificate to pem: openssl
|
// to convert pfx certificate to pem: openssl
|
||||||
@@ -18293,14 +18293,14 @@ class TCPDF {
|
|||||||
$this->signature_data = array();
|
$this->signature_data = array();
|
||||||
if (strlen($signing_cert) == 0) {
|
if (strlen($signing_cert) == 0) {
|
||||||
$signing_cert = 'file://'.dirname(__FILE__).'/tcpdf.crt';
|
$signing_cert = 'file://'.dirname(__FILE__).'/tcpdf.crt';
|
||||||
$private_key_password = 'tcpdfdemo';
|
$private_key_p = 'tcpdfdemo';
|
||||||
}
|
}
|
||||||
if (strlen($private_key) == 0) {
|
if (strlen($private_key) == 0) {
|
||||||
$private_key = $signing_cert;
|
$private_key = $signing_cert;
|
||||||
}
|
}
|
||||||
$this->signature_data['signcert'] = $signing_cert;
|
$this->signature_data['signcert'] = $signing_cert;
|
||||||
$this->signature_data['privkey'] = $private_key;
|
$this->signature_data['privkey'] = $private_key;
|
||||||
$this->signature_data['password'] = $private_key_password;
|
$this->signature_data['password'] = $private_key_p;
|
||||||
$this->signature_data['extracerts'] = $extracerts;
|
$this->signature_data['extracerts'] = $extracerts;
|
||||||
$this->signature_data['cert_type'] = $cert_type;
|
$this->signature_data['cert_type'] = $cert_type;
|
||||||
$this->signature_data['info'] = $info;
|
$this->signature_data['info'] = $info;
|
||||||
|
|||||||
@@ -297,9 +297,9 @@ function testHost(step)
|
|||||||
var user = $('form[DBS_USERNAME]').value;
|
var user = $('form[DBS_USERNAME]').value;
|
||||||
|
|
||||||
if($('form[DBS_PASSWORD]').value != '') {
|
if($('form[DBS_PASSWORD]').value != '') {
|
||||||
var passwd = $('form[DBS_PASSWORD]').value;
|
var pas = $('form[DBS_PASSWORD]').value;
|
||||||
} else {
|
} else {
|
||||||
var passwd = 'none';
|
var pas = 'none';
|
||||||
}
|
}
|
||||||
|
|
||||||
if($('form[DBS_PORT]').value.trim() != '') {
|
if($('form[DBS_PORT]').value.trim() != '') {
|
||||||
@@ -312,7 +312,7 @@ function testHost(step)
|
|||||||
var tns = getField("DBS_TNS").value;
|
var tns = getField("DBS_TNS").value;
|
||||||
|
|
||||||
var requestfile = PROCESS_REQUEST_FILE;
|
var requestfile = PROCESS_REQUEST_FILE;
|
||||||
var uri = 'action=testConnection&step='+step+'&type='+type+'&server='+server+'&db_name='+db_name+'&user='+user+'&port='+port+'&passwd='+passwd + "&connectionType=" + connectionType + "&tns=" + tns;
|
var uri = 'action=testConnection&step='+step+'&type='+type+'&server='+server+'&db_name='+db_name+'&user='+user+'&port='+port+'&passwd='+pas + "&connectionType=" + connectionType + "&tns=" + tns;
|
||||||
|
|
||||||
var ajax = AJAX();
|
var ajax = AJAX();
|
||||||
mainRequest = ajax;
|
mainRequest = ajax;
|
||||||
|
|||||||
@@ -351,7 +351,8 @@ switch ($action) {
|
|||||||
|
|
||||||
if ($engine != "0") {
|
if ($engine != "0") {
|
||||||
$dbs = new dbConnections();
|
$dbs = new dbConnections();
|
||||||
echo Bootstrap::json_encode($dbs->getEncondeList($filter->xssFilterHard($engine)));
|
$var = Bootstrap::json_encode($dbs->getEncondeList($filter->xssFilterHard($engine)));
|
||||||
|
echo $var;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
echo '[["0","..."]]';
|
echo '[["0","..."]]';
|
||||||
|
|||||||
@@ -91,11 +91,13 @@ try {
|
|||||||
$oTasks = new Tasks();
|
$oTasks = new Tasks();
|
||||||
switch ((int) $_POST['TU_RELATION']) {
|
switch ((int) $_POST['TU_RELATION']) {
|
||||||
case 1:
|
case 1:
|
||||||
echo htmlentities($oTasks->assignUser($_POST['TAS_UID'], $_POST['USR_UID'], $_POST['TU_TYPE']), ENT_QUOTES | ENT_HTML5, 'UTF-8');
|
$resh = htmlentities($oTasks->assignUser($_POST['TAS_UID'], $_POST['USR_UID'], $_POST['TU_TYPE']), ENT_QUOTES | ENT_HTML5, 'UTF-8');
|
||||||
|
echo $res;
|
||||||
G::auditlog("AssignUserTask","Assign a User to a Task -> ".$_POST['TAS_UID'].' User UID -> '.$_POST['USR_UID']);
|
G::auditlog("AssignUserTask","Assign a User to a Task -> ".$_POST['TAS_UID'].' User UID -> '.$_POST['USR_UID']);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
echo htmlentities($oTasks->assignGroup($_POST['TAS_UID'], $_POST['USR_UID'], $_POST['TU_TYPE']), ENT_QUOTES | ENT_HTML5, 'UTF-8');
|
$resh = htmlentities($oTasks->assignGroup($_POST['TAS_UID'], $_POST['USR_UID'], $_POST['TU_TYPE']), ENT_QUOTES | ENT_HTML5, 'UTF-8');
|
||||||
|
echo $resh;
|
||||||
G::auditlog("AssignGroupTask","Assign a Group to a Task -> ".$_POST['TAS_UID'].' User UID -> '.$_POST['USR_UID']);
|
G::auditlog("AssignGroupTask","Assign a Group to a Task -> ".$_POST['TAS_UID'].' User UID -> '.$_POST['USR_UID']);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,50 +0,0 @@
|
|||||||
<?php
|
|
||||||
G::LoadSystem('inputfilter');
|
|
||||||
$filter = new InputFilter();
|
|
||||||
if(isset($_GET['gui'])) {
|
|
||||||
$_GET['gui'] = $filter->xssFilterHard($_GET['gui']);
|
|
||||||
$gui = $_GET['gui'];
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<html>
|
|
||||||
<style>
|
|
||||||
.Footer{
|
|
||||||
font :normal 8pt sans-serif,Tahoma,MiscFixed !important;
|
|
||||||
color :#000 !important;
|
|
||||||
height :0px !important;
|
|
||||||
text-align :center !important;
|
|
||||||
}
|
|
||||||
.Footer .content{
|
|
||||||
color :black !important;
|
|
||||||
padding :0px !important;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<body onresize="autoResizeScreen()" onload="autoResizeScreen()">
|
|
||||||
<iframe name="frameMain" id="frameMain" src ="../reportTables/mainInit?PRO_UID=<?php echo $filter->xssFilterHard($gui);?>" width="99%" height="200" frameborder="0">
|
|
||||||
<p>Your browser does not support iframes.</p>
|
|
||||||
</iframe>
|
|
||||||
</body>
|
|
||||||
<script>
|
|
||||||
oClientWinSize = getClientWindowSize();
|
|
||||||
h = getStyle(document.getElementById('pm_menu'),'top');
|
|
||||||
h = h.replace("px", "");
|
|
||||||
h = parseInt(h) + 18;
|
|
||||||
if ( document.getElementById('pm_submenu') )
|
|
||||||
document.getElementById('pm_submenu').style.display = 'none';
|
|
||||||
document.documentElement.style.overflowY = 'hidden';
|
|
||||||
function autoResizeScreen() {
|
|
||||||
oCasesFrame = document.getElementById('frameMain');
|
|
||||||
oClientWinSize = getClientWindowSize();
|
|
||||||
height = oClientWinSize.height-105;
|
|
||||||
oCasesFrame.style.height = height;
|
|
||||||
//oCasesSubFrame = oCasesFrame.contentWindow.document.getElementById('casesSubFrame');
|
|
||||||
//oCasesSubFrame.style.height = height-10;
|
|
||||||
}
|
|
||||||
function getStyle(targetElement,styleProp) {
|
|
||||||
if (targetElement) {
|
|
||||||
if (targetElement.currentStyle) return targetElement.currentStyle[styleProp];
|
|
||||||
else if (window.getComputedStyle) return document.defaultView.getComputedStyle(targetElement,null).getPropertyValue(styleProp);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
</html>
|
|
||||||
@@ -3,7 +3,7 @@ var fsSamples;
|
|||||||
var fsNames;
|
var fsNames;
|
||||||
var fsDates;
|
var fsDates;
|
||||||
var fsCases;
|
var fsCases;
|
||||||
var _firstName, _lastName, _userName, _dateSample;
|
var _firstName, _lastName, _uName, _dateSample;
|
||||||
|
|
||||||
var txtCasesRefreshTime;
|
var txtCasesRefreshTime;
|
||||||
|
|
||||||
@@ -12,7 +12,7 @@ Ext.onReady(function() {
|
|||||||
|
|
||||||
_firstName = 'John';
|
_firstName = 'John';
|
||||||
_lastName = 'Deere';
|
_lastName = 'Deere';
|
||||||
_userName = 'johndeere';
|
_uName = 'johndeere';
|
||||||
_dateSample = '2011-02-17 19:15:38';
|
_dateSample = '2011-02-17 19:15:38';
|
||||||
|
|
||||||
fsSample = new Ext.form.FieldSet({
|
fsSample = new Ext.form.FieldSet({
|
||||||
@@ -321,7 +321,7 @@ Ext.onReady(function() {
|
|||||||
//Load Samples Label
|
//Load Samples Label
|
||||||
loadSamples = function ()
|
loadSamples = function ()
|
||||||
{
|
{
|
||||||
Ext.getCmp("lblFullName").setText(_FNF(_userName, _firstName, _lastName, FORMATS.format));
|
Ext.getCmp("lblFullName").setText(_FNF(_uName, _firstName, _lastName, FORMATS.format));
|
||||||
Ext.getCmp("lblDateFormat").setText(_DF(_dateSample, FORMATS.dateFormat));
|
Ext.getCmp("lblDateFormat").setText(_DF(_dateSample, FORMATS.dateFormat));
|
||||||
Ext.getCmp("lblCasesDateFormat").setText(_DF(_dateSample, FORMATS.casesListDateFormat, FORMATS.casesListDateFormat));
|
Ext.getCmp("lblCasesDateFormat").setText(_DF(_dateSample, FORMATS.casesListDateFormat, FORMATS.casesListDateFormat));
|
||||||
//Ext.getCmp("lblCasesRowsList").setText(FORMATS.casesListRowNumber);
|
//Ext.getCmp("lblCasesRowsList").setText(FORMATS.casesListRowNumber);
|
||||||
@@ -338,7 +338,7 @@ changeSettings = function (iType)
|
|||||||
var f = FORMATS.format;
|
var f = FORMATS.format;
|
||||||
|
|
||||||
FORMATS.format = cmbUsernameFormat.getValue();
|
FORMATS.format = cmbUsernameFormat.getValue();
|
||||||
Ext.getCmp("lblFullName").setText(_FNF(_userName, _firstName, _lastName, cmbUsernameFormat.getValue()));
|
Ext.getCmp("lblFullName").setText(_FNF(_uName, _firstName, _lastName, cmbUsernameFormat.getValue()));
|
||||||
FORMATS.format = f;
|
FORMATS.format = f;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
|
|||||||
Reference in New Issue
Block a user