����JFIF��x�x����'
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 : |
<?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:strip-space elements="*"/> <xsl:output method="xml" indent="no"/> <xsl:template match="/OMA"> <xsl:choose> <xsl:when test="SMStatus='0'"><xsl:call-template name="success"/></xsl:when> <xsl:otherwise><xsl:call-template name="failure"/></xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="failure"> <DataArea exportdata="false"> <xsl:attribute name="backpagedisplay"><xsl:value-of select="$strBIOSSetup"/></xsl:attribute> <xsl:attribute name="backpagetarget">./DataArea?plugin=com.dell.hip.webplugins.biossetupWebPlugin&help=BiosSetup</xsl:attribute> <PageTitle> <xsl:attribute name="display"><xsl:value-of select="$strBIOSSetup1"/></xsl:attribute> </PageTitle> <TableData> <Header> <Data name=""> <xsl:attribute name="display"><xsl:value-of select="$strError"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strError1"/></xsl:attribute> </Data> </Header> <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="success"> <DataArea onLoad="true" validate="true" exportdata="false"> <!-- Check to see if the Back button needs to be hidden --> <xsl:choose> <xsl:when test="needBckButton='false'"> <xsl:attribute name="submit">./SubmitForm?plugin=com.dell.hip.webplugins.setbiosobjWebPlugin&button=false&oid=<xsl:value-of select="BIOSSetup/@oid"/>&help=BiosSetup</xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="backpagedisplay"><xsl:value-of select="$strBIOSSetup2"/></xsl:attribute> <xsl:attribute name="backpagetarget">./DataArea?plugin=com.dell.hip.webplugins.biossetupWebPlugin&help=BiosSetup</xsl:attribute> <xsl:attribute name="submit">./SubmitForm?plugin=com.dell.hip.webplugins.setbiosobjWebPlugin&oid=<xsl:value-of select="BIOSSetup/@oid"/>&help=BiosSetup</xsl:attribute> </xsl:otherwise> </xsl:choose> <xsl:if test="ShutDownFlag='true'"> <HiddenTable> <Data name="DatypeTag" type="hidden"> <xsl:choose> <xsl:when test="/OMA/ShutDownDA = 'dceda' "> <xsl:attribute name="returnvalue">dceda</xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="returnvalue">hipda</xsl:attribute> </xsl:otherwise> </xsl:choose> </Data> </HiddenTable> <script language="javascript"> function restart() { if (confirm("<xsl:value-of select="$strAreYouDone"/>")){ document.getElementById("dataarea").action=top.gnv.appendVID('./SubmitForm?plugin=com.dell.hip.webplugins.shtdwnWebPlugin&os=8&action1=1'); document.getElementById("dataarea").submit(); } } </script> </xsl:if> <script language="javascript"> var actionSelected; var actionlen; var iplseqini; var skplistini; var bcvseqini; function initializationRoutine(){ var objname = '<xsl:value-of select="BIOSSetup/ObjName"/>'; actionlen = document.getElementById("dataarea").actionsel.length; for (i = 0 ; i < actionlen ; i++){ if(document.getElementById("dataarea").actionsel[i]) { if(document.getElementById("dataarea").actionsel[i].checked == true){ actionSelected = objname + "." + document.getElementById("dataarea").actionsel[i].value; } } } // get the setting of dual nics based on the current setting actionSelected = dualNicSetting(); <xsl:if test="/OMA/BIOSSetup/@objtype='242'"> <xsl:if test="/OMA/BIOSSetup/State = 1">disableChoices()</xsl:if> </xsl:if> <xsl:if test="/OMA/BIOSSetup/@objtype='368'and /OMA/BIOSSetup/RecoveryTime/@objtype='49' "> DisableTimer(); <xsl:if test="/OMA/BIOSSetup/State = 1">DisableTimerchoices()</xsl:if> <xsl:if test="/OMA/BIOSSetup/State = 2 or /OMA/BIOSSetup/State=3 ">EnableTimerchoices()</xsl:if> </xsl:if> <xsl:if test="/OMA/BootDeviceObj!=''"> //ipltable code var indexvalueArray = document.getElementsByName( "indexvalue" ); var actionselArray = document.getElementsByName( "actionsel" ); if(indexvalueArray && actionselArray) { var indexlen = indexvalueArray.length; for (i = 0 ; i < indexlen ; i++) { if(actionselArray[i].checked == true) { if( i == 0 ) skplistini = "1"; else skplistini = skplistini + "," + "1"; }else{ if( i == 0 ) skplistini = "0"; else skplistini = skplistini + "," + "0"; } if( i == 0 ) iplseqini = indexvalueArray[i].value; else iplseqini = iplseqini + "," + indexvalueArray[i].value; } } else { //This is a safety net when we have only one object. iplseqini = document.getElementById("dataarea").indexvalue.value; if(document.getElementById("dataarea").actionsel[i].checked == true) skplistini = "1"; else skplistini = "0"; } var bcvseq = ""; //bcvtable code var bcvindexvalueArray = document.getElementsByName( "bcvindexvalue" ); if(bcvindexvalueArray) { var bcvindexlen = bcvindexvalueArray.length; for (i = 0 ; i < bcvindexlen ; i++) { if( i == 0 ) bcvseqini = bcvindexvalueArray[i].value; else bcvseqini = bcvseqini + "," + bcvindexvalueArray[i].value; } } else { //This is a safety net when we have only one object. bcvseqini = document.getElementById("dataarea").bcvindexvalue.value; } </xsl:if> } function validate(){ var f_objname = '<xsl:value-of select="BIOSSetup/ObjName"/>'; var f_actionSelected; var stateNic1; var stateNic2; var boot_index; var field = document.createElement("input"); field.setAttribute("type","hidden"); field.setAttribute("id","rciboot"); field.setAttribute("value", "true"); field.setAttribute("name","rciboot"); document.getElementById("dataarea").appendChild(field); var field = document.createElement("input"); field.setAttribute("type","hidden"); field.setAttribute("id","boot_index"); field.setAttribute("name","boot_index"); field.setAttribute("value",""); document.getElementById("dataarea").appendChild(field); var field = document.createElement("input"); field.setAttribute("type","hidden"); field.setAttribute("id","timeroid"); field.setAttribute("name","timeroid"); field.setAttribute("value",'<xsl:value-of select="BIOSSetup/RecoveryTime/@oid"/>'); document.getElementById("dataarea").appendChild(field); <xsl:if test="/OMA/BootDeviceObj!=''"> //ipltable code var iplseq = ""; var skplist = ""; var indexvalueArray = document.getElementsByName( "indexvalue" ); var actionselArray = document.getElementsByName( "actionsel" ); var atleastOneEnabled = false; if(indexvalueArray && actionselArray) { var indexlen = indexvalueArray.length; for (i = 0 ; i < indexlen ; i++) { if(actionselArray[i].checked == true) { if( i == 0 ) skplist = "1"; else skplist = skplist + "," + "1"; atleastOneEnabled = true; }else{ if( i == 0 ) skplist = "0"; else skplist = skplist + "," + "0"; } if( i == 0 ) iplseq = indexvalueArray[i].value; else iplseq = iplseq + "," + indexvalueArray[i].value; } } else { //This is a safety net when we have only one object. iplseq = document.getElementById("dataarea").indexvalue.value; if(document.getElementById("dataarea").actionsel[i].checked == true) skplist = "1"; else skplist = "0"; } if(atleastOneEnabled == false) { alert("<xsl:value-of select="$strAtleastEnableone"/>"); return false; } var bcvseq = ""; //bcvtable code var bcvindexvalueArray = document.getElementsByName( "bcvindexvalue" ); if(bcvindexvalueArray) { var bcvindexlen = bcvindexvalueArray.length; for (i = 0 ; i < bcvindexlen ; i++) { if( i == 0 ) bcvseq = bcvindexvalueArray[i].value; else bcvseq = bcvseq + "," + bcvindexvalueArray[i].value; } } else { //This is a safety net when we have only one object. bcvseq = document.getElementById("dataarea").bcvindexvalue.value; } var field = document.createElement("input"); field.setAttribute("type","hidden"); field.setAttribute("id","iplsequence"); field.setAttribute("name","iplsequence"); field.setAttribute("value",iplseq); document.getElementById("dataarea").appendChild(field); var field = document.createElement("input"); field.setAttribute("type","hidden"); field.setAttribute("id","skiplist"); field.setAttribute("name","skiplist"); field.setAttribute("value",skplist); document.getElementById("dataarea").appendChild(field); var field = document.createElement("input"); field.setAttribute("type","hidden"); field.setAttribute("id","bcvsequence"); field.setAttribute("name","bcvsequence"); field.setAttribute("value",bcvseq); document.getElementById("dataarea").appendChild(field); if( (iplseq != iplseqini) || (skplist != skplistini)) { document.getElementById("reboot").value = "true"; var field = document.createElement("input"); field.setAttribute("type","hidden"); field.setAttribute("id","iplmodified"); field.setAttribute("name","iplmodified"); field.setAttribute("value","true"); document.getElementById("dataarea").appendChild(field); } if(bcvseq != bcvseqini) { document.getElementById("reboot").value = "true"; var field = document.createElement("input"); field.setAttribute("type","hidden"); field.setAttribute("id","bcvmodified"); field.setAttribute("name","bcvmodified"); field.setAttribute("value","true"); document.getElementById("dataarea").appendChild(field); } </xsl:if> <xsl:if test="/OMA/BIOSSetup/@objtype='265'"> // get the setting of dual nics based on user selection document.getElementById("dataarea").actionsel[1].value = dualNicSetting(); </xsl:if> for (i = 0 ; i < actionlen ; i++){ if(document.getElementById("dataarea").actionsel[i].checked == true){ f_actionSelected = f_objname + "." + document.getElementById("dataarea").actionsel[i].value; } } <xsl:if test="BIOSSetup/IsSetImmediate='false'"> if (actionSelected != f_actionSelected) { document.getElementById("reboot").value = "true"; } </xsl:if> <xsl:if test="BIOSSetup/ObjName='OnBoard RAID'"> if (confirm("<xsl:value-of select="$strChangingThisSetting"/>")){ return true; } else return false; </xsl:if> return true; } function validateTimer(delay) { var mindelay= '<xsl:value-of select="BIOSSetup/RecoveryTime/MinDelay"/>'; var maxdelay= '<xsl:value-of select="BIOSSetup/RecoveryTime/MaxDelay"/>'; var lastval = '<xsl:value-of select="BIOSSetup/RecoveryTime/Delay"/>'; delay=document.getElementById("dataarea").timer.value; var checknum=new RegExp("[^0-9]"); <!-- To check if the input timer value is a numeric value --> if(checknum.test(delay)==true) { alert("<xsl:value-of select="$strResetTimer"/>"); document.dataarea.timer.value = lastval; document.dataarea.timer.focus(); return; } if(!(parseInt(delay) >= parseInt(mindelay) && delay <= parseInt(maxdelay)) ) { alert("<xsl:value-of select="$strInvalidRange"/>" + mindelay + "<xsl:value-of select="$strTO"/>"+ maxdelay + "<xsl:value-of select="$strSeconds"/>"); document.dataarea.timer.value = lastval; document.dataarea.timer.focus(); } } <!-- Increment the spincontrol value by step--> function increment(step, max) { if(document.getElementById("timer").disabled == false) { curobj=parseInt(document.dataarea.timer.value,10); curobj = curobj + step; if ( max >= curobj ) { document.dataarea.timer.value = curobj; } else { document.dataarea.timer.value = max; } } } <!-- Decrement the spincontrol value by step--> function decrement(step, min) { if(document.getElementById("timer").disabled == false) { curobj=parseInt(document.dataarea.timer.value,10); curobj = curobj - step; if ( min <= curobj ) document.dataarea.timer.value = curobj; else document.dataarea.timer.value = min; } } <!-- Disable Timer choices if AcPowerRecovery state is Off--> function DisableTimerchoices() { var actionlen = document.getElementById("dataarea").timersel.length; for (i = 0 ; i < actionlen ; i++) { document.getElementById("dataarea").timersel[i].disabled=true; } DisableTimer(); } <!-- Disable Timer editbox if the timeroption is not TimeDelay--> function DisableTimer() { document.getElementById("timer").disabled= true; } <!-- Enable Timer editbox if the timer option TimeDelay is selected--> function EnableTimer() { document.getElementById("timer").disabled= false; } <!-- Enable Timer choices if AcPowerRecovery state is other than Off--> function EnableTimerchoices() { var actionlen = document.getElementById("dataarea").timersel.length; for (i = 0 ; i < actionlen ; i++) { document.getElementById("dataarea").timersel[i].disabled=false; } if (document.getElementById("dataarea").timersel[2].checked) //For Time Delay option EnableTimer(); } function disableDualNic() { if(document.getElementById("dataarea").actionsel_NIC1_PXE != null) { document.getElementById("dataarea").actionsel_NIC1_PXE.disabled = true; } if(document.getElementById("dataarea").actionsel_NIC1_ISCSI != null) { document.getElementById("dataarea").actionsel_NIC1_ISCSI.disabled = true; } if(document.getElementById("dataarea").actionsel_NIC2_PXE != null) { document.getElementById("dataarea").actionsel_NIC2_PXE.disabled = true; } if(document.getElementById("dataarea").actionsel_NIC2_ISCSI != null) { document.getElementById("dataarea").actionsel_NIC2_ISCSI.disabled = true; } if(document.getElementById("dataarea").actionsel_NIC1_PXE != null) { document.getElementById("dataarea").actionsel_NIC1_PXE.disabled = true; } if(document.getElementById("dataarea").actionsel_NIC1_ISCSI != null) { document.getElementById("dataarea").actionsel_NIC1_ISCSI.disabled = true; } if(document.getElementById("dataarea").actionsel_NIC2_PXE != null) { document.getElementById("dataarea").actionsel_NIC2_PXE.disabled = true; } if(document.getElementById("dataarea").actionsel_NIC2_ISCSI != null) { document.getElementById("dataarea").actionsel_NIC2_ISCSI.disabled = true; } } function enableDualNic() { if(document.getElementById("dataarea").actionsel_NIC1_PXE != null) { document.getElementById("dataarea").actionsel_NIC1_PXE.disabled = false; } if(document.getElementById("dataarea").actionsel_NIC1_ISCSI != null) { document.getElementById("dataarea").actionsel_NIC1_ISCSI.disabled = false; } if(document.getElementById("dataarea").actionsel_NIC2_PXE != null) { document.getElementById("dataarea").actionsel_NIC2_PXE.disabled = false; } if(document.getElementById("dataarea").actionsel_NIC2_ISCSI != null) { document.getElementById("dataarea").actionsel_NIC2_ISCSI.disabled = false; } } function dualNicSetting() { var currentState = 0; // unknown <xsl:if test="/OMA/BIOSSetup/@objtype = '265' "> try { var PXE1 = document.getElementById("dataarea").actionsel_NIC1_PXE; var ISCSI1 = document.getElementById("dataarea").actionsel_NIC1_ISCSI; var PXE2 = document.getElementById("dataarea").actionsel_NIC2_PXE; var ISCSI2 = document.getElementById("dataarea").actionsel_NIC2_ISCSI; if ( (PXE1 != null) && (PXE1.checked == true) ) { if ( (PXE2 != null) &&(PXE2.checked == true)) { currentState = 22; // both are enabled with PXE } else if ( (ISCSI2 != null) && (ISCSI2.checked == true)) { currentState = 134; // NIC 1 enabled with PXE, NIC 2 with iSCSI } else { currentState = 38; // NIC 1 enabled with PXE } } else if ( (ISCSI1!=null) && (ISCSI1.checked == true) ) { if ((ISCSI2 != null) && (ISCSI2.checked ==true)) { currentState = 194; // both are enabled with ISCSI } else if ( (PXE2 != null) && (PXE2.checked == true)) { currentState = 82; // NIC 1 enabled with iSCSI, NIC 2 enabled with PXE } else { currentState = 98; // NIC 1 enabled with iSCSI } } else { if ( (PXE2 != null) && (PXE2.checked == true)) { currentState = 26; // NIC 2 enabled with PXE } else if ((ISCSI2 != null) && (ISCSI2.checked ==true)) { currentState = 138; // NIC 2 enabled with iSCSI } else { currentState = 42; // enabled but no PXE/iSCSI on either NICs } } } catch(e) {} </xsl:if> return currentState; } function enableChoices() { var actionlen = document.getElementById("dataarea").actionsel.length; document.getElementById("dataarea").actionsel[actionlen-1].value = 3; if(document.getElementById("check1") != null) { document.getElementById("check1").disabled = false; if(document.getElementById("check1").checked == true) document.getElementById("dataarea").actionsel[actionlen-1].value = 2; } if(document.getElementById("check2") != null) { document.getElementById("check2").disabled = false; if(document.getElementById("check2").checked == true) document.getElementById("dataarea").actionsel[actionlen-1].value = 4; } } function disableChoices() { if(document.getElementById("check1") != null){ document.getElementById("check1").disabled = true; } if(document.getElementById("check2") != null) { document.getElementById("check2").disabled = true; } } function alternateChoices(element) { var retval = 3; if( element.name == 'check1') { if( element.checked == false) retval = 3; else { if(document.getElementById("check2") != null) document.getElementById("check2").checked = false; retval=2; } } if( element.name == 'check2') { if(element.checked == false) retval = 3; else{ if(document.getElementById("check1") != null) document.getElementById("check1").checked = false; retval=4; } } var actionlen = document.getElementById("dataarea").actionsel.length; document.getElementById("dataarea").actionsel[actionlen-1].value = retval; } function DualNICAlternateChoice(element, nicNum) { var namePXE = "actionsel_NIC" + nicNum + "_PXE"; var nameiSCSI = "actionsel_NIC" + nicNum + "_ISCSI"; if( element.name == namePXE) { if(element.checked == true) { if(document.getElementById(nameiSCSI) != null) document.getElementById(nameiSCSI).checked = false; } } if( element.name == nameiSCSI) { if(element.checked == true) { if(document.getElementById(namePXE) != null) document.getElementById(namePXE).checked = false; } } } function DualNICAlternateChoice(element, nicNum) { var namePXE = "actionsel_NIC" + nicNum + "_PXE"; var nameiSCSI = "actionsel_NIC" + nicNum + "_ISCSI"; if( element.name == namePXE) { if(element.checked == true) { if(document.getElementById(nameiSCSI) != null) document.getElementById(nameiSCSI).checked = false; } } if( element.name == nameiSCSI) { if(element.checked == true) { if(document.getElementById(namePXE) != null) document.getElementById(namePXE).checked = false; } } } </script> <xsl:if test="not(/OMA/BootDeviceObj) or (/OMA/BootDeviceObj='')"> <PageTitle> <xsl:attribute name="display"><xsl:value-of select="BIOSSetup/ObjName"/></xsl:attribute> </PageTitle> </xsl:if> <CustomButton> <xsl:if test="ShutDownFlag='true'"> <Data name="shtdwn"> <xsl:attribute name="display"><xsl:value-of select="$strRebootSystem"/></xsl:attribute> <xsl:attribute name="href">javascript:restart()</xsl:attribute> <xsl:attribute name="formSubmit">true</xsl:attribute> </Data> </xsl:if> <Data name="Refresh"> <xsl:attribute name="display"><xsl:value-of select="$strRefresh"/></xsl:attribute> <xsl:choose> <xsl:when test="needBckButton='false'"> <xsl:attribute name="href">./DataArea?plugin=com.dell.hip.webplugins.biosobjinfoWebPlugin&button=false&oid=<xsl:value-of select="BIOSSetup/@oid"/>&help=BiosSetup </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="href">./DataArea?plugin=com.dell.hip.webplugins.biosobjinfoWebPlugin&rciboot=<xsl:value-of select="rciboot"/>&oid=<xsl:value-of select="BIOSSetup/@oid"/>&help=BiosSetup</xsl:attribute> </xsl:otherwise> </xsl:choose> </Data> </CustomButton> <xsl:choose> <xsl:when test="/OMA/BIOSSetup/@objtype!='265' and /OMA/BIOSSetup/@objtype!='242' and /OMA/BIOSSetup/@objtype!='368' and /OMA/BIOSSetup/@objtype!='45057'"> <ListData type="custom"> <Header> <Data> <xsl:attribute name="display"> <xsl:value-of select="$strSetup"/><xsl:value-of select="BIOSSetup/ObjName"/></xsl:attribute> <xsl:attribute name="value"> <xsl:value-of select="$strSetup1"/><xsl:value-of select="BIOSSetup/ObjName"/></xsl:attribute> </Data> </Header> <xsl:choose> <xsl:when test="/OMA/BIOSSetup/ObjName='OnBoard RAID'"> <PromptText status="3"><xsl:value-of select="$strSelectOneOf"/></PromptText> </xsl:when> <xsl:when test="/OMA/BIOSBootSpecObj"> <PromptText status="3"><xsl:value-of select="$strSelectOneOf2"/></PromptText> </xsl:when> <xsl:otherwise><PromptText><xsl:value-of select="$strSelectOneOf1"/></PromptText></xsl:otherwise> </xsl:choose> <xsl:for-each select="BIOSSetup/Capabilities/*"> <xsl:if test=".='true' and name()!='All'"> <Data type="radio"> <xsl:attribute name="name">actionsel</xsl:attribute> <xsl:attribute name="returnvalue"> <xsl:call-template name="objstatus"> <xsl:with-param name="type"><xsl:value-of select="/OMA/BIOSSetup/@objtype"/></xsl:with-param> <xsl:with-param name="name"><xsl:value-of select="name()"/></xsl:with-param> <xsl:with-param name="objname"><xsl:value-of select="/OMA/BIOSSetup/ObjName"/></xsl:with-param> </xsl:call-template> </xsl:attribute> <xsl:choose> <xsl:when test="/OMA/BIOSSetup/@objtype='240'"> <xsl:choose> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strOff"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strOn"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='241'"> <xsl:choose> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strOff1"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Auto'"> <xsl:attribute name="display"><xsl:value-of select="$strAuto"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Rdonly'"> <xsl:attribute name="display"><xsl:value-of select="$strWriteProtect"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='243'"> <xsl:choose> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strOff2"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strOn1"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='244'"> <xsl:choose> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strDisabled1"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strEnabled1"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='245'"> <xsl:choose> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strOff3"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Auto'"> <xsl:attribute name="display"><xsl:value-of select="$strAuto"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='246'"> <xsl:choose> <xsl:when test="/OMA/BIOSSetup/ObjName='Secondary SCSI'"> <xsl:choose> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strOff4"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strOn3"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/ObjName='Primary SCSI'"> <xsl:choose> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strOff5"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strOn4"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <!-- [pp] 07/10/03 DFCT 86885 --> <xsl:when test="/OMA/BIOSSetup/ObjName='OnBoard RAID'"> <xsl:choose> <xsl:when test="name()='Off'"> <xsl:attribute name="display"><xsl:value-of select="$strOff5"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> </xsl:choose> </xsl:when> <!-- pp 07/02/2003 DFCT71386: displaying the Boot sequence option in proper english format after checking the options sent by the DA --> <xsl:when test="/OMA/BIOSSetup/@objtype='247'"> <xsl:choose> <xsl:when test="name()='DisketteFirst'"> <xsl:attribute name="display"><xsl:value-of select="$strDisketteFirst"/></xsl:attribute> </xsl:when> <xsl:when test="name()='HDOnly'"> <xsl:attribute name="display"><xsl:value-of select="$strHDOnly"/></xsl:attribute> </xsl:when> <xsl:when test="name()='DeviceList'"> <xsl:attribute name="display"><xsl:value-of select="$strDeviceList"/></xsl:attribute> </xsl:when> <xsl:when test="name()='CDRomFirst'"> <xsl:attribute name="display"><xsl:value-of select="$strCDRomFirst"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='249'"> <xsl:choose> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strOff6"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='251'"> <xsl:choose> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strOff"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Serial'"> <xsl:attribute name="display"><xsl:value-of select="$strBMCSrl"/></xsl:attribute> </xsl:when> <xsl:when test="name()='NIC'"> <xsl:attribute name="display"><xsl:value-of select="$strBMCNic"/></xsl:attribute> </xsl:when> <xsl:when test="name()='RAC'"> <xsl:attribute name="display"><xsl:value-of select="$strBMCRac"/> </xsl:attribute> </xsl:when> <xsl:when test="name()='COM1BMC'"> <xsl:attribute name="display"><xsl:value-of select="$strCOM1BMC"/> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/> </xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='252'"> <xsl:choose> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strOff9"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strOn5"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <!--Start Console Redirection --> <xsl:when test="/OMA/BIOSSetup/@objtype='267'"> <xsl:choose> <xsl:when test="name()='CRoff'"> <xsl:attribute name="display"><xsl:value-of select="$strOff9"/></xsl:attribute> </xsl:when> <xsl:when test="name()='CRcom1'"> <xsl:attribute name="display"><xsl:value-of select="$strSerialPort1"/></xsl:attribute> </xsl:when> <xsl:when test="name()='CRcom2'"> <xsl:attribute name="display"><xsl:value-of select="$strSerialPort2"/></xsl:attribute> </xsl:when> <xsl:when test="name()='CRnic'"> <xsl:attribute name="display"><xsl:value-of select="$strBMCNic"/></xsl:attribute> </xsl:when> <xsl:when test="name()='CRmmb'"> <xsl:attribute name="display"><xsl:value-of select="$strmmb"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <!--End Console Redirection --> <!-- AC Power Recovery Mode --> <!--<xsl:when test="/OMA/BIOSSetup/@objtype='368'"> <xsl:choose> <xsl:when test="name()='ACoff'"> <xsl:attribute name="display"><xsl:value-of select="$strOff9"/></xsl:attribute> </xsl:when> <xsl:when test="name()='AClast'"> <xsl:attribute name="display"><xsl:value-of select="$strAClast"/></xsl:attribute> </xsl:when> <xsl:when test="name()='ACon'"> <xsl:attribute name="display"><xsl:value-of select="$strACon"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when>--> <!-- Embedded SATA 2 Controller --> <xsl:when test="/OMA/BIOSSetup/@objtype='369'"> <xsl:choose> <xsl:when test="name()='SATAoff'"> <xsl:attribute name="display"><xsl:value-of select="$strOff9"/></xsl:attribute> </xsl:when> <xsl:when test="name()='SATAcombined'"> <xsl:attribute name="display"><xsl:value-of select="$strSATAcombined"/></xsl:attribute> </xsl:when> <xsl:when test="name()='SATAata'"> <xsl:attribute name="display"><xsl:value-of select="$strSATAata"/></xsl:attribute> </xsl:when> <xsl:when test="name()='SATAqdma'"> <xsl:attribute name="display"><xsl:value-of select="$strSATAqdma"/></xsl:attribute> </xsl:when> <xsl:when test="name()='SATAahci'"> <xsl:attribute name="display"><xsl:value-of select="$strSATAahci"/></xsl:attribute> </xsl:when> <xsl:when test="name()='SATAraid'"> <xsl:attribute name="display"><xsl:value-of select="$strSATAraid"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <!-- Embedded SATA 2 Port --> <xsl:when test="/OMA/BIOSSetup/@objtype='370'"> <xsl:choose> <xsl:when test="name()='SATAPortOff'"> <xsl:attribute name="display"><xsl:value-of select="$strOff9"/></xsl:attribute> </xsl:when> <xsl:when test="name()='SATAPortAuto'"> <xsl:attribute name="display"><xsl:value-of select="$strAuto"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <!-- IDE Primary Drive --> <xsl:when test="/OMA/BIOSSetup/@objtype='371'"> <xsl:choose> <xsl:when test="name()='IDEPriOff'"> <xsl:attribute name="display"><xsl:value-of select="$strOff9"/></xsl:attribute> </xsl:when> <xsl:when test="name()='IDEPriAuto'"> <xsl:attribute name="display"><xsl:value-of select="$strAuto"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <!-- For DBS --> <xsl:when test="/OMA/BIOSSetup/@objtype='372'"> <xsl:choose> <xsl:when test="name()='DBSDisabled'"> <xsl:attribute name="display"><xsl:value-of select="$strDisabled"/></xsl:attribute> </xsl:when> <xsl:when test="name()='DBSEnabled'"> <xsl:attribute name="display"><xsl:value-of select="$strEnabled"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <!--For CPU XD Support--> <xsl:when test="/OMA/BIOSSetup/@objtype='382'"> <xsl:choose> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strDisabled"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strEnabled"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <!--For Core Multi Processor--> <xsl:when test="/OMA/BIOSSetup/@objtype='457'"> <xsl:choose> <xsl:when test="name()='One'"> <xsl:attribute name="display"><xsl:value-of select="$strOne"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Two'"> <xsl:attribute name="display"><xsl:value-of select="$strTwo"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Four'"> <xsl:attribute name="display"><xsl:value-of select="$strFour"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Six'"> <xsl:attribute name="display"><xsl:value-of select="$strSix"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Eight'"> <xsl:attribute name="display"><xsl:value-of select="$strEight"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Ten'"> <xsl:attribute name="display"><xsl:value-of select="$strTen"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Twelve'"> <xsl:attribute name="display"><xsl:value-of select="$strTwelve"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Fourteen'"> <xsl:attribute name="display"><xsl:value-of select="$strFourteen"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Sixteen'"> <xsl:attribute name="display"><xsl:value-of select="$strSixteen"/></xsl:attribute> </xsl:when> <xsl:when test="name()='All'"> <xsl:attribute name="display"><xsl:value-of select="$strAll"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <!--For Embedded Video Controller--> <xsl:when test="/OMA/BIOSSetup/@objtype='460'"> <xsl:choose> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strDisabled"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strEnabled"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <!--For Boot Mode--> <xsl:when test="/OMA/BIOSSetup/@objtype='462'"> <xsl:choose> <xsl:when test="name()='BIOS'"> <xsl:attribute name="display"><xsl:value-of select="$strBios"/></xsl:attribute> </xsl:when> <xsl:when test="name()='UEFI'"> <xsl:attribute name="display"><xsl:value-of select="$strUEFI"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <!--For CPU C State--> <xsl:when test="/OMA/BIOSSetup/@objtype='461'"> <xsl:choose> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strDisabled"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strEnabled"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <!-- For Console Redirection Failsafe BAUD Rate --> <xsl:when test="/OMA/BIOSSetup/@objtype='271'"> <xsl:choose> <xsl:when test="name()='FBR115200'"> <xsl:attribute name="display"><xsl:value-of select="$strFBR115200"/></xsl:attribute> </xsl:when> <xsl:when test="name()='FBR57600'"> <xsl:attribute name="display"><xsl:value-of select="$strFBR57600"/></xsl:attribute> </xsl:when> <xsl:when test="name()='FBR19200'"> <xsl:attribute name="display"><xsl:value-of select="$strFBR19200"/></xsl:attribute> </xsl:when> <xsl:when test="name()='FBR9600'"> <xsl:attribute name="display"><xsl:value-of select="$strFBR9600"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='260'"> <xsl:choose> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strDisabled2"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strEnabled2"/></xsl:attribute> </xsl:when> <xsl:when test="name()='EnableWithBIOS'"> <xsl:attribute name="display"><xsl:value-of select="$strEnabledWithBIOS"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='262'"> <xsl:choose> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strDisable"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strEnable"/></xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> <!-- PP [07/18/2003] - DFCT 86885 --> <xsl:when test="/OMA/BIOSSetup/@objtype='263'"> <xsl:choose> <xsl:when test="name()='Off'"> <xsl:attribute name="display"><xsl:value-of select="$strOff6"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='374'"> <xsl:choose> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strEnabled"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strDisabled"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='375'"> <xsl:choose> <xsl:when test="name()='AllOn'"> <xsl:attribute name="display"><xsl:value-of select="$strAllOn"/></xsl:attribute> </xsl:when> <xsl:when test="name()='BackOnly'"> <xsl:attribute name="display"><xsl:value-of select="$strBackOn"/></xsl:attribute> </xsl:when> <xsl:when test="name()='AllOff'"> <xsl:attribute name="display"><xsl:value-of select="$strAllOff"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='378'"> <xsl:choose> <xsl:when test="name()='OnWithoutCR'"> <xsl:attribute name="display"><xsl:value-of select="$strOnWithoutCR"/></xsl:attribute> </xsl:when> <xsl:when test="name()='OnWithCR'"> <xsl:attribute name="display"><xsl:value-of select="$strOnWithCR"/></xsl:attribute> </xsl:when> <xsl:when test="name()='OnCRCom1'"> <xsl:attribute name="display"><xsl:value-of select="$strOnWithCRCOM1"/></xsl:attribute> </xsl:when> <xsl:when test="name()='OnCRCom2'"> <xsl:attribute name="display"><xsl:value-of select="$strOnWithCRCOM2"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Off'"> <xsl:attribute name="display"><xsl:value-of select="$strOff"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='379'"> <xsl:choose> <xsl:when test="name()='RAC'"> <xsl:attribute name="display"><xsl:value-of select="$strRemoteAccessDevice"/></xsl:attribute> </xsl:when> <xsl:when test="name()='SerialDev1'"> <xsl:attribute name="display"><xsl:value-of select="$strSerialDevice1"/> </xsl:attribute> </xsl:when> <xsl:when test="name()='SerialDev2'"> <xsl:attribute name="display"><xsl:value-of select="$strSerialDevice2"/> </xsl:attribute> </xsl:when> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strNotConnected"/> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='380'"> <xsl:choose> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strEnabled"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strDisabled"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='381'"> <xsl:choose> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strEnabled"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strDisabled"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='111'"> <xsl:choose> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strEnabled"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strDisabled"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='222'"> <xsl:choose> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strEnabled"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strDisabled"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='453'"> <xsl:choose> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strEnabled"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strDisabled"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='458'"> <xsl:choose> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strEnabled"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strDisabled"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='454'"> <xsl:choose> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strEnabled"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strDisabled"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='455'"> <xsl:choose> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strEnabled"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strDisabled"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='456'"> <xsl:choose> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strEnabled"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strDisabled"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='464'"> <xsl:choose> <xsl:when test="name()='OnWithDefAddr'"> <xsl:attribute name="display"><xsl:value-of select="$strSerialPortDefAddr"/></xsl:attribute> </xsl:when> <xsl:when test="name()='OnWithAltAddr'"> <xsl:attribute name="display"><xsl:value-of select="$strSerialPortAltAddr"/></xsl:attribute> </xsl:when> <xsl:when test="name()='com1'"> <xsl:attribute name="display"><xsl:value-of select="$strCOM1"/></xsl:attribute> </xsl:when> <xsl:when test="name()='com2'"> <xsl:attribute name="display"><xsl:value-of select="$strCOM2"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='465'"> <xsl:choose> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strDisabled"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strEnabled"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='466'"> <xsl:choose> <xsl:when test="name()='Disable'"> <xsl:attribute name="display"><xsl:value-of select="$strDisabled"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Enable'"> <xsl:attribute name="display"><xsl:value-of select="$strEnabled"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/OMA/BIOSSetup/@objtype='550'"> <xsl:choose> <xsl:when test="name()='Off'"> <xsl:attribute name="display"><xsl:value-of select="$strOff"/></xsl:attribute> </xsl:when> <xsl:when test="name()='Auto'"> <xsl:attribute name="display"><xsl:value-of select="$strAuto"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="name()"/></xsl:attribute> </xsl:otherwise> </xsl:choose> <xsl:attribute name="state"> <xsl:call-template name="objselect"> <xsl:with-param name="state"><xsl:value-of select="/OMA/BIOSSetup/State"/></xsl:with-param> <xsl:with-param name="type"><xsl:value-of select="/OMA/BIOSSetup/@objtype"/></xsl:with-param> <xsl:with-param name="name"><xsl:value-of select="name()"/></xsl:with-param> <xsl:with-param name="objname"><xsl:value-of select="/OMA/BIOSSetup/ObjName"/></xsl:with-param> </xsl:call-template> </xsl:attribute> </Data> </xsl:if> </xsl:for-each> </ListData> </xsl:when> <!--AC power --> <xsl:when test="/OMA/BIOSSetup/@objtype='368'"> <ListData type="custom"> <xsl:attribute name="display"> <xsl:value-of select="$strSetup"/><xsl:value-of select="BIOSSetup/ObjName"/></xsl:attribute> <Header> <Data > <xsl:attribute name="display"> <xsl:value-of select="$strSetup"/><xsl:value-of select="BIOSSetup/ObjName"/></xsl:attribute> <xsl:attribute name="value"> <xsl:value-of select="$strSetup1"/><xsl:value-of select="BIOSSetup/ObjName"/></xsl:attribute> </Data> </Header> <PromptText><xsl:value-of select="$strSelectOneOf1"/></PromptText> <Data type="radio"> <xsl:attribute name="name">actionsel</xsl:attribute> <xsl:attribute name="returnvalue">1</xsl:attribute> <xsl:attribute name="display"><xsl:value-of select="$strOff9"/></xsl:attribute> <xsl:if test="/OMA/BIOSSetup/RecoveryTime/@objtype='49'"> <xsl:attribute name="event">onClick</xsl:attribute> <xsl:attribute name="handler">javascript:DisableTimerchoices()</xsl:attribute> </xsl:if> <xsl:attribute name="state"> <xsl:if test="/OMA/BIOSSetup/State = 1">1</xsl:if> </xsl:attribute> </Data> <Data type="radio" > <xsl:attribute name="name">actionsel</xsl:attribute> <xsl:attribute name="returnvalue">2</xsl:attribute> <xsl:attribute name="display"><xsl:value-of select="$strAClast"/></xsl:attribute> <xsl:if test="/OMA/BIOSSetup/RecoveryTime/@objtype='49'"> <xsl:attribute name="event">onClick</xsl:attribute> <xsl:attribute name="handler">javascript:EnableTimerchoices()</xsl:attribute> </xsl:if> <xsl:attribute name="state"> <xsl:if test="/OMA/BIOSSetup/State = 2">1</xsl:if> </xsl:attribute> </Data> <Data type="radio"> <xsl:attribute name="name">actionsel</xsl:attribute> <xsl:attribute name="returnvalue">3</xsl:attribute> <xsl:attribute name="display"><xsl:value-of select="$strACon"/></xsl:attribute> <xsl:if test="/OMA/BIOSSetup/RecoveryTime/@objtype='49'"> <xsl:attribute name="event">onClick</xsl:attribute> <xsl:attribute name="handler">javascript:EnableTimerchoices()</xsl:attribute> </xsl:if> <xsl:attribute name="state"> <xsl:if test="/OMA/BIOSSetup/State = 3">1</xsl:if> </xsl:attribute> </Data> </ListData> <xsl:if test="/OMA/BIOSSetup/RecoveryTime/@objtype='49'"> <ListData type="custom"> <xsl:attribute name="display"><xsl:value-of select="$strRecoveryTime"/></xsl:attribute> <Header> <Data colspan="2"> <xsl:attribute name="display"><xsl:value-of select="$strRecoveryTime"/></xsl:attribute> <xsl:attribute name="value"> <xsl:value-of select="$strRecoveryTime"/></xsl:attribute> </Data> </Header> <xsl:if test="/OMA/BIOSSetup/RecoveryTime/Capabilities/Immediate='true' "> <Data type="radio" colspan="2"> <xsl:attribute name="name">timersel</xsl:attribute> <xsl:attribute name="returnvalue">0</xsl:attribute> <xsl:attribute name="display"><xsl:value-of select="$strImmediate"/></xsl:attribute> <xsl:attribute name="state"> <xsl:if test="/OMA/BIOSSetup/RecoveryTime/State=1">1</xsl:if> </xsl:attribute> <xsl:attribute name="event">onClick</xsl:attribute> <xsl:attribute name="handler">javascript:DisableTimer()</xsl:attribute> </Data> </xsl:if> <xsl:if test="/OMA/BIOSSetup/RecoveryTime/Capabilities/Random='true' "> <Data type="radio" colspan="2"> <xsl:attribute name="name">timersel</xsl:attribute> <xsl:attribute name="returnvalue">1</xsl:attribute> <xsl:attribute name="display"><xsl:value-of select="$strRandom"/></xsl:attribute> <xsl:attribute name="state"> <xsl:if test="/OMA/BIOSSetup/RecoveryTime/State=2">1</xsl:if> </xsl:attribute> <xsl:attribute name="event">onClick</xsl:attribute> <xsl:attribute name="handler">javascript:DisableTimer()</xsl:attribute> </Data> </xsl:if> <xsl:if test="/OMA/BIOSSetup/RecoveryTime/Capabilities/UserDefined='true' "> <Data type="radio"> <xsl:attribute name="name">timersel</xsl:attribute> <xsl:attribute name="returnvalue">2</xsl:attribute> <xsl:attribute name="display"><xsl:value-of select="$strTimedelay"/></xsl:attribute> <xsl:attribute name="state"> <xsl:if test="/OMA/BIOSSetup/RecoveryTime/State=3">1</xsl:if> </xsl:attribute> <xsl:attribute name="event">onClick</xsl:attribute> <xsl:attribute name="handler">javascript:EnableTimer()</xsl:attribute> </Data> <Data> <xsl:attribute name="name">timer</xsl:attribute> <xsl:attribute name="type">spincontrol</xsl:attribute> <xsl:attribute name="size">2</xsl:attribute> <xsl:attribute name="maxlength">3</xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="BIOSSetup/RecoveryTime/Delay=''"><xsl:value-of select="BIOSSetup/RecoveryTime/MinDelay"/></xsl:when> <xsl:otherwise><xsl:value-of select="BIOSSetup/RecoveryTime/Delay"/></xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:attribute name="posttext"><xsl:value-of select="$gstrSeconds"/></xsl:attribute> <xsl:attribute name="event">onBlur</xsl:attribute> <xsl:attribute name="handler">javascript:validateTimer(this);</xsl:attribute> <xsl:attribute name="uparrscript"> <xsl:call-template name="increment"> <xsl:with-param name="boundaryVal"><xsl:value-of select="BIOSSetup/RecoveryTime/MaxDelay"/></xsl:with-param> </xsl:call-template> </xsl:attribute> <xsl:attribute name="downarrscript"> <xsl:call-template name="decrement"> <xsl:with-param name="boundaryVal"><xsl:value-of select="BIOSSetup/RecoveryTime/MinDelay"/></xsl:with-param> </xsl:call-template> </xsl:attribute> </Data> </xsl:if> <!--<xsl:if test="/OMA/BIOSSetup/Capabilities/Enable = 'true'">--> </ListData> </xsl:if> </xsl:when> <!--End --> <xsl:when test="/OMA/BIOSSetup/@objtype='242'"> <ListData type="custom"> <Header> <Data width="20%"> <xsl:attribute name="display"> <xsl:value-of select="$strSetup"/><xsl:value-of select="BIOSSetup/ObjName"/></xsl:attribute> <xsl:attribute name="value"> <xsl:value-of select="$strSetup1"/><xsl:value-of select="BIOSSetup/ObjName"/></xsl:attribute> </Data> <Data width="80%"></Data> </Header> <PromptText><xsl:value-of select="$strSelectOneOf1"/></PromptText> <Data type="radio" Width="20%"> <xsl:attribute name="name">actionsel</xsl:attribute> <xsl:attribute name="returnvalue">1</xsl:attribute> <xsl:attribute name="display"><xsl:value-of select="$strDisabled"/></xsl:attribute> <xsl:attribute name="event">onClick</xsl:attribute> <xsl:attribute name="handler">javascript:disableChoices()</xsl:attribute> <xsl:attribute name="state"> <xsl:if test="/OMA/BIOSSetup/State = 1">1</xsl:if> </xsl:attribute> </Data> <Data type="radio" align="left" Width="20%"> <xsl:attribute name="name">actionsel</xsl:attribute> <xsl:attribute name="returnvalue"></xsl:attribute> <xsl:attribute name="display"><xsl:value-of select="$strEnabled"/></xsl:attribute> <xsl:attribute name="event">onClick</xsl:attribute> <xsl:attribute name="handler">javascript:enableChoices()</xsl:attribute> <xsl:attribute name="state"> <xsl:if test="/OMA/BIOSSetup/State > 1">1</xsl:if> </xsl:attribute> </Data> <xsl:if test="/OMA/BIOSSetup/Capabilities/Enable = 'true'"> <Data type="checkbox" name="check1" align="left" Width="80%"> <xsl:attribute name="returnvalue"></xsl:attribute> <xsl:attribute name="display"><xsl:value-of select="$strEnabledWithPXE"/></xsl:attribute> <xsl:attribute name="event">onClick</xsl:attribute> <xsl:attribute name="handler">javascript:alternateChoices(this)</xsl:attribute> <xsl:attribute name="state"> <xsl:if test="/OMA/BIOSSetup/State = 2">1</xsl:if> </xsl:attribute> </Data> </xsl:if> <xsl:if test="/OMA/BIOSSetup/Capabilities/EnableWithISCSI = 'true'"> <Data type="checkbox" name="check2" Width="80%"> <xsl:attribute name="returnvalue"></xsl:attribute> <xsl:attribute name="display"><xsl:value-of select="$strEnabledWithISCSI"/></xsl:attribute> <xsl:attribute name="event">onClick</xsl:attribute> <xsl:attribute name="handler">javascript:alternateChoices(this)</xsl:attribute> <xsl:attribute name="state"> <xsl:if test="/OMA/BIOSSetup/State = 4">1</xsl:if> </xsl:attribute> </Data> </xsl:if> </ListData> </xsl:when> <!-- Add the Extended BIOS object type in order to handle them --> <xsl:when test="/OMA/BIOSSetup/@objtype='45057' "> <ListData type="custom"> <Header> <Data > <xsl:attribute name="display"> <xsl:value-of select="$strSetup"/><xsl:value-of select="BIOSSetup/ObjName"/></xsl:attribute> <xsl:attribute name="value"> <xsl:value-of select="$strSetup1"/><xsl:value-of select="BIOSSetup/ObjName"/></xsl:attribute> </Data> </Header> <PromptText><xsl:value-of select="$strSelectOneOf1"/></PromptText> <xsl:for-each select="BIOSSetup/Capabilities/Name"> <Data type="radio" Width="40%"> <xsl:attribute name="name">actionsel</xsl:attribute> <xsl:attribute name="display"><xsl:value-of select="."/></xsl:attribute> <xsl:attribute name="returnvalue"><xsl:value-of select="@state"/></xsl:attribute> <xsl:attribute name="state"> <xsl:if test="/OMA/BIOSSetup/State = @state">1</xsl:if> </xsl:attribute> </Data> </xsl:for-each> </ListData> </xsl:when> <xsl:when test="/OMA/BootDeviceObj!=''"> <PageTitle> <xsl:attribute name="display"><xsl:value-of select="$strBootSequence"/></xsl:attribute> </PageTitle> <ListTableData name="ipltable"> <xsl:attribute name="display"><xsl:value-of select="$strBootSequence"/></xsl:attribute> <AlertMessage status="3"> <xsl:attribute name="display"><xsl:value-of select="$strSelectOneOf2"/></xsl:attribute></AlertMessage> <SubHeader> <xsl:attribute name="display"><xsl:value-of select="$strBootSequence"/></xsl:attribute> </SubHeader> <Header> <Data align="center"> <xsl:attribute name="display"> <xsl:value-of select="$strOrder"/></xsl:attribute> <xsl:attribute name="value"> <xsl:value-of select="$strOrder"/> </xsl:attribute> </Data> <Data align="center"> <xsl:attribute name="display"> <xsl:value-of select="$strEnabled"/></xsl:attribute> <xsl:attribute name="value"> <xsl:value-of select="$strEnabled"/></xsl:attribute> </Data> <Data align="left"> <xsl:attribute name="display"> <xsl:value-of select="$strDevice"/></xsl:attribute> <xsl:attribute name="value"> <xsl:value-of select="$strDevice"/> </xsl:attribute> </Data> <Data></Data> </Header> <xsl:for-each select="BIOSBootSpecObj/IPLPriorityListarray/IPLPriorityList"> <xsl:variable name="currval"><xsl:value-of select="."/></xsl:variable> <xsl:variable name="curindex"><xsl:value-of select="@index"/></xsl:variable> <xsl:if test="$currval != '255' " > <Row> <Data name="counter" align="center"> <xsl:attribute name="value"><xsl:number/></xsl:attribute> </Data> <Data name="actionsel" type="checkbox" align="center"> <xsl:attribute name="state"><xsl:value-of select="/OMA/BIOSBootSpecObj/IPLSkipListarray/IPLSkipList[@index=$curindex]" /></xsl:attribute> </Data> <Data name="description" align="left"> <xsl:attribute name="value"><xsl:value-of select="/OMA/BootDeviceObj[index=$currval and objType=0]/Description"/></xsl:attribute> </Data> <Data name="indexvalue" type="hidden" width="0%" > <xsl:attribute name="returnvalue"> <xsl:value-of select="$currval"/> </xsl:attribute> </Data> </Row> </xsl:if> </xsl:for-each> </ListTableData> <ListTableData name="bcvtable"> <xsl:attribute name="display"><xsl:value-of select="$strHDDSequence"/></xsl:attribute> <SubHeader> <xsl:attribute name="display"><xsl:value-of select="$strHDDSequence"/></xsl:attribute> </SubHeader> <Header> <Data align="center"> <xsl:attribute name="display"> <xsl:value-of select="$strOrder"/></xsl:attribute> <xsl:attribute name="value"> <xsl:value-of select="$strOrder"/></xsl:attribute> </Data> <Data > <xsl:attribute name="display"> <xsl:value-of select="$strDevice"/></xsl:attribute> <xsl:attribute name="value"> <xsl:value-of select="$strDevice"/></xsl:attribute> </Data> <Data></Data> </Header> <xsl:for-each select="BIOSBootSpecObj/BCVPriorityListarray/BCVPriorityList"> <xsl:variable name="bcvcurrval"><xsl:value-of select="."/></xsl:variable> <xsl:variable name="bcvcurindex"><xsl:value-of select="@index"/></xsl:variable> <xsl:if test="$bcvcurrval != '255' " > <Row> <Data name="bcvcounter" align="center"> <xsl:attribute name="value"><xsl:number/></xsl:attribute> </Data> <Data name="bcvdescription" align="left"> <xsl:attribute name="value"><xsl:value-of select="/OMA/BootDeviceObj[index=$bcvcurrval and objType=1]/Description"/></xsl:attribute> </Data> <Data name="bcvindexvalue" type="hidden" width="0%" > <xsl:attribute name="returnvalue"> <xsl:value-of select="$bcvcurrval"/> </xsl:attribute> </Data> </Row> </xsl:if> </xsl:for-each> </ListTableData> </xsl:when> <xsl:otherwise> <ListData type="custom"> <Header> <Data> <xsl:attribute name="display"> <xsl:value-of select="$strSetup"/><xsl:value-of select="BIOSSetup/ObjName"/></xsl:attribute> <xsl:attribute name="value"> <xsl:value-of select="$strSetup1"/><xsl:value-of select="BIOSSetup/ObjName"/></xsl:attribute> </Data> </Header> <PromptText><xsl:value-of select="$strSelectOneOf1"/></PromptText> <xsl:if test="BIOSSetup/Capabilities/DualNicDisable='true'"> <Data type="radio"> <xsl:attribute name="name">actionsel</xsl:attribute> <xsl:attribute name="returnvalue">41</xsl:attribute> <xsl:attribute name="event">onClick</xsl:attribute> <xsl:attribute name="handler">javascript:disableDualNic()</xsl:attribute> <xsl:attribute name="display"><xsl:value-of select="$strDisabledOS"/></xsl:attribute> <xsl:attribute name="state"> <xsl:if test="/OMA/BIOSSetup/State='41'">1</xsl:if> </xsl:attribute> </Data> </xsl:if> <xsl:if test="BIOSSetup/Capabilities/DualNicEnable='true'"> <Data type="radio"> <xsl:attribute name="name">actionsel</xsl:attribute> <xsl:attribute name="event">onClick</xsl:attribute> <xsl:attribute name="handler">javascript:enableDualNic()</xsl:attribute> <xsl:attribute name="returnvalue">42</xsl:attribute> <xsl:attribute name="display"><xsl:value-of select="$strEnabled"/></xsl:attribute> <xsl:attribute name="state"> <xsl:if test="/OMA/BIOSSetup/State!='41'">1</xsl:if> </xsl:attribute> </Data> </xsl:if> </ListData> <ListData type="custom"> <Header> <Data> <xsl:attribute name="display"> <xsl:value-of select="$strConfigDualNic1"/></xsl:attribute> <xsl:attribute name="value"> <xsl:value-of select="$strConfigDualNic1"/></xsl:attribute> </Data> </Header> <xsl:if test="BIOSSetup/Capabilities/PXEEnableOn1stNic='true'"> <Data type="checkbox"> <xsl:attribute name="name">actionsel_NIC1_PXE</xsl:attribute> <xsl:attribute name="returnvalue">38</xsl:attribute> <xsl:attribute name="display"><xsl:value-of select="$strConfigDualNicPXE"/></xsl:attribute> <xsl:attribute name="event">onClick</xsl:attribute> <xsl:attribute name="handler">javascript:DualNICAlternateChoice(this, 1)</xsl:attribute> <xsl:attribute name="state"> <xsl:choose> <xsl:when test="/OMA/BIOSSetup/State='41'">2</xsl:when> <xsl:when test="/OMA/BIOSSetup/State='22'">1</xsl:when> <xsl:when test="/OMA/BIOSSetup/State='38'">1</xsl:when> <xsl:when test="/OMA/BIOSSetup/State='134'">1</xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> </xsl:if> <xsl:if test="BIOSSetup/Capabilities/ISCSIEnableOn1stNic='true'"> <Data type="checkbox"> <xsl:attribute name="name">actionsel_NIC1_ISCSI</xsl:attribute> <xsl:attribute name="returnvalue">98</xsl:attribute> <xsl:attribute name="display"><xsl:value-of select="$strConfigDualNiciSCSI"/></xsl:attribute> <xsl:attribute name="event">onClick</xsl:attribute> <xsl:attribute name="handler">javascript:DualNICAlternateChoice(this, 1)</xsl:attribute> <xsl:attribute name="state"> <xsl:choose> <xsl:when test="/OMA/BIOSSetup/State='41'">2</xsl:when> <xsl:when test="/OMA/BIOSSetup/State='82'">1</xsl:when> <xsl:when test="/OMA/BIOSSetup/State='98'">1</xsl:when> <xsl:when test="/OMA/BIOSSetup/State='194'">1</xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> </xsl:if> </ListData> <ListData type="custom"> <Header> <Data> <xsl:attribute name="display"> <xsl:value-of select="$strConfigDualNic2"/></xsl:attribute> <xsl:attribute name="value"> <xsl:value-of select="$strConfigDualNic2"/></xsl:attribute> </Data> </Header> <xsl:if test="BIOSSetup/Capabilities/PXEEnableOn2ndNic='true'"> <Data type="checkbox"> <xsl:attribute name="name">actionsel_NIC2_PXE</xsl:attribute> <xsl:attribute name="returnvalue">26</xsl:attribute> <xsl:attribute name="display"><xsl:value-of select="$strConfigDualNicPXE"/></xsl:attribute> <xsl:attribute name="event">onClick</xsl:attribute> <xsl:attribute name="handler">javascript:DualNICAlternateChoice(this, 2)</xsl:attribute> <xsl:attribute name="state"> <xsl:choose> <xsl:when test="/OMA/BIOSSetup/State='41'">2</xsl:when> <xsl:when test="/OMA/BIOSSetup/State='22'">1</xsl:when> <xsl:when test="/OMA/BIOSSetup/State='26'">1</xsl:when> <xsl:when test="/OMA/BIOSSetup/State='82'">1</xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> </xsl:if> <xsl:if test="BIOSSetup/Capabilities/ISCSIEnableOn2ndNic='true'"> <Data type="checkbox"> <xsl:attribute name="name">actionsel_NIC2_ISCSI</xsl:attribute> <xsl:attribute name="returnvalue">138</xsl:attribute> <xsl:attribute name="display"><xsl:value-of select="$strConfigDualNiciSCSI"/></xsl:attribute> <xsl:attribute name="event">onClick</xsl:attribute> <xsl:attribute name="handler">javascript:DualNICAlternateChoice(this, 2)</xsl:attribute> <xsl:attribute name="state"> <xsl:choose> <xsl:when test="/OMA/BIOSSetup/State='41'">2</xsl:when> <xsl:when test="/OMA/BIOSSetup/State='134'">1</xsl:when> <xsl:when test="/OMA/BIOSSetup/State='138'">1</xsl:when> <xsl:when test="/OMA/BIOSSetup/State='194'">1</xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> </xsl:if> </ListData> </xsl:otherwise> </xsl:choose> <ListData> <Data display=" " type="hidden" state="" align="left"> <xsl:attribute name="name">reboot</xsl:attribute> <xsl:attribute name="returnvalue">false</xsl:attribute> </Data> </ListData> </DataArea> </xsl:template> <xsl:template name="objselect"> <xsl:param name="type"/> <xsl:param name="state"/> <xsl:param name="name"/> <xsl:param name="objname"/> <xsl:choose> <xsl:when test="$type='241'"> <xsl:if test="$name='Disable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='Auto'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='Rdonly'"> <xsl:if test="$state='3'">1</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='242'"> <xsl:if test="$name='Disable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='Enable'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='EnableNonePXE'"> <xsl:if test="$state='3'">1</xsl:if> </xsl:if> <xsl:if test="$name='EnableWithISCSI'"> <xsl:if test="$state='4'">1</xsl:if> </xsl:if> </xsl:when> <!-- CPU Turbo Mode --> <xsl:when test="$type='111'"> <xsl:if test="$name='Disable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='Enable'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> </xsl:when> <!-- NUMA--> <xsl:when test="$type='222'"> <xsl:if test="$name='Disable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='Enable'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='245'"> <xsl:if test="$name='Disable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='Auto'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> </xsl:when> <!-- Start For Console Redirection --> <xsl:when test="$type='267'"> <xsl:if test="$name='CRoff'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='CRcom1'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='CRcom2'"> <xsl:if test="$state='3'">1</xsl:if> </xsl:if> <xsl:if test="$name='CRnic'"> <xsl:if test="$state='4'">1</xsl:if> </xsl:if> <xsl:if test="$name='CRmmb'"> <xsl:if test="$state='5'">1</xsl:if> </xsl:if> </xsl:when> <!-- End For Console Redirection --> <!-- Start For AC Power Recovery Mode --> <xsl:when test="$type='368'"> <xsl:if test="$name='ACoff'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='AClast'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='ACon'"> <xsl:if test="$state='3'">1</xsl:if> </xsl:if> </xsl:when> <!-- End For AC Power Recovery Mode --> <!-- Embedded SATA 2 Controller --> <xsl:when test="$type='369'"> <xsl:if test="$name='SATAoff'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='SATAcombined'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='SATAata'"> <xsl:if test="$state='3'">1</xsl:if> </xsl:if> <xsl:if test="$name='SATAahci'"> <xsl:if test="$state='4'">1</xsl:if> </xsl:if> <xsl:if test="$name='SATAraid'"> <xsl:if test="$state='5'">1</xsl:if> </xsl:if> <xsl:if test="$name='SATAqdma'"> <xsl:if test="$state='6'">1</xsl:if> </xsl:if> </xsl:when> <!-- End For Embedded SATA 2 Controller --> <!-- Embedded SATA 2 Port --> <xsl:when test="$type='370'"> <xsl:if test="$name='SATAPortOff'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='SATAPortAuto'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> </xsl:when> <!-- End For Embedded SATA 2 Port --> <!-- IDE Primary Drive --> <xsl:when test="$type='371'"> <xsl:if test="$name='IDEPriOff'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='IDEPriAuto'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> </xsl:when> <!-- End For IDE Primary Drive --> <!-- Start of DBS --> <xsl:when test="$type='372'"> <xsl:if test="$name='DBSDisabled'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='DBSEnabled'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> </xsl:when> <!-- End of DBS --> <!--For NUMA or CPU Turbo Mode --> <xsl:when test="$type='453' or $type='458' "> <xsl:if test="$name='Disable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='Enable'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> </xsl:when> <!--For CPU XD Support --> <xsl:when test="$type='382' "> <xsl:if test="$name='Disable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='Enable'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> </xsl:when> <!--For Core Multi Processor --> <xsl:when test="$type='457' "> <xsl:if test="$name='All'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='One'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='Two'"> <xsl:if test="$state='3'">1</xsl:if> </xsl:if> <xsl:if test="$name='Four'"> <xsl:if test="$state='4'">1</xsl:if> </xsl:if> <xsl:if test="$name='Six'"> <xsl:if test="$state='5'">1</xsl:if> </xsl:if> <xsl:if test="$name='Eight'"> <xsl:if test="$state='6'">1</xsl:if> </xsl:if> <xsl:if test="$name='Ten'"> <xsl:if test="$state='7'">1</xsl:if> </xsl:if> <xsl:if test="$name='Twelve'"> <xsl:if test="$state='8'">1</xsl:if> </xsl:if> <xsl:if test="$name='Fourteen'"> <xsl:if test="$state='9'">1</xsl:if> </xsl:if> <xsl:if test="$name='Sixteen'"> <xsl:if test="$state='10'">1</xsl:if> </xsl:if> </xsl:when> <!--For Embedded Video Controller --> <xsl:when test="$type='460' "> <xsl:if test="$name='Enable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='Disable'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> </xsl:when> <!--For Boot Mode --> <xsl:when test="$type='462' "> <xsl:if test="$name='BIOS'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='UEFI'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> </xsl:when> <!--For CPU C States --> <xsl:when test="$type='461' "> <xsl:if test="$name='Enable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='Disable'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> </xsl:when> <!-- Start For Console Redirection BAUD Rate --> <xsl:when test="$type='271'"> <xsl:if test="$name='FBR115200'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='FBR57600'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='FBR19200'"> <xsl:if test="$state='3'">1</xsl:if> </xsl:if> <xsl:if test="$name='FBR9600'"> <xsl:if test="$state='4'">1</xsl:if> </xsl:if> </xsl:when> <!-- End For Console Redirection BAUD Rate --> <xsl:when test="$type='246'"> <xsl:if test="$objname='OnBoard RAID'"> <xsl:if test="$name='RAID'"> <xsl:if test="$state='0'">1</xsl:if> </xsl:if> <xsl:if test="$name='Off'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='SCSI'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> </xsl:if> <xsl:if test="$objname='Primary SCSI'"> <xsl:if test="$name='Disable'"> <xsl:if test="$state='0'">1</xsl:if> </xsl:if> <xsl:if test="$name='Disable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='Enable'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> </xsl:if> <xsl:if test="$objname='Secondary SCSI'"> <xsl:if test="$name='Disable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='Enable'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='247'"> <xsl:if test="$name='DisketteFirst'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='HDOnly'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='DeviceList'"> <xsl:if test="$state='3'">1</xsl:if> </xsl:if> <xsl:if test="$name='CDRomFirst'"> <xsl:if test="$state='4'">1</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='249'"> <xsl:if test="$name='Disable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='LPT1'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='LPT2'"> <xsl:if test="$state='3'">1</xsl:if> </xsl:if> <xsl:if test="$name='LPT3'"> <xsl:if test="$state='4'">1</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='250'"> <xsl:if test="$name='AT'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='PS2'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='ECP'"> <xsl:if test="$state='3'">1</xsl:if> </xsl:if> <xsl:if test="$name='EPP'"> <xsl:if test="$state='4'">1</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='251'"> <xsl:if test="$name='Disable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='Auto'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='Com1'"> <xsl:if test="$state='3'">1</xsl:if> </xsl:if> <xsl:if test="$name='Com2'"> <xsl:if test="$state='4'">1</xsl:if> </xsl:if> <xsl:if test="$name='Com3'"> <xsl:if test="$state='5'">1</xsl:if> </xsl:if> <xsl:if test="$name='Com4'"> <xsl:if test="$state='6'">1</xsl:if> </xsl:if> <xsl:if test="$name='Serial'"> <xsl:if test="$state='7'">1</xsl:if> </xsl:if> <xsl:if test="$name='NIC'"> <xsl:if test="$state='8'">1</xsl:if> </xsl:if> <xsl:if test="$name='RAC'"> <xsl:if test="$state='9'">1</xsl:if> </xsl:if> <xsl:if test="$name='COM1BMC'"> <xsl:if test="$state='10'">1</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='252'"> <xsl:if test="$name='Disable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='Enable'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='Low'"> <xsl:if test="$state='3'">1</xsl:if> </xsl:if> <xsl:if test="$name='Medium'"> <xsl:if test="$state='4'">1</xsl:if> </xsl:if> <xsl:if test="$name='High'"> <xsl:if test="$state='5'">1</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='253'"> <xsl:if test="$name='Disable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='EnableAddInCard'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='EnableOnBoard'"> <xsl:if test="$state='3'">1</xsl:if> </xsl:if> <xsl:if test="$name='EnableAll'"> <xsl:if test="$state='4'">1</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='260'"> <xsl:if test="$name='Disable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='Enable'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='EnableWithBIOS'"> <xsl:if test="$state='3'">1</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='263'"> <xsl:if test="$name='Off'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='SCSI'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='RAID'"> <xsl:if test="$state='3'">1</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='264'"> <xsl:if test="$name='SCSI'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='RAID'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='374'"> <xsl:if test="$name='Enable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='Disable'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='375'"> <xsl:if test="$name='AllOff'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='BackOnly'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='AllOn'"> <xsl:if test="$state='3'">1</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='378'"> <xsl:if test="$name='Off'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='OnWithoutCR'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='OnCRCom1'"> <xsl:if test="$state='3'">1</xsl:if> </xsl:if> <xsl:if test="$name='OnCRCom2'"> <xsl:if test="$state='4'">1</xsl:if> </xsl:if> <xsl:if test="$name='OnWithCR'"> <xsl:if test="$state='5'">1</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='379'"> <xsl:if test="$name='Com1'"> <xsl:if test="$state='3'">1</xsl:if> </xsl:if> <xsl:if test="$name='Com2'"> <xsl:if test="$state='4'">1</xsl:if> </xsl:if> <xsl:if test="$name='RAC'"> <xsl:if test="$state='9'">1</xsl:if> </xsl:if> <xsl:if test="$name='SerialDev1'"> <xsl:if test="$state='14'">1</xsl:if> </xsl:if> <xsl:if test="$name='SerialDev2'"> <xsl:if test="$state='15'">1</xsl:if> </xsl:if> <xsl:if test="$name='Disable'"> <xsl:if test="$state='1'">3</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='381'"> <xsl:if test="$name='Disable'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='Enable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='456'"> <xsl:if test="$name='Disable'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='Enable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='464'"> <xsl:if test="$name='OnWithDefAddr'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='OnWithAltAddr'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='com1'"> <xsl:if test="$state='3'">1</xsl:if> </xsl:if> <xsl:if test="$name='com2'"> <xsl:if test="$state='4'">1</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='465'"> <xsl:if test="$name='Disable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='Enable'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='466'"> <xsl:if test="$name='Disable'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> <xsl:if test="$name='Enable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='550'"> <xsl:if test="$name='Off'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='Auto'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> </xsl:when> <xsl:otherwise> <xsl:if test="$name='Disable'"> <xsl:if test="$state='1'">1</xsl:if> </xsl:if> <xsl:if test="$name='Enable'"> <xsl:if test="$state='2'">1</xsl:if> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="DualNicStatus"> <xsl:param name="Nic1Status"/> <xsl:param name="Nic2Status"/> <!-- <xsl:value-of select="sum($Nic1Status, $Nic2Status, 2)"/> --> </xsl:template> <xsl:template name="objstatus"> <xsl:param name="type"/> <xsl:param name="name"/> <xsl:param name="objname"/> <xsl:choose> <xsl:when test="$type='241'"> <xsl:if test="$name='Disable'">1</xsl:if> <xsl:if test="$name='Auto'">2</xsl:if> <xsl:if test="$name='Rdonly'">3</xsl:if> </xsl:when> <xsl:when test="$type='242'"> <xsl:if test="$name='Disable'">1</xsl:if> <xsl:if test="$name='Enable'">2</xsl:if> <xsl:if test="$name='EnableNonePXE'">3</xsl:if> <xsl:if test="$name='EnableWithISCSI'">4</xsl:if> </xsl:when> <xsl:when test="$type='245'"> <xsl:if test="$name='Disable'">1</xsl:if> <xsl:if test="$name='Auto'">2</xsl:if> </xsl:when> <xsl:when test="$type='246'"> <xsl:if test="$objname='OnBoard RAID'"> <xsl:if test="$name='RAID'">0</xsl:if> <xsl:if test="$name='Off'">1</xsl:if> <xsl:if test="$name='SCSI'">2</xsl:if> </xsl:if> <xsl:if test="$objname='Primary SCSI'"> <xsl:if test="$name='Disable'">1</xsl:if> <xsl:if test="$name='Enable'">2</xsl:if> </xsl:if> <xsl:if test="$objname='Secondary SCSI'"> <xsl:if test="$name='Disable'">1</xsl:if> <xsl:if test="$name='Enable'">2</xsl:if> </xsl:if> </xsl:when> <xsl:when test="$type='247'"> <xsl:if test="$name='DisketteFirst'">1</xsl:if> <xsl:if test="$name='HDOnly'">2</xsl:if> <xsl:if test="$name='DeviceList'">3</xsl:if> <xsl:if test="$name='CDRomFirst'">4</xsl:if> </xsl:when> <xsl:when test="$type='249'"> <xsl:if test="$name='Disable'">1</xsl:if> <xsl:if test="$name='LPT1'">2</xsl:if> <xsl:if test="$name='LPT2'">3</xsl:if> <xsl:if test="$name='LPT3'">4</xsl:if> </xsl:when> <xsl:when test="$type='250'"> <xsl:if test="$name='AT'">1</xsl:if> <xsl:if test="$name='PS2'">2</xsl:if> <xsl:if test="$name='ECP'">3</xsl:if> <xsl:if test="$name='EPP'">4</xsl:if> </xsl:when> <xsl:when test="$type='251'"> <xsl:if test="$name='Disable'">1</xsl:if> <xsl:if test="$name='Auto'">2</xsl:if> <xsl:if test="$name='Com1'">3</xsl:if> <xsl:if test="$name='Com2'">4</xsl:if> <xsl:if test="$name='Com3'">5</xsl:if> <xsl:if test="$name='Com4'">6</xsl:if> <xsl:if test="$name='Serial'">7</xsl:if> <xsl:if test="$name='NIC'">8</xsl:if> <xsl:if test="$name='RAC'">9</xsl:if> <xsl:if test="$name='COM1BMC'">10</xsl:if> </xsl:when> <xsl:when test="$type='252'"> <xsl:if test="$name='Disable'">1</xsl:if> <xsl:if test="$name='Enable'">2</xsl:if> <xsl:if test="$name='Low'">3</xsl:if> <xsl:if test="$name='Medium'">4</xsl:if> <xsl:if test="$name='High'">5</xsl:if> </xsl:when> <xsl:when test="$type='253'"> <xsl:if test="$name='Disable'">1</xsl:if> <xsl:if test="$name='EnableAddInCard'">2</xsl:if> <xsl:if test="$name='EnableOnBoard'">3</xsl:if> <xsl:if test="$name='EnableAll'">4</xsl:if> </xsl:when> <xsl:when test="$type='260'"> <xsl:if test="$name='Disable'">1</xsl:if> <xsl:if test="$name='Enable'">2</xsl:if> <xsl:if test="$name='EnableWithBIOS'">3</xsl:if> </xsl:when> <xsl:when test="$type='263' "> <xsl:if test="$name='Off'">1</xsl:if> <xsl:if test="$name='SCSI'">2</xsl:if> <xsl:if test="$name='RAID'">3</xsl:if> </xsl:when> <xsl:when test="$type='264'"> <xsl:if test="$name='SCSI'">1</xsl:if> <xsl:if test="$name='RAID'">2</xsl:if> </xsl:when> <!-- Start Console Redirection --> <xsl:when test="$type='267'"> <xsl:if test="$name='CRoff'">1</xsl:if> <xsl:if test="$name='CRcom1'">2</xsl:if> <xsl:if test="$name='CRcom2'">3</xsl:if> <xsl:if test="$name='CRnic'">4</xsl:if> <xsl:if test="$name='CRmmb'">5</xsl:if> </xsl:when> <!-- End Console Redirection --> <!-- Start AC Power Recovery Mode --> <xsl:when test="$type='368'"> <xsl:if test="$name='ACoff'">1</xsl:if> <xsl:if test="$name='AClast'">2</xsl:if> <xsl:if test="$name='ACon'">3</xsl:if> </xsl:when> <!-- End AC Power Recovery Mode --> <!-- Embedded SATA 2 Controller --> <xsl:when test="$type='369'"> <xsl:if test="$name='SATAoff'">1</xsl:if> <xsl:if test="$name='SATAcombined'">2</xsl:if> <xsl:if test="$name='SATAata'">3</xsl:if> <xsl:if test="$name='SATAahci'">4</xsl:if> <xsl:if test="$name='SATAraid'">5</xsl:if> <xsl:if test="$name='SATAqdma'">6</xsl:if> </xsl:when> <!-- End of Embedded SATA 2 Controller --> <!-- Embedded SATA 2 Port --> <xsl:when test="$type='370'"> <xsl:if test="$name='SATAPortOff'">1</xsl:if> <xsl:if test="$name='SATAPortAuto'">2</xsl:if> </xsl:when> <!-- End of Embedded SATA 2 Port --> <!-- IDE Primary Drive --> <xsl:when test="$type='371'"> <xsl:if test="$name='IDEPriOff'">1</xsl:if> <xsl:if test="$name='IDEPriAuto'">2</xsl:if> </xsl:when> <!-- End of IDE Primary Drive --> <!-- Start of DBS --> <xsl:when test="$type='372'"> <xsl:if test="$name='DBSDisabled'">1</xsl:if> <xsl:if test="$name='DBSEnabled'">2</xsl:if> </xsl:when> <!-- End of DBS --> <!-- Console Redirection FailSafe BAUD Rate --> <xsl:when test="$type='271'"> <xsl:if test="$name='FBR115200'">1</xsl:if> <xsl:if test="$name='FBR57600'">2</xsl:if> <xsl:if test="$name='FBR19200'">3</xsl:if> <xsl:if test="$name='FBR9600'">4</xsl:if> </xsl:when> <!-- End of Console Redirection FailSafe BAUD Rate --> <!-- Console Redirection After Boot(CRAB) --> <xsl:when test="$type='374'"> <xsl:if test="$name='Enable'">1</xsl:if> <xsl:if test="$name='Disable'">2</xsl:if> </xsl:when> <!-- Console Redirection After Boot(CRAB) --> <!-- User Accessible USB Ports --> <xsl:when test="$type='375'"> <xsl:if test="$name='AllOff'">1</xsl:if> <xsl:if test="$name='BackOnly'">2</xsl:if> <xsl:if test="$name='AllOn'">3</xsl:if> </xsl:when> <!-- User Accessible USB Ports --> <!-- Serial Communication --> <xsl:when test="$type='378'"> <xsl:if test="$name='Off'">1</xsl:if> <xsl:if test="$name='OnWithoutCR'">2</xsl:if> <xsl:if test="$name='OnCRCom1'">3</xsl:if> <xsl:if test="$name='OnCRCom2'">4</xsl:if> <xsl:if test="$name='OnWithCR'">5</xsl:if> </xsl:when> <!-- Serial Communication --> <!-- External Serial Connector --> <xsl:when test="$type='379'"> <xsl:if test="$name='Disable'">1</xsl:if> <xsl:if test="$name='Com1'">3</xsl:if> <xsl:if test="$name='Com2'">4</xsl:if> <xsl:if test="$name='RAC'">9</xsl:if> <xsl:if test="$name='SerialDev1'">14</xsl:if> <xsl:if test="$name='SerialDev2'">15</xsl:if> </xsl:when> <!-- External Serial Connector --> <!-- CPU HyperThreading --> <xsl:when test="$type='381'"> <xsl:if test="$name='Disable'">2</xsl:if> <xsl:if test="$name='Enable'">1</xsl:if> </xsl:when> <!-- CPU HyperThreading --> <xsl:when test="$type='456'"> <xsl:if test="$name='Disable'">2</xsl:if> <xsl:if test="$name='Enable'">1</xsl:if> </xsl:when> <!--For NUMA or CPU Turbo Mode --> <xsl:when test="$type='453' or $type='458'"> <xsl:if test="$name='Disable'">1</xsl:if> <xsl:if test="$name='Enable'">2</xsl:if> </xsl:when> <xsl:when test="$type='464'"> <xsl:if test="$name='OnWithDefAddr'">1</xsl:if> <xsl:if test="$name='OnWithAltAddr'">2</xsl:if> <xsl:if test="$name='com1'">3</xsl:if> <xsl:if test="$name='com2'">4</xsl:if> </xsl:when> <xsl:when test="$type='465' "> <xsl:if test="$name='Disable'">1</xsl:if> <xsl:if test="$name='Enable'">2</xsl:if> </xsl:when> <xsl:when test="$type='466' "> <xsl:if test="$name='Disable'">2</xsl:if> <xsl:if test="$name='Enable'">1</xsl:if> </xsl:when> <xsl:when test="$type='550' "> <xsl:if test="$name='Auto'">2</xsl:if> <xsl:if test="$name='Off'">1</xsl:if> </xsl:when> <!--For Core Multi Processing--> <xsl:when test="$type='457'"> <xsl:if test="$name='All'">1</xsl:if> <xsl:if test="$name='One'">2</xsl:if> <xsl:if test="$name='Two'">3</xsl:if> <xsl:if test="$name='Four'">4</xsl:if> <xsl:if test="$name='Six'">5</xsl:if> <xsl:if test="$name='Eight'">6</xsl:if> <xsl:if test="$name='Ten'">7</xsl:if> <xsl:if test="$name='Twelve'">8</xsl:if> <xsl:if test="$name='Fourteen'">9</xsl:if> <xsl:if test="$name='Sixteen'">10</xsl:if> </xsl:when> <!--For Boot Mode --> <xsl:when test="$type='462'"> <xsl:if test="$name='BIOS'">1</xsl:if> <xsl:if test="$name='UEFI'">2</xsl:if> </xsl:when> <!--For Embedded Video Controller and C State --> <xsl:when test="$type='460' or $type='461' "> <xsl:if test="$name='Disable'">2</xsl:if> <xsl:if test="$name='Enable'">1</xsl:if> </xsl:when> <xsl:otherwise> <xsl:if test="$name='Disable'">1</xsl:if> <xsl:if test="$name='Enable'">2</xsl:if> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="increment"> <xsl:param name="boundaryVal"/> javascript:increment(5, <xsl:value-of select="$boundaryVal"/>) </xsl:template> <xsl:template name="decrement"> <xsl:param name="boundaryVal"/> javascript:decrement(5, <xsl:value-of select="$boundaryVal"/>) </xsl:template> <xsl:template name="smstatus"> <xsl:param name="status"/> <xsl:param name="mssg"/> <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="$strBIOSSetupObject"/></xsl:when> <xsl:when test="$status = '257'"><xsl:value-of select="$strBIOSSetupObject1"/></xsl:when> <xsl:when test="$status = '258'"><xsl:value-of select="$strBIOSSetupObject2"/></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:value-of select="$mssg"/></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><xsl:value-of select="$strSMStatus"/><xsl:value-of select="$status"/></xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="*"/> </xsl:stylesheet>