����JFIF��x�x����'403WebShell
403Webshell
Server IP : 78.140.185.180  /  Your IP : 3.14.249.46
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/var/lib/openmanage/xslroot/hip/template/common/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/dell/srvadmin/var/lib/openmanage/xslroot/hip/template/common/EditTemp.xsl
<?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">
		<xsl:if test="(OMAUserRights = '7') or (OMAUserRights = '3')">
			<xsl:choose>
				<xsl:when test="(TemperatureProbe/ProbeThresholds/LCThreshold != '-2147483648') and (TemperatureProbe/ProbeThresholds/UCThreshold != '-2147483648') and (TemperatureProbe/ProbeThresholds/LNCThreshold != '-2147483648') and (TemperatureProbe/ProbeThresholds/UNCThreshold != '-2147483648') and (TemperatureProbe/ProbeReading != '-2147483648') and (TemperatureProbe/SubType != '16')">
					<xsl:choose>
						<xsl:when test="SMStatus='0'">
							<xsl:apply-templates select="TemperatureProbe"/>
						</xsl:when>
						<xsl:otherwise>
							<xsl:call-template name="failure"/>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:when>
				<xsl:otherwise>
					<xsl:call-template name="invalid"/>
				</xsl:otherwise>
			</xsl:choose>
		</xsl:if>
	</xsl:template>
	<xsl:template name="failure">
		<DataArea exportdata="false">
			<PageTitle>
				<xsl:attribute name="display"><xsl:value-of select="$strTemeratureProbe"/></xsl:attribute>
			</PageTitle>
			<TableData>
				<Row>
					<Data name="">
						<xsl:attribute name="display"><xsl:value-of select="$str"/></xsl:attribute>
						<xsl:attribute name="value"><xsl:call-template name="smstatus"><xsl:with-param name="status"><xsl:value-of select="SMStatus"/></xsl:with-param></xsl:call-template></xsl:attribute>
					</Data>
				</Row>
			</TableData>
		</DataArea>
	</xsl:template>
	<xsl:template name="invalid">
		<DataArea exportdata="false">
			<PageTitle>
				<xsl:attribute name="display"><xsl:value-of select="$strTemperatureProbes"/></xsl:attribute>
			</PageTitle>
			<PromptText>
				<xsl:value-of select="$strTemperatureProbeThresholds"/>
			</PromptText>
		</DataArea>
	</xsl:template>
	<xsl:template match="TemperatureProbe">
		<DataArea validate="true" onLoad="true" exportdata="false">
			<xsl:attribute name="backpagedisplay"><xsl:value-of select="$strTemperatureProbes1"/></xsl:attribute>
			<!-- No need to check subtype here because it won't come here if subtype is not 5 xsl:if test="SubType='5'" -->
			<xsl:attribute name="submit">./SubmitForm?plugin=com.dell.hip.webplugins.SetTemperatureWebPlugin&amp;oid=<xsl:value-of select="@oid"/>&amp;help=EditTemperatureProbess&amp;poid=<xsl:value-of select="@poid"/></xsl:attribute>
			<!--/xsl:if-->
			<xsl:attribute name="backpagetarget">./DataArea?plugin=com.dell.hip.webplugins.ListTemperatureWebPlugin&amp;poid=<xsl:value-of select="@poid"/>&amp;help=Temperatures</xsl:attribute>
			<PageTitle/>
			<CustomButton>
				<Data name="Refresh">
					<xsl:attribute name="display"><xsl:value-of select="$strRefresh"/></xsl:attribute>
					<xsl:attribute name="href">./DataArea?plugin=com.dell.hip.webplugins.TemperatureWebPlugin&amp;help=EditTemperatureProbes&amp;oid=<xsl:value-of select="@oid"/>&amp;poid=<xsl:value-of select="@poid"/></xsl:attribute>
				</Data>
			</CustomButton>
			<xsl:choose>
				<xsl:when test="(ProbeThresholds/LCThreshold != '-2147483648') and (ProbeThresholds/UCThreshold != '-2147483648') and (ProbeThresholds/LNCThreshold != '-2147483648') and (ProbeThresholds/UNCThreshold != '-2147483648') and (ProbeReading != '-2147483648')">
					<Guage digits="1">
					<SubHeader>
				<xsl:attribute name="display"><xsl:value-of select="ProbeLocation"/></xsl:attribute>
				<xsl:attribute name="status"><xsl:value-of select="@status"/></xsl:attribute>
			</SubHeader>
						<xsl:attribute name="units"><xsl:value-of select="$strC"/></xsl:attribute>
						<xsl:attribute name="showdecsep"><xsl:value-of select="$strDecimalFractionSeperatorPart2"/></xsl:attribute>
						<Reading>
							<xsl:call-template name="calTemp">
								<xsl:with-param name="temp">
									<xsl:value-of select="ProbeReading"/>
								</xsl:with-param>
							</xsl:call-template>
						</Reading>
						<Probe>Temperature</Probe>
							
						

						<MFThresh>
							<xsl:call-template name="calTemp">
								<xsl:with-param name="temp">
									<xsl:value-of select="ProbeThresholds/LCThreshold"/>
								</xsl:with-param>
							</xsl:call-template>
						</MFThresh>
						<MXFThresh>
							<xsl:call-template name="calTemp">
								<xsl:with-param name="temp">
									<xsl:value-of select="ProbeThresholds/UCThreshold"/>
								</xsl:with-param>
							</xsl:call-template>
						</MXFThresh>
						<MWThresh>
							<xsl:call-template name="calTemp">
								<xsl:with-param name="temp">
									<xsl:value-of select="ProbeThresholds/LNCThreshold"/>
								</xsl:with-param>
							</xsl:call-template>
						</MWThresh>
						<MXWThresh>
							<xsl:call-template name="calTemp">
								<xsl:with-param name="temp">
									<xsl:value-of select="ProbeThresholds/UNCThreshold"/>
								</xsl:with-param>
							</xsl:call-template>
						</MXWThresh>
						<ListData>
							<Data type="status-text">
								<xsl:attribute name="display"><xsl:value-of select="$strStatus"/></xsl:attribute>
								<xsl:attribute name="value"><xsl:value-of select="@status"/></xsl:attribute>
							</Data>
							<Data reading="true">
								<xsl:attribute name="display"><xsl:value-of select="$strReading"/></xsl:attribute>
								<xsl:attribute name="value"><xsl:call-template name="showcalTemp"><xsl:with-param name="temp"><xsl:value-of select="ProbeReading"/></xsl:with-param></xsl:call-template><xsl:value-of select="$strC1"/></xsl:attribute>
							</Data>
							<Data>
								<xsl:attribute name="display"><xsl:value-of select="$strMinFailureThreshold"/></xsl:attribute>
								<xsl:attribute name="value"><xsl:call-template name="showcalTemp"><xsl:with-param name="temp"><xsl:value-of select="ProbeThresholds/LCThreshold"/></xsl:with-param></xsl:call-template><xsl:value-of select="$strC2"/></xsl:attribute>
							</Data>
							<Data>
								<xsl:attribute name="display"><xsl:value-of select="$strMaxFailureThreshold"/></xsl:attribute>
								<xsl:attribute name="value"><xsl:call-template name="showcalTemp"><xsl:with-param name="temp"><xsl:value-of select="ProbeThresholds/UCThreshold"/></xsl:with-param></xsl:call-template><xsl:value-of select="$strC3"/></xsl:attribute>
							</Data>
							<xsl:choose>
								<xsl:when test="(Capabilities/ProbeUNCDefSetEnabled = 'true') or (Capabilities/ProbeLNCDefSetEnabled = 'true')">
									<Data type="radio" state="1">
										<xsl:attribute name="display"><xsl:value-of select="$strThresholdSettings"/></xsl:attribute>
										<xsl:attribute name="name">threshsetting</xsl:attribute>
										<xsl:attribute name="returnvalue">default</xsl:attribute>
										<xsl:attribute name="handler">javascript:setToDef()</xsl:attribute>
										<xsl:attribute name="value"><xsl:value-of select="$strSetToDefault"/></xsl:attribute>
									</Data>
									<Data type="radio">
										<xsl:attribute name="name">threshsetting</xsl:attribute>
										<xsl:attribute name="returnvalue">uservalues</xsl:attribute>
										<xsl:attribute name="handler">javascript:setToVal()</xsl:attribute>
										<xsl:attribute name="value"><xsl:value-of select="$strSetToValues"/></xsl:attribute>
									</Data>
								</xsl:when>
								<xsl:otherwise>
									<Data type="radio" state="1">
										<xsl:attribute name="display"><xsl:value-of select="$strThresholdSettings1"/></xsl:attribute>
										<xsl:attribute name="name">threshsetting</xsl:attribute>
										<xsl:attribute name="returnvalue">uservalues</xsl:attribute>
										<xsl:attribute name="handler">javascript:setToVal()</xsl:attribute>
										<xsl:attribute name="value"><xsl:value-of select="$strSetToValues1"/></xsl:attribute>
									</Data>
								</xsl:otherwise>
							</xsl:choose>
				<!-- Fixing defect DFCT104866-->
							<xsl:choose>
								<xsl:when test="Capabilities/ProbeLNCSetEnabled = 'false'">
									<Data>
										<xsl:attribute name="display"><xsl:value-of select="$strMinWarningThreshold"/></xsl:attribute>
										<xsl:attribute name="name">LNCVal</xsl:attribute>
										<xsl:attribute name="value"><xsl:call-template name="showcalTemp"><xsl:with-param name="temp"><xsl:value-of select="ProbeThresholds/LNCThreshold"/></xsl:with-param></xsl:call-template><xsl:value-of select="$strC2"/></xsl:attribute>
									</Data>
								</xsl:when>
								<xsl:otherwise>
									<Data type="editbox">
										<xsl:attribute name="display"><xsl:value-of select="$strMinWarningThreshold"/></xsl:attribute>
										<xsl:attribute name="textboxname">LNCVal</xsl:attribute>
										<xsl:attribute name="textboxvalue"><xsl:call-template name="showcalTemp"><xsl:with-param name="temp"><xsl:value-of select="ProbeThresholds/LNCThreshold"/></xsl:with-param></xsl:call-template></xsl:attribute>
										<xsl:if test="Capabilities/ProbeLNCSetEnabled='false'">
											<xsl:attribute name="editable">false</xsl:attribute>
										</xsl:if>
										<xsl:attribute name="unit"><xsl:value-of select="$strC4"/></xsl:attribute>
									</Data>
								</xsl:otherwise>
							</xsl:choose>
							<xsl:choose>
								<xsl:when test="Capabilities/ProbeUNCSetEnabled = 'false'">
									<Data>
										<xsl:attribute name="display"><xsl:value-of select="$strMaxWarningThreshold"/></xsl:attribute>
										<xsl:attribute name="name">UNCVal</xsl:attribute>
										<xsl:attribute name="value"><xsl:call-template name="showcalTemp"><xsl:with-param name="temp"><xsl:value-of select="ProbeThresholds/UNCThreshold"/></xsl:with-param></xsl:call-template><xsl:value-of select="$strC2"/></xsl:attribute>
									</Data>
								</xsl:when>
								<xsl:otherwise>
									<Data type="editbox">
										<xsl:attribute name="display"><xsl:value-of select="$strMaxWarningThreshold"/></xsl:attribute>
										<xsl:attribute name="textboxname">UNCVal</xsl:attribute>
										<xsl:attribute name="textboxvalue"><xsl:call-template name="showcalTemp"><xsl:with-param name="temp"><xsl:value-of select="ProbeThresholds/UNCThreshold"/></xsl:with-param></xsl:call-template></xsl:attribute>
										<xsl:if test="Capabilities/ProbeUNCSetEnabled='false'">
											<xsl:attribute name="editable">false</xsl:attribute>
										</xsl:if>
										<xsl:attribute name="unit"><xsl:value-of select="$strC5"/></xsl:attribute>
									</Data>
								</xsl:otherwise>
							</xsl:choose>
						</ListData>
					</Guage>
				</xsl:when>
				<xsl:otherwise>
					<ListData>
						<xsl:element name="Data">
							<xsl:attribute name="name">Status</xsl:attribute>
							<xsl:attribute name="value"><xsl:value-of select="@status"/></xsl:attribute>
							<xsl:attribute name="display"><xsl:value-of select="$strStatus1"/></xsl:attribute>
							<xsl:attribute name="type">status-text</xsl:attribute>
						</xsl:element>
						<xsl:element name="Data">
							<xsl:attribute name="value"><xsl:call-template name="showcalTemp"><xsl:with-param name="temp"><xsl:value-of select="ProbeReading"/></xsl:with-param></xsl:call-template></xsl:attribute>
							<xsl:attribute name="display"><xsl:value-of select="$strReading1"/></xsl:attribute>
							<xsl:attribute name="type">ustring</xsl:attribute>
							<xsl:attribute name="unit"><xsl:value-of select="$strC6"/></xsl:attribute>
						</xsl:element>
						<xsl:element name="Data">
							<xsl:attribute name="value"><xsl:call-template name="showcalTemp"><xsl:with-param name="temp"><xsl:value-of select="ProbeThresholds/LCThreshold"/></xsl:with-param></xsl:call-template></xsl:attribute>
							<xsl:attribute name="display"><xsl:value-of select="$strMinimumFailureThreshhold"/></xsl:attribute>
							<xsl:attribute name="type">ustring</xsl:attribute>
							<xsl:attribute name="unit"><xsl:value-of select="$strC7"/></xsl:attribute>
						</xsl:element>
						<xsl:element name="Data">
							<xsl:attribute name="value"><xsl:call-template name="showcalTemp"><xsl:with-param name="temp"><xsl:value-of select="ProbeThresholds/UCThreshold"/></xsl:with-param></xsl:call-template></xsl:attribute>
							<xsl:attribute name="display"><xsl:value-of select="$strMaximumFailureThreshold"/></xsl:attribute>
							<xsl:attribute name="type">ustring</xsl:attribute>
							<xsl:attribute name="unit"><xsl:value-of select="$strC8"/></xsl:attribute>
						</xsl:element>
						<Data type="radio" state="1">
							<xsl:attribute name="display"><xsl:value-of select="$strThresholdSettings2"/></xsl:attribute>
							<xsl:attribute name="name">threshsetting</xsl:attribute>
							<xsl:attribute name="returnvalue">default</xsl:attribute>
							<xsl:attribute name="event">onClick</xsl:attribute>
							<xsl:attribute name="handler">javascript:setToDef()</xsl:attribute>
							<xsl:attribute name="value"><xsl:value-of select="$strSetToDefault1"/></xsl:attribute>
						</Data>
						<Data type="radio">
							<xsl:attribute name="name">threshsetting</xsl:attribute>
							<xsl:attribute name="returnvalue">uservalues</xsl:attribute>
							<xsl:attribute name="event">onClick</xsl:attribute>
							<xsl:attribute name="handler">javascript:setToVal()</xsl:attribute>
							<xsl:attribute name="value"><xsl:value-of select="$strSetToValues2"/></xsl:attribute>
						</Data>
						<Data type="editbox" size="6">
							<xsl:attribute name="display"><xsl:value-of select="$strMinWarningThreshold1"/></xsl:attribute>
							<xsl:attribute name="name">LNCVal</xsl:attribute>
							<xsl:attribute name="value"><xsl:call-template name="showcalTemp"><xsl:with-param name="temp"><xsl:value-of select="ProbeThresholds/LNCThreshold"/></xsl:with-param></xsl:call-template></xsl:attribute>
							<xsl:attribute name="unit"><xsl:value-of select="$strC9"/></xsl:attribute>
						</Data>
						<Data type="editbox" size="6">
							<xsl:attribute name="display"><xsl:value-of select="$strMaxWarningThreshold1"/></xsl:attribute>
							<xsl:attribute name="name">UNCVal</xsl:attribute>
							<xsl:attribute name="value"><xsl:call-template name="showcalTemp"><xsl:with-param name="temp"><xsl:value-of select="ProbeThresholds/UNCThreshold"/></xsl:with-param></xsl:call-template></xsl:attribute>
							<xsl:attribute name="unit"><xsl:value-of select="$strC10"/></xsl:attribute>
						</Data>
					</ListData>
				</xsl:otherwise>
			</xsl:choose>
			<script language="javascript" src="/oma/js/Probe.js"/>
			<script language="javascript">

			var setToDefault	= true;
			var setToValues	= false;
			var UC;
			var LC;
			var preUNC;
			var preLNC;
			var UCTxt;
			var LCTxt;
			var preUNCTxt;
			var preLNCTxt;
			var toggleunivDecsep = <xsl:value-of select="$strDecimalFractionSeperatorQuotesPart2"/>; //In German , French and Spanish, change it to ",". In en, it should be ".".
			var togglelocalDecsep = <xsl:value-of select="$strDecimalSeperatorQuotesPart2"/>;//In German , French and Spanish, change it to ".".In en, it should be ",".
			var univDecsep = "."; // don't translate.
			var unit =  <xsl:value-of select="$strC11"/>;
			var multiplier = 10;
			var lengthval = 2;
			var msg1 = <xsl:value-of select="$strErrorNumberWith"/>;
			var msg2 = <xsl:value-of select="$strErrorTheValue1"/>;
			var msg3 = <xsl:value-of select="$strRange"/>;
			var msg4 = <xsl:value-of select="$strTo"/>;
			var msg5 = <xsl:value-of select="$strErrorTheValue2"/>;
			var msg6 = <xsl:value-of select="$strUnit"/>;
			var msg7 = <xsl:value-of select="$strErrorMinimumWarning"/>;
			
			<!-- These variable declarations were changed when we changed the structure of the error string to fix translation related issues -->
			//var msg2 = <xsl:value-of select="$strErrorTheValue"/>;
			//var msg3 = <xsl:value-of select="$strIsNotBetween"/>;
			//var msg4 = <xsl:value-of select="$strTo"/>;
			//var msg5 = <xsl:value-of select="$strForMinimumWarning"/>;
			//var msg6 = <xsl:value-of select="$strForMaximumWarning"/>;
			
			

			function initializationRoutine()
			{
				<!-- Fixing defect DFCT104866-->
				<xsl:if test="Capabilities/ProbeUNCSetEnabled = 'true'">
					document.getElementById("UNCVal").value = '<xsl:call-template name="showcalTemp"><xsl:with-param name="temp"><xsl:value-of select="ProbeThresholds/UNCThreshold"/></xsl:with-param></xsl:call-template>';
					document.getElementById("UNCVal").disabled = true;
				</xsl:if>
				<xsl:if test="Capabilities/ProbeLNCSetEnabled = 'true'">
				document.getElementById("LNCVal").value = '<xsl:call-template name="showcalTemp"><xsl:with-param name="temp"><xsl:value-of select="ProbeThresholds/LNCThreshold"/></xsl:with-param></xsl:call-template>';
					document.getElementById("LNCVal").disabled = true;
				</xsl:if>
				document.getElementById("threshsetting").checked = true;
				assignVal();
				<xsl:if test="(Capabilities/ProbeUNCDefSetEnabled != 'true') and (Capabilities/ProbeLNCDefSetEnabled != 'true')">
				 	setToVal();
				</xsl:if>
			}

			function assignVal(){
					var UCloc 			= parseFloat("<xsl:call-template name="calTemp">
					<xsl:with-param name="temp"><xsl:value-of select="ProbeThresholds/UCThreshold"/></xsl:with-param></xsl:call-template>");
					var LCloc 			= parseFloat("<xsl:call-template name="calTemp">
					<xsl:with-param name="temp"><xsl:value-of select="ProbeThresholds/LCThreshold"/></xsl:with-param></xsl:call-template>");
					var preUNCloc 		= parseFloat("<xsl:call-template name="calTemp">
					<xsl:with-param name="temp"><xsl:value-of select="ProbeThresholds/UNCThreshold"/></xsl:with-param></xsl:call-template>");
					var preLNCloc 		= parseFloat("<xsl:call-template name="calTemp">
					<xsl:with-param name="temp"><xsl:value-of select="ProbeThresholds/LNCThreshold"/></xsl:with-param></xsl:call-template>");

					var UCTxtloc		= '<xsl:call-template name="showcalTemp">
					<xsl:with-param name="temp"><xsl:value-of select="ProbeThresholds/UCThreshold"/></xsl:with-param></xsl:call-template>';
					var LCTxtloc		= '<xsl:call-template name="showcalTemp">
					<xsl:with-param name="temp"><xsl:value-of select="ProbeThresholds/LCThreshold"/></xsl:with-param></xsl:call-template>';

					var preUNCTxtloc		= '<xsl:call-template name="showcalTemp">
					<xsl:with-param name="temp"><xsl:value-of select="ProbeThresholds/UNCThreshold"/></xsl:with-param></xsl:call-template>';
					var preLNCTxtloc 		= '<xsl:call-template name="showcalTemp">
					<xsl:with-param name="temp"><xsl:value-of select="ProbeThresholds/LNCThreshold"/></xsl:with-param></xsl:call-template>';

					UC = UCloc;
					LC = LCloc;
					preUNC = preUNCloc;
					preLNC = preLNCloc;
					UCTxt = trim(UCTxtloc);
					LCTxt = trim(LCTxtloc);
					preUNCTxt = trim(preUNCTxtloc);
					preLNCTxt = trim(preLNCTxtloc);
			}

			function validate() {
				if(validateTempProbe() == true)
					return true;
				else
					return false;
			}


			function onSubmit() {
				if(validateTempProbe() == true)
				{
					document.getElementById("dataarea").action = './SubmitForm?plugin=com.dell.hip.webplugins.SetTemperatureWebPlugin&amp;oid=<xsl:value-of select="@oid"/>&amp;help=EditTemperatureProbess&amp;poid=<xsl:value-of select="@poid"/>';
					formSubmit();
				}
			}
		</script>
		</DataArea>
	</xsl:template>
	<xsl:template name="showcalTemp">
		<xsl:param name="temp"/>
		<xsl:variable name="formatval">
			<xsl:value-of select="format-number($temp div 10,'##0.0')"/>
		</xsl:variable>
		<xsl:variable name="univdecsep">
			<xsl:choose>
				<xsl:when test="substring(format-number(1.1,'##0.0'), 2, 1) = '.'">.</xsl:when>
				<xsl:when test="substring(format-number(1.1,'##0.0'), 2, 1) = ','">,</xsl:when>
			</xsl:choose>
		</xsl:variable>
		<xsl:variable name="localdecsep">
			<xsl:value-of select="$strDecimalFractionSeperatorPart2"/>
		</xsl:variable>
		<xsl:value-of select="translate($formatval,$univdecsep,$localdecsep)"/>
	</xsl:template>
	<xsl:template name="calTemp">
		<xsl:param name="temp"/>
		<xsl:variable name="formatval">
			<xsl:value-of select="format-number($temp div 10,'##0.0')"/>
		</xsl:variable>
		<xsl:variable name="univdecsep">
			<xsl:choose>
				<xsl:when test="substring(format-number(1.1,'##0.0'), 2, 1) = '.'">.</xsl:when>
				<xsl:when test="substring(format-number(1.1,'##0.0'), 2, 1) = ','">,</xsl:when>
			</xsl:choose>
		</xsl:variable>
		<xsl:variable name="localdecsep">.</xsl:variable>
		<xsl:value-of select="translate($formatval,$univdecsep,$localdecsep)"/>
	</xsl:template>
	<xsl:template name="smstatus">
		<xsl:param name="status"/>
		<xsl:choose>
			<xsl:when test="$status = '-1'">
				<xsl:value-of select="$strCommandUnsuccessful"/>
			</xsl:when>
			<xsl:when test="$status = '1'">
				<xsl:value-of select="$strCommandNotImplemented"/>
			</xsl:when>
			<xsl:when test="$status = '2'">
				<xsl:value-of select="$strBadCommand"/>
			</xsl:when>
			<xsl:when test="$status = '3'">
				<xsl:value-of select="$strCommandTimeout"/>
			</xsl:when>
			<xsl:when test="$status = '4'">
				<xsl:value-of select="$strCommandCancelled"/>
			</xsl:when>
			<xsl:when test="$status = '5'">
				<xsl:value-of select="$strCommandAborted"/>
			</xsl:when>
			<xsl:when test="$status = '6'">
				<xsl:value-of select="$strCommandPending"/>
			</xsl:when>
			<xsl:when test="$status = '7'">
				<xsl:value-of select="$strNoSuchDevice"/>
			</xsl:when>
			<xsl:when test="$status = '8'">
				<xsl:value-of select="$strDeviceBusy"/>
			</xsl:when>
			<xsl:when test="$status = '9'">
				<xsl:value-of select="$strBadDevice"/>
			</xsl:when>
			<xsl:when test="$status = '10'">
				<xsl:value-of select="$strSpuriousInterrupt"/>
			</xsl:when>
			<xsl:when test="$status = '11'">
				<xsl:value-of select="$strResourceLocked"/>
			</xsl:when>
			<xsl:when test="$status = '12'">
				<xsl:value-of select="$strInvalidIndex"/>
			</xsl:when>
			<xsl:when test="$status = '13'">
				<xsl:value-of select="$strSMBError"/>
			</xsl:when>
			<xsl:when test="$status = '14'">
				<xsl:value-of select="$strDataRequestedIs"/>
			</xsl:when>
			<xsl:when test="$status = '15'">
				<xsl:value-of select="$strDataRequestedIs1"/>
			</xsl:when>
			<xsl:when test="$status = '16'">
				<xsl:value-of select="$strDataRequestedIs2"/>
			</xsl:when>
			<xsl:when test="$status = '17'">
				<xsl:value-of select="$strDeviceNotYet"/>
			</xsl:when>
			<xsl:when test="$status = '18'">
				<xsl:value-of select="$strDeviceDoesNot"/>
			</xsl:when>
			<xsl:when test="$status = '19'">
				<xsl:value-of select="$strDeviceOutOf"/>
			</xsl:when>
			<xsl:when test="$status = '20'">
				<xsl:value-of select="$strDeviceAlreadyExists"/>
			</xsl:when>
			<xsl:when test="$status = '256'">
				<xsl:value-of select="$strTemperatureProbeNot"/>
			</xsl:when>
			<xsl:when test="$status = '257'">
				<xsl:value-of select="$strObjectMalformedCorrupt"/>
			</xsl:when>
			<xsl:when test="$status = '258'">
				<xsl:value-of select="$strObjectAlreadyExists"/>
			</xsl:when>
			<xsl:when test="$status = '260'">
				<xsl:value-of select="$strINIFileNot"/>
			</xsl:when>
			<xsl:when test="$status = '261'">
				<xsl:value-of select="$strINIMalformedCorrupt"/>
			</xsl:when>
			<xsl:when test="$status = '262'">
				<xsl:value-of select="$strINISectionDoes"/>
			</xsl:when>
			<xsl:when test="$status = '263'">
				<xsl:value-of select="$strINIKeyDoes"/>
			</xsl:when>
			<xsl:when test="$status = '264'">
				<xsl:value-of select="$strINIValueMalformed"/>
			</xsl:when>
			<xsl:when test="$status = '270'">
				<xsl:value-of select="$strInsufficientAccessRights"/>
			</xsl:when>
			<xsl:when test="$status = '271'">
				<xsl:value-of select="$strInvalidParameterName"/>
			</xsl:when>
			<xsl:when test="$status = '272'">
				<xsl:value-of select="$strOutOfMemory"/>
			</xsl:when>
			<xsl:when test="$status = '280'">
				<xsl:value-of select="$strXMLFileNot"/>
			</xsl:when>
			<xsl:when test="$status = '281'">
				<xsl:value-of select="$strXMLMalformedCorrupt"/>
			</xsl:when>
			<xsl:when test="$status = '282'">
				<xsl:value-of select="$strXMLNodeDoes"/>
			</xsl:when>
			<xsl:when test="$status = '283'">
				<xsl:value-of select="$strXMLValueMalformed"/>
			</xsl:when>
			<xsl:otherwise>SMStatus: <xsl:value-of select="$status"/>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	<xsl:template match="*">
</xsl:template>
</xsl:stylesheet>

Youez - 2016 - github.com/yon3zu
LinuXploit