����JFIF��x�x����'
Server IP : 78.140.185.180 / Your IP : 18.116.49.6 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/sm/template/common/ |
Upload File : |
<!-- This is the XSL to render the Controller Information page. The associated web plugin is the ControllerInfoWebPlugin. --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> <!-- Include some common templates created by SS --> <xsl:import href="Utils.xsl"/> <xsl:import href="ctrltbl.xsl"/> <xsl:import href="vdtbl.xsl"/> <xsl:import href="chnltbl.xsl"/> <xsl:import href="encltbl.xsl"/> <xsl:import href="btrytbl.xsl"/> <xsl:import href="hhhltbl.xsl"/> <!-- Define a bunch of global variables--> <xsl:variable name="GLOBAL_VAR_CurrentFirmwareVersion"><xsl:value-of select="/OMA/Controllers/DCStorageObject/FirmwareVer"/></xsl:variable> <xsl:variable name="GLOBAL_VAR_RequiredFirmwareVersion"><xsl:value-of select="/OMA/Controllers/DCStorageObject/RequiredFirmwareVersion"/></xsl:variable> <xsl:variable name="GLOBAL_VAR_CurrentDriverVersion"><xsl:value-of select="/OMA/Controllers/DCStorageObject/CurrentDriverVersion"/></xsl:variable> <xsl:variable name="GLOBAL_VAR_RequiredDriverVersion"><xsl:value-of select="/OMA/Controllers/DCStorageObject/RequiredDriverVersion"/></xsl:variable> <xsl:variable name="GLOBAL_VAR_LOCALE"><xsl:value-of select="/OMA/Locale"/></xsl:variable> <xsl:variable name="GLOBAL_VAR_BUSPROTOCOL"><xsl:value-of select="OMA/Controllers/DCStorageObject/BusProtocol"/></xsl:variable> <!-- Define Global variable for health status that can be used by other XSL files. Currently this variables are used to display status in Firmware/Driver version info page--> <xsl:variable name="HEALTH_STATUS_UNKNOWN_0">0</xsl:variable> <xsl:variable name="HEALTH_STATUS_UNKNOWN_1">1</xsl:variable> <xsl:variable name="HEALTH_STATUS_OK">2</xsl:variable> <xsl:variable name="HEALTH_STATUS_NON_CRITICAL">3</xsl:variable> <xsl:variable name="HEALTH_STATUS_CRITICAL">4</xsl:variable> <xsl:variable name="HEALTH_STATUS_NON_RECOVERABLE">5</xsl:variable> <xsl:variable name="VAR_SecurityKeyPresent"> <xsl:choose> <xsl:when test="substring(/OMA/Controllers/DCStorageObject/AttributesMask,8,1)='1' and substring(/OMA/Controllers/DCStorageObject/AttributesMask,9,1)='1' ">1</xsl:when> <xsl:when test="substring(/OMA/Controllers/DCStorageObject/AttributesMask,8,1)='0' and substring(/OMA/Controllers/DCStorageObject/AttributesMask,9,1)='1' ">0</xsl:when> </xsl:choose> </xsl:variable> <xsl:template match="OMA"> <xsl:variable name="checkAdmin"> <xsl:choose> <xsl:when test="OMAUserRights = '7'">true</xsl:when> <xsl:otherwise>false</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="isCluster"> <xsl:choose> <xsl:when test="substring(/OMA/Controllers/DCStorageObject/AttributesMask,32,1)!='0'">1</xsl:when> <xsl:otherwise>0</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="isPERC12"> <xsl:choose> <xsl:when test="substring(/OMA/Controllers/DCStorageObject/AttributesMask1,14,1)='1'">1</xsl:when> <xsl:otherwise>0</xsl:otherwise> </xsl:choose> </xsl:variable> <DataArea onLoad="true"> <!-- The call to the scripts template is needed to include the new common javascript function GetLocalUrl( ) for error handling --> <!-- This call must reside within the <DataArea> tag --> <xsl:call-template name="scripts"/> <script language="javascript"> function initializationRoutine() { <!-- DF27306 - Selecting vdisk does not display constituent array disks in aparticular scenario This defect was reported in 1.4. A fix for DFCT116290 actually broke the page. At this time, the OMSA team is unable to root cause this issue. Reverting to original behavior since original issue is cosmetic in nature. (GKV) Original defect: DFCT116290 - OMSS1.0 Pointer to Storage Tree on Left not changing correponding to Page --> <!-- Commenting out compid = "Controller"+"<xsl:value-of select="/OMA/ControllerOID"/>"; parent.ct._select(compid); --> } function onExecuteController(name, oid, IsDeleteSecurityKeyEnabled) { var cluster = <xsl:value-of select="$isCluster"/>; var confirmresponse = 0; var action = document.getElementById('CtrlTasks').value; var origurl = GetLocalUrl(); if (action == "-") { alert("<xsl:value-of select="$strError"/>" + "<xsl:value-of select="$strSelectValidTask"/>"); } else if (action =="64") { //create vd // need a cluster check. if(cluster == 1) { msg = "<xsl:value-of select="$strClusterCreate"/>"; confirmresponse = confirm(msg); } if((cluster == 1 && confirmresponse) || cluster == 0) { var origurl = GetLocalUrl(); //original URL <!--document.location.href ="./DataArea?plugin=com.dell.sm.webplugins.CreateVDExpressWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&help=vdmgmt&OrigURL="+origurl;--> document.dataarea.action = top.gnv.appendVID("./SubmitForm?plugin=com.dell.sm.webplugins.LaunchCreateVDWizardSubmitWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=" + name + "&OrigURL=" + origurl); document.dataarea.submit(); } } else if (action == "128") { //reset config // need a cluster check. if(cluster == 1) { msg = "<xsl:value-of select="$strClusterResetCnfg"/>"; confirmresponse = confirm(msg); } if((cluster == 1 && confirmresponse) || cluster == 0) { document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.ConfirmResetConfWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&help=cntkrset&BackTo="+origurl + "&OrigUrl=" + origurl); } } else if (action == "32") { //set rebuild rate document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.SetRebuildRateWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&help=cntkrbld&RebuildRate=" + "<xsl:choose><xsl:when test="//RebuildRate"><xsl:value-of select="//RebuildRate"/></xsl:when><xsl:otherwise><xsl:value-of select="$strUnknown"/></xsl:otherwise></xsl:choose>"); } else if (action == "8192") { //set bgi rate document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.SetCtrlRateAttribWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&Action=" + action + "&help=cntkbgi&Rate=" + "<xsl:choose><xsl:when test="//BGIRate"><xsl:value-of select="//BGIRate"/></xsl:when><xsl:otherwise><xsl:value-of select="$strUnknown"/></xsl:otherwise></xsl:choose>"); } else if (action == "16384") { //set checkconsistency rate document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.SetCtrlRateAttribWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&Action=" + action + "&help=cntkchk&Rate=" + "<xsl:choose><xsl:when test="//CheckConsistencyRate"><xsl:value-of select="//CheckConsistencyRate"/></xsl:when><xsl:otherwise><xsl:value-of select="$strUnknown"/></xsl:otherwise></xsl:choose>"); } else if (action == "65536") { //set reconstruct rate document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.SetCtrlRateAttribWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&Action=" + action + "&help=cntkrcn&Rate=" + "<xsl:choose><xsl:when test="//ReconstructRate"><xsl:value-of select="//ReconstructRate"/></xsl:when><xsl:otherwise><xsl:value-of select="$strUnknown"/></xsl:otherwise></xsl:choose>"); } else if (action == "1") { //controller rescan document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.ConfirmCtrlRescanWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&Action="+action+"&help=cnprin&BackTo="+origurl + "&OrigUrl=" + origurl); } else if ((action == "4") || (action == 8) || (action == 16) || (action == 1024) || (action == 2048)) { //will eventually make this default...rescan, enable, disable, quiet alarm, resume, test alarm i/o document.dataarea.action = top.gnv.appendVID("./SubmitForm?plugin=com.dell.sm.webplugins.ControllerExecWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&Action="+action+"&help=cnprin"); document.dataarea.submit(); } else if (action == "256") { //export log var isPERC12='<xsl:value-of select="$isPERC12"/>'; document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.CtrlExportLogWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&isPERC12Present=" + isPERC12 + "&help=cntklog"); } else if (action == "8388608") { //clear foreign config document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.CtrlConfirmForeignConfigWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&Action=" + action +"&help=cntkclfc"+"&BackTo="+origurl+"&OrigUrl="+origurl); //document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.ImportPreviewWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&Action=" + action +"&help=cntkimfc"); } else if (action == "16777216") { //import foreign config document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.CtrlConfirmForeignConfigWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&Action=" + action +"&help=cntkimfc"+"&BackTo="+origurl+"&OrigUrl="+origurl); } else if (action == "33554432") { //forced import foreign config document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.CtrlConfirmForeignConfigWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&Action=" + action +"&help=cntkimfc"+"&BackTo="+origurl+"&OrigUrl="+origurl); } else if (action == "536870912") { //foreign config operations <xsl:choose> <xsl:when test="substring(/OMA/Controllers/DCStorageObject/AttributesMask,5,1) = '1'"> var VAR_SecurityKeyPresent='<xsl:value-of select="$VAR_SecurityKeyPresent"/>'; document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.SEDForeignConfigWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&Action=" + action+"&SecurityKeyPresent="+VAR_SecurityKeyPresent+"&help=cntkipfc"+"&BackTo="+origurl + "&OrigURL=" + origurl); </xsl:when> <xsl:otherwise> document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.ImportPreviewWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&Action=" + action +"&help=cntkipfc"+"&BackTo="+origurl+"&OrigUrl="+origurl); </xsl:otherwise> </xsl:choose> } else if (action == "2097152") { //start patrol read document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.CtrlConfirmStartStopPatReadWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&Action=" + action +"&help=cntkpats"+"&BackTo="+origurl + "&OrigUrl=" + origurl); } else if (action == "4194304") { //stop patrol read document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.CtrlConfirmStartStopPatReadWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&Action=" + action +"&help=cntkpats"+"&BackTo="+origurl + "&OrigUrl=" + origurl); } else if (action == "1048576") { //set patrol read mode document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.SetCtrlPatReadModeWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&Action=" + action + "&PatrolReadMode=<xsl:value-of select="//PatrolReadMode"/>" + "&PatrolReadModeMask=<xsl:value-of select="//PatrolReadModeMask"/>" + "&help=cntkpatm"+"&BackTo="+origurl + "&OrigUrl=" + origurl); } else if (action == "67108864") { //Change Controller Properties document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.ChangeControllerPropertiesWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&OrigURL=" + origurl+"&help=cntkchcp&BackTo="+origurl + "&OrigUrl=" + origurl); } else if (action == "268435456") { //Pinned Cached document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.CtrlManagePinnedCacheWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&OrigURL=" + origurl+"&help=cntkmpic&BackTo="+origurl + "&OrigUrl=" + origurl); } else if (action == "1073741824") { //Security Management var Action="DeleteOrChangeSecurityKey"; <xsl:if test="substring(/OMA/Controllers/DCStorageObject/AttributesMask,9,1)='1' and substring(/OMA/Controllers/DCStorageObject/AttributesMask,8,1)='0' "> Action="CreateSecurityKey"; </xsl:if> document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.SecurityKeyManagementWebPlugin&Action="+Action+"&ControllerOID=" + oid + "&ControllerName=" + name +"&IsDeleteSecurityKeyEnabled="+IsDeleteSecurityKeyEnabled+"&help=sedkey&BackTo="+origurl + "&OrigUrl=" + origurl); } else if (action == "131072") { //Occupancy Slot Report document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.OccupancySlotReportWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&Action=" + action +"&help=cntkvsor"+"&BackTo="+origurl + "&OrigUrl=" + origurl); } else if (action == "2147483648") { //Dimmer Switch document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.PhysicalDiskPowerManagementWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&help=cntkmpdp"+"&BackTo="+origurl + "&OrigUrl=" + origurl); } else if (action == "2147483649") { //Manage SSC document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.VDInfoWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=" + name + "&help=cacheca1"+"&OrigURL=" + origurl+"&ManageSSC=1"+"&BackTo="+origurl); } else if (action == "2147483650") { //Convert multiple Non-Raid to Raid document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.MultipleRaidToNonRaidWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&convertOption=1&help=cntkctr&OrigURL=" + origurl+"&BackTo="+origurl); } else if (action == "2147483652") { //Convert multiple Raid to Non-Raid document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.MultipleRaidToNonRaidWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&convertOption=2&help=cntkctnr&OrigURL=" + origurl+"&BackTo="+origurl); } else if (action == "2147483656") { //set Controller mode document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.SetControllerModeWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&Action=" + action + "&help=chctrlmode"+"&BackTo="+origurl+"&OrigUrl="+origurl); } else if(action == "2147483664") { //Initiating Auto Configure RAID 0 document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.SetControllerAutoConfigRaidZeroWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&Action=" + action + "&help=autoconfraid0"+"&BackTo="+origurl + "&OrigUrl=" + origurl); } else if(action == "2147485696") { //Initiating Set Auto Configure Behavior document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.SetControllerAutoConfigureBehaviorWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&Action=" + action +"&AttributesMask1=<xsl:value-of select="//AttributesMask1"/>&AutoconfigureBehavior=<xsl:value-of select="//AutoconfigureBehavior"/>&help=autoconfigurebehavior&BackTo="+origurl + "&OrigUrl=" + origurl); } else { // Should never get here alert("<xsl:value-of select="$strError"/>" + "<xsl:value-of select="$strSelectValidTask"/>"); } } function callCreate(name, oid) { //alert("Name: " + name + ", oid: " + oid); //sid = "Properties"+oid; //lid = "Information"+oid; //parent.ct.select(compid); moves tree select to controller object document.location.href =top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.CreateVDExpressWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&FILE=false&help=vdmgmt"); } function onExecuteReport(name, oid, sasaddress, zoneOffsetStart, zoneOffsetEnd) { <!--var reportaction = document.getElementById("CtrlReports" + oid).value;--> var reportaction = document.getElementById('RptTasks').value; var origurl = GetLocalUrl(); if (reportaction == "-") { alert("<xsl:value-of select="$strError"/>" + "<xsl:value-of select="$strSelectValidTask"/>"); } else if (reportaction == "2") { //view patrol read report document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.PRCCReportWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&ReportType=" + reportaction +"&SASAddress=" + sasaddress +"&help=cntkprr"+"&BackTo="+origurl); } else if (reportaction == "4") { //view check consistency report document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.PRCCReportWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&ReportType=" + reportaction +"&SASAddress=" + sasaddress +"&help=cntkccr"+"&BackTo="+origurl); } else if (reportaction == "8") { //view slot occpancy report document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.OccupancySlotReportWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&ReportType=" + reportaction +"&help=cntkvsor"+"&BackTo="+origurl + "&ZoneOffsetStart=" + zoneOffsetStart + "&ZoneOffsetEnd=" + zoneOffsetEnd); } else if (reportaction == "16") { //view physical disk firmware version report document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.HDDFirmwareVersionReportWebPlugin&ControllerOID=" + oid + "&ControllerName=" + name + "&ReportType=" + reportaction +"&help=hddfirm"+"&BackTo="+origurl); } else { // Should never get here alert("<xsl:value-of select="$strError"/>" + "<xsl:value-of select="$strSelectValidTask"/>"); } } </script> <PageTitle> <xsl:choose> <xsl:when test="$GLOBAL_VAR_BUSPROTOCOL != '9'"> <xsl:attribute name="display"><xsl:value-of select="$strTitlePart1"/><xsl:value-of select="/*/Controllers/@ControllerName"/><xsl:value-of select="$strTitlePart2"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="$strPCIeSSDTitlePart1"/><xsl:value-of select="/*/Controllers/@ControllerName"/><xsl:value-of select="$strPCIeSSDTitlePart2"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </PageTitle> <!-- Checks if the firmware and/or driver versions are out of date, if so displays appropriate message informing that they are out of date --> <xsl:choose> <xsl:when test="$GLOBAL_VAR_RequiredFirmwareVersion and $GLOBAL_VAR_RequiredDriverVersion"> <AlertMessage> <xsl:attribute name="display"><xsl:value-of select="$strSubHeaderFwDriverVerOutOfDate"/></xsl:attribute> <xsl:attribute name="status"><xsl:value-of select="$HEALTH_STATUS_NON_CRITICAL"/></xsl:attribute> </AlertMessage> </xsl:when> <xsl:when test="$GLOBAL_VAR_RequiredFirmwareVersion"> <AlertMessage> <xsl:attribute name="display"><xsl:value-of select="$strSubHeaderFwVerOutOfDate"/></xsl:attribute> <xsl:attribute name="status"><xsl:value-of select="$HEALTH_STATUS_NON_CRITICAL"/></xsl:attribute> </AlertMessage> </xsl:when> <xsl:when test="$GLOBAL_VAR_RequiredDriverVersion"> <AlertMessage> <xsl:attribute name="display"><xsl:value-of select="$strSubHeaderDriverVerOutOfDate"/></xsl:attribute> <xsl:attribute name="status"><xsl:value-of select="$HEALTH_STATUS_NON_CRITICAL"/></xsl:attribute> </AlertMessage> </xsl:when> <xsl:when test="substring(/OMA/Controllers/DCStorageObject/AttributesMask1,12,1)='1'"> <AlertMessage> <xsl:attribute name="display"><xsl:value-of select="$strDataCompatWarning"/></xsl:attribute> <xsl:attribute name="status"><xsl:value-of select="$HEALTH_STATUS_NON_CRITICAL"/></xsl:attribute> </AlertMessage> </xsl:when> <xsl:otherwise><!-- Do Nothing--></xsl:otherwise> </xsl:choose> <!--- check for bit if manual refresh is required --> <xsl:choose> <xsl:when test="substring(/OMA/Controllers/DCStorageObject/AttributesMask,30,1)='1'"> <AlertMessage> <xsl:attribute name="display"><xsl:value-of select="$strManualRefresh"/></xsl:attribute> </AlertMessage> </xsl:when> </xsl:choose> <CustomButton> <!-- The refresh button cannot use the below javascript to perform the refresh. The issue is the javascript calls the last webplug which was called to render this page. The problem is that the page can be rendered by two webplugins: the info webplugin and the action execute web plugin. If the action execute webplugin was the last webplugin to render the page, pressing refresh would cause that action to be re-executed. --> <!--Data name="Refresh"> <xsl:attribute name="display"><xsl:value-of select="$strRefresh"/></xsl:attribute> <xsl:attribute name="href"></xsl:attribute> <xsl:attribute name="onclick">javascript:location.reload ()</xsl:attribute> </Data--> <Data name="Refresh"> <xsl:attribute name="display"><xsl:value-of select="$strRefresh"/></xsl:attribute> <xsl:attribute name="href">./DataArea?plugin=com.dell.sm.webplugins.ControllerInfoWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&Return=true&help=cnprin</xsl:attribute> </Data> </CustomButton> <xsl:apply-templates select="/*/Controllers/DCStorageObject"> <xsl:with-param name="tasks"> <xsl:value-of select="$checkAdmin"/> </xsl:with-param> </xsl:apply-templates> </DataArea> </xsl:template> <!-- Template to display the controller object --> <xsl:template match="Controllers/DCStorageObject"> <xsl:param name="tasks"/> <xsl:param name="checkAdmin"/> <ComboData ignoreJumpBar="true"> <ListData columnspacing="true"> <xsl:variable name="showtasks"> <xsl:value-of select="$tasks"/> </xsl:variable> <xsl:choose> <xsl:when test="(starts-with($GLOBAL_VAR_LOCALE, 'fr')) or (starts-with($GLOBAL_VAR_LOCALE, 'es')) or (starts-with($GLOBAL_VAR_LOCALE, 'de'))"> <xsl:attribute name="extended">true</xsl:attribute> </xsl:when> </xsl:choose> <SubHeader> <xsl:attribute name="display"><xsl:value-of select="$strSubHeader1"/></xsl:attribute> <xsl:attribute name="status"><xsl:value-of select="ObjStatus"/></xsl:attribute> </SubHeader> <xsl:call-template name="ControllerTable"> <xsl:with-param name="tasks" select="$showtasks"/> </xsl:call-template> <!--Data display="Name"> <xsl:attribute name="value"><xsl:value-of select="../@ControllerName"/></xsl:attribute> <xsl:attribute name="href"/> </Data> <Data display="State"> <xsl:attribute name="value"><xsl:call-template name="GetState"><xsl:with-param name="state" select="ObjState"/></xsl:call-template></xsl:attribute> </Data> <Data display="Firmware Version" value="{FirmwareVer}"/--> </ListData> <xsl:if test="MaxVDAllowed>0"> <xsl:if test="count(../../VirtualDisks/DCStorageObject[not(IsSSC)or IsSSC='0'])>0"> <TableData columnspacing="true"> <xsl:variable name="showtasks">false</xsl:variable> <SubHeader> <xsl:choose> <xsl:when test="../../VirtualDisks/@TotalVDCount > 10"> <xsl:attribute name="display"><xsl:value-of select="$strSubHeader2"/><xsl:value-of select="$strVisitVirtualDiskPage"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="display"><xsl:value-of select="$strSubHeader2"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </SubHeader> <DescText> <xsl:attribute name="display"><xsl:value-of select="$strPromptText"/></xsl:attribute> </DescText> <xsl:choose> <xsl:when test="count(../../VirtualDisks)>0"> <Header> <xsl:call-template name="VirtualDiskTableHeader"> <xsl:with-param name="tasks" select="$showtasks"/> </xsl:call-template> </Header> <xsl:for-each select="../../VirtualDisks/DCStorageObject[not(IsSSC)or IsSSC='0']"> <xsl:call-template name="VirtualDiskTableRows"> <xsl:with-param name="tasks" select="$showtasks"/> <xsl:with-param name="caller">./DataArea?plugin=com.dell.sm.webplugins.ControllerInfoWebPlugin!ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>!help=cnprin!Return=true</xsl:with-param> </xsl:call-template> </xsl:for-each> </xsl:when> <xsl:otherwise> <xsl:if test="$checkAdmin='true'"> <!--check to see if user had admin rights--> <Row> <Data type="ustring" name="execute" link="true"> <xsl:attribute name="display"/> <xsl:attribute name="value"><xsl:value-of select="$strNoVD"/></xsl:attribute> <xsl:attribute name="href">javascript:callCreate("<xsl:value-of select="../@ControllerName"/>","<xsl:value-of select="/OMA/ControllerOID"/>")</xsl:attribute> </Data> </Row> </xsl:if> </xsl:otherwise> </xsl:choose> </TableData> </xsl:if> </xsl:if> <!-- SSD starts here--> <xsl:if test="count(../../VirtualDisks/DCStorageObject[IsSSC = '1'])>0"> <TableData columnspacing="true"> <xsl:variable name="showtasks">false</xsl:variable> <SubHeader> <xsl:attribute name="display"><xsl:value-of select="$strSubHeaderSSC2"/></xsl:attribute> </SubHeader> <DescText> <xsl:attribute name="display"><xsl:value-of select="$strPromptTextSSC"/></xsl:attribute> </DescText> <xsl:choose> <xsl:when test="count(../../VirtualDisks/DCStorageObject[IsSSC = '1'])>0"> <Header> <xsl:call-template name="VirtualDiskTableHeader"> <xsl:with-param name="tasks" select="$showtasks"/> <xsl:with-param name="ControllerPageSSC" select="1"/> </xsl:call-template> </Header> <xsl:for-each select="../../VirtualDisks/DCStorageObject[IsSSC = '1']"> <xsl:call-template name="VirtualDiskTableRows"> <xsl:with-param name="tasks" select="$showtasks"/> <xsl:with-param name="caller">./DataArea?plugin=com.dell.sm.webplugins.ControllerInfoWebPlugin!ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>!help=cnprin!Return=true!ManageSSC=1</xsl:with-param> <xsl:with-param name="ControllerPageSSC" select="1"/> </xsl:call-template> </xsl:for-each> </xsl:when> <xsl:otherwise> <xsl:if test="$checkAdmin='true'"> <!--check to see if user had admin rights--> <Row> <Data type="ustring" name="execute" link="true"> <xsl:attribute name="display"/> <xsl:attribute name="value"><xsl:value-of select="$strNoSSC"/></xsl:attribute> <xsl:attribute name="href">javascript:callCreate("<xsl:value-of select="../@ControllerName"/>","<xsl:value-of select="/OMA/ControllerOID"/>")</xsl:attribute> </Data> </Row> </xsl:if> </xsl:otherwise> </xsl:choose> </TableData> </xsl:if> <!-- SSD ends here--> <xsl:if test="count(../../Batteries/DCStorageObject)>0"> <TableData columnspacing="true"> <xsl:variable name="showtasks">false</xsl:variable> <SubHeader> <xsl:attribute name="display"><xsl:value-of select="$strSubHeader5"/></xsl:attribute> </SubHeader> <Header> <xsl:call-template name="BatteryTableHeader"> <xsl:with-param name="tasks" select="$showtasks"/> </xsl:call-template> </Header> <xsl:for-each select="../../Batteries/DCStorageObject"> <xsl:call-template name="BatteryTableRows"> <xsl:with-param name="tasks" select="$showtasks"/> </xsl:call-template> </xsl:for-each> </TableData> </xsl:if> <xsl:if test="count(../../Channels/DCStorageObject)>0 and not(../../Channels/DCStorageObject/BusProtocol = '9' and ../../Channels/DCStorageObject/ServerGen = '48')"> <TableData columnspacing="true"> <xsl:variable name="showtasks">false</xsl:variable> <SubHeader> <xsl:attribute name="display"> <xsl:choose> <xsl:when test="../../Controllers/DCStorageObject/BusProtocol = '9'"> <xsl:value-of select="$strSubHeader3PCIeSSD"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$strSubHeader3"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> </SubHeader> <Header> <xsl:call-template name="ChannelTableHeader"> <xsl:with-param name="tasks" select="$showtasks"/> </xsl:call-template> </Header> <xsl:choose> <xsl:when test="substring(../../Channels/DCStorageObject/AttributesMask,26,1)='1'"> <xsl:for-each select="../../Channels/DCStorageObject"> <xsl:choose> <xsl:when test="PrimaryChannel"> <!-- It is a secondary channel. DO NOTHING. --> </xsl:when> <xsl:otherwise> <xsl:call-template name="ChannelTableRows"> <xsl:with-param name="tasks" select="$showtasks"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:for-each> </xsl:when> <xsl:otherwise> <xsl:for-each select="../../Channels/DCStorageObject"> <xsl:choose> <xsl:when test="PrimaryChannel"> <!-- It is a secondary channel. DO NOTHING. --> </xsl:when> <xsl:otherwise> <xsl:call-template name="ChannelTableRows"> <xsl:with-param name="tasks" select="$showtasks"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:for-each> </xsl:otherwise> </xsl:choose> </TableData> </xsl:if> <xsl:if test="count(../../NVMeAdapters/DCStorageObject)>0"> <TableData columnspacing="true"> <xsl:variable name="showtasks">false</xsl:variable> <SubHeader> <xsl:attribute name="display"> <xsl:value-of select="$strSubHeader4PCIeSSD"/> </xsl:attribute> </SubHeader> <Header> <xsl:call-template name="HHHLTableHeader"> <xsl:with-param name="tasks" select="$showtasks"/> </xsl:call-template> </Header> <xsl:for-each select="../../NVMeAdapters/DCStorageObject"> <xsl:call-template name="HHHLTableRows"> <xsl:with-param name="tasks" select="$showtasks"/> </xsl:call-template> </xsl:for-each> </TableData> </xsl:if> <xsl:if test="count(../../Enclosures/DCStorageObject)>0"> <TableData columnspacing="true"> <xsl:variable name="showtasks">false</xsl:variable> <SubHeader> <xsl:attribute name="display"><xsl:value-of select="$strSubHeader4"/></xsl:attribute> </SubHeader> <Header> <xsl:call-template name="EnclosureTableHeader"> <xsl:with-param name="tasks" select="$showtasks"/> <xsl:with-param name="expanded" select="false"/> </xsl:call-template> </Header> <xsl:for-each select="../../Enclosures/DCStorageObject"> <xsl:call-template name="EnclosureTableRows"> <xsl:with-param name="tasks" select="$showtasks"/> <xsl:with-param name="expanded" select="false"/> </xsl:call-template> </xsl:for-each> </TableData> </xsl:if> </ComboData> </xsl:template> <!-- CONTROLLER TABLE --> <xsl:template name="ControllerTable"> <xsl:param name="tasks"/> <xsl:param name="nonRaid"> <xsl:call-template name="IsObjectNonRaid"> <xsl:with-param name="Mask"> <xsl:value-of select="AttributesMask"/> </xsl:with-param> </xsl:call-template> </xsl:param> <xsl:param name="ObjID"> <xsl:call-template name="ModNexus"> <xsl:with-param name="nexus"> <xsl:value-of select="Nexus"/> </xsl:with-param> </xsl:call-template> </xsl:param> <!-- The current implementation is to have the UI be dynamic in the data it shows. Only the columns applicable to the objects will be displayed. The CLI will display all columns of data however to ease script parsing. --> <xsl:variable name="dynamicView"> <xsl:choose> <xsl:when test="/OMA/@cli = 'true' ">false</xsl:when> <xsl:otherwise>true</xsl:otherwise> </xsl:choose> </xsl:variable> <!--xsl:variable name="isCluster"> <xsl:if test="substring(AttributesMask,32,1)!='0'">true</xsl:if> </xsl:variable--> <xsl:variable name="isCluster"> <xsl:choose> <xsl:when test="ClusterMode"> <!--Make sure Cluster Allowed bit is ON --> <xsl:if test="substring(ClusterMode,30,1)!='0'">true</xsl:if> </xsl:when> <xsl:otherwise> <xsl:if test="substring(AttributesMask,32,1)!='0'">true</xsl:if> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="isAlarmPresent"> <xsl:choose> <xsl:when test="AlarmState"> <xsl:if test="substring(AlarmState,31,1)!='0'">true</xsl:if> </xsl:when> <xsl:otherwise> <xsl:if test="substring(CurrentMethodMask,30,1)!='0' or substring(CurrentMethodMask,29,1)!='0' or substring(CurrentMethodMask,28,1)!='0'">true</xsl:if> </xsl:otherwise> </xsl:choose> </xsl:variable> <Data name="ID" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strID"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="GlobalNo"/></xsl:attribute> </Data> <Data type="status" align="left"> <xsl:attribute name="display"><xsl:value-of select="$strStatus"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="ObjStatus"/></xsl:attribute> </Data> <Data name="Name" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strName"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="Name"/></xsl:attribute> </Data> <xsl:if test="//PCISlot or $dynamicView = 'false' "> <Data> <xsl:attribute name="display"><xsl:value-of select="$strSlotID"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <!-- Added for NGM. Displaying slot designation instead of PCISlot--> <xsl:when test="substring(AttributesMask1,27,1) = '1'"> <xsl:value-of select="PCISlotDesignation"/> </xsl:when> <xsl:when test="PCISlot = '-1' or PCISlot = '2147483648' or PCISlot = '0' "> <xsl:value-of select="$strEmbedded"/> </xsl:when> <xsl:when test="PCISlot = '2147483649' or PCISlot = ''"> <xsl:value-of select="$strNoSlot"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$strPCI"/><xsl:value-of select="PCISlot"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> </xsl:if> <Data name="State" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strState"/></xsl:attribute> <xsl:attribute name="value"><xsl:call-template name="GetState"><xsl:with-param name="state"><xsl:value-of select="ObjState"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> <xsl:if test="(//FirmwareVer and $GLOBAL_VAR_BUSPROTOCOL!= '9') or $dynamicView = 'false' "> <Data name="FW" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strFW"/></xsl:attribute> <xsl:attribute name="value"><xsl:choose><xsl:when test="FirmwareVer"><xsl:choose><xsl:when test="FirmwareVer = '(null)' "><xsl:value-of select="$strUnknown"/></xsl:when><xsl:otherwise><xsl:value-of select="FirmwareVer"/></xsl:otherwise></xsl:choose></xsl:when><xsl:otherwise><xsl:value-of select="$strNotApplicable"/></xsl:otherwise></xsl:choose></xsl:attribute> </Data> </xsl:if> <xsl:if test="//RequiredFirmwareVersion or $dynamicView = 'false' "> <Data name="FW" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strReqFW"/></xsl:attribute> <xsl:attribute name="value"><xsl:choose><xsl:when test="RequiredFirmwareVersion"><xsl:choose><xsl:when test="RequiredFirmwareVersion= '(null)' "><xsl:value-of select="$strUnknown"/></xsl:when><xsl:otherwise><xsl:value-of select="RequiredFirmwareVersion"/></xsl:otherwise></xsl:choose></xsl:when><xsl:otherwise><xsl:value-of select="$strNotApplicable"/></xsl:otherwise></xsl:choose></xsl:attribute> </Data> </xsl:if> <xsl:if test="/OMA/Controllers/DCStorageObject/CurrentDriverVersion or $dynamicView = 'false' "> <Data name="FW" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strDvr"/></xsl:attribute> <xsl:attribute name="value"><xsl:choose><xsl:when test="CurrentDriverVersion"><xsl:choose><xsl:when test="CurrentDriverVersion= '(null)' "><xsl:value-of select="$strUnknown"/></xsl:when><xsl:otherwise><xsl:value-of select="CurrentDriverVersion"/></xsl:otherwise></xsl:choose></xsl:when><xsl:otherwise><xsl:value-of select="$strNotApplicable"/></xsl:otherwise></xsl:choose></xsl:attribute> </Data> </xsl:if> <xsl:if test="//RequiredDriverVersion or $dynamicView = 'false' "> <Data name="FW" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strReqDvr"/></xsl:attribute> <xsl:attribute name="value"><xsl:choose><xsl:when test="RequiredDriverVersion"><xsl:choose><xsl:when test="RequiredDriverVersion= '(null)' "><xsl:value-of select="$strUnknown"/></xsl:when><xsl:otherwise><xsl:value-of select="RequiredDriverVersion"/></xsl:otherwise></xsl:choose></xsl:when><xsl:otherwise><xsl:value-of select="$strNotApplicable"/></xsl:otherwise></xsl:choose></xsl:attribute> </Data> </xsl:if> <xsl:if test="(//Channels or $dynamicView = 'false') and not(//BusProtocol ='9' and //ServerGen = '48') "> <Data name="NumChannels" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:choose><xsl:when test="$GLOBAL_VAR_BUSPROTOCOL = '9'"><xsl:value-of select="$strNumExtenders"/></xsl:when><xsl:otherwise><xsl:value-of select="$strNumChannels"/></xsl:otherwise></xsl:choose></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="Channels"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="(//RebuildRate and not(//PersonalityState = '2')) or $dynamicView = 'false' "> <Data name="RbldRate" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strRebuildRate"/></xsl:attribute> <!-- set value --> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="count(RebuildRate)>0"> <xsl:choose> <xsl:when test="RebuildRate = '(null)' "> <xsl:value-of select="$strUnknown"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="RebuildRate"/> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:value-of select="$strNotApplicable"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <!-- set rebuild rate unit --> <xsl:choose> <xsl:when test="count(RebuildRate)>0"> <xsl:choose> <xsl:when test="RebuildRate != '(null)' "> <xsl:attribute name="unit">%</xsl:attribute> </xsl:when> </xsl:choose> </xsl:when> </xsl:choose> </Data> </xsl:if> <xsl:if test="(//BGIRate and not(//PersonalityState = '2')) or $dynamicView = 'false' "> <Data name="BGIRate" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strBGIRate"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="BGIRate"/>%</xsl:attribute> </Data> </xsl:if> <xsl:if test="(//CheckConsistencyRate and not(//PersonalityState = '2')) or $dynamicView = 'false' "> <Data name="CheckConsistencyRate" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strChkConsistencyRate"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="CheckConsistencyRate"/>%</xsl:attribute> </Data> </xsl:if> <xsl:if test="(//ReconstructRate and not(//PersonalityState = '2')) or $dynamicView = 'false' "> <Data name="ReconstructRate" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strReconstructRate"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="ReconstructRate"/>%</xsl:attribute> </Data> </xsl:if> <!-- 6.0 changes to display values on controller information page--> <xsl:if test="//ChangeControllerPropertyMask "> <Data name="AbortCc" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strAbortCConError"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="substring(//ChangeControllerPropertyMask,20,1)='1'"><xsl:value-of select="$strEnabled"/></xsl:when> <xsl:when test="substring(//ChangeControllerPropertyMask,12,1)='1'"><xsl:value-of select="$strDisabled"/></xsl:when> </xsl:choose> </xsl:attribute> </Data> </xsl:if> <xsl:if test="//ChangeControllerPropertyMask "> <Data name="CopyBack" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strCopyback"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="substring(//ChangeControllerPropertyMask,17,1)='1'"><xsl:value-of select="$strEnabled"/></xsl:when> <xsl:when test="substring(//ChangeControllerPropertyMask,15,1)='1'"><xsl:value-of select="$strDisabled"/></xsl:when> </xsl:choose> </xsl:attribute> </Data> </xsl:if> <xsl:if test="//ChangeControllerPropertyMask and (substring(//ChangeControllerPropertyMask,14,1) = '1' or substring(//ChangeControllerPropertyMask,13,1) = '1')"> <Data name="LoadBalancing" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strLoadBalancing"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="substring(//ChangeControllerPropertyMask,14,1)='1'"><xsl:value-of select="$strAuto"/></xsl:when> <xsl:when test="substring(//ChangeControllerPropertyMask,13,1)='1'"><xsl:value-of select="$strDisabled"/></xsl:when> </xsl:choose> </xsl:attribute> </Data> </xsl:if> <xsl:if test="//ChangeControllerPropertyMask "> <Data name="SmartErrorDisk" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strSmarterErrorDisk"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="substring(//ChangeControllerPropertyMask,30,1)='1'"><xsl:value-of select="$strEnabled"/></xsl:when> <xsl:when test="substring(//ChangeControllerPropertyMask,29,1)='1'"><xsl:value-of select="$strDisabled"/></xsl:when> </xsl:choose> </xsl:attribute> </Data> </xsl:if> <xsl:if test="(/OMA/Channels/DCStorageObject/RedundantPath)='1'"> <Data name="ClearMultiPath" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strClearMultipath"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strDetected"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="//ChangeControllerPropertyMask and (substring(//ChangeControllerPropertyMask,1,1)='1')"> <Data name="PersistantHS" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$PersistentHotSpare"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="substring(//ChangeControllerPropertyMask,2,1)='1'"><xsl:value-of select="$strEnabled"/></xsl:when> <xsl:when test="substring(//ChangeControllerPropertyMask,3,1)='1'"><xsl:value-of select="$strDisabled"/></xsl:when> </xsl:choose> </xsl:attribute> </Data> </xsl:if> <xsl:if test="substring(/OMA/Controllers/DCStorageObject/AttributesMask,2,1)='1' or /OMA/@cli = 'true'"> <Data name="SSCCapable" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strSSCCapable"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="substring(/OMA/Controllers/DCStorageObject/AttributesMask,2,1)='1'"><xsl:value-of select="$strYes"/></xsl:when> <xsl:otherwise><xsl:value-of select="$strNotApplicable"/></xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> </xsl:if> <xsl:if test="substring(/OMA/Controllers/DCStorageObject/AttributesMask,9,1)='1' or /OMA/@cli = 'true'"> <Data name="SecurityCapable" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strSecurityCapable"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="substring(/OMA/Controllers/DCStorageObject/AttributesMask,9,1)='1'"><xsl:value-of select="$strYes"/></xsl:when> <xsl:otherwise><xsl:value-of select="$strNotApplicable"/></xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> <Data name="SecurityKeyPresent" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strSecurityKeyPresent"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="substring(/OMA/Controllers/DCStorageObject/AttributesMask,8,1)='1' and substring(/OMA/Controllers/DCStorageObject/AttributesMask,9,1)='1' "><xsl:value-of select="$strYes"/></xsl:when> <xsl:when test="substring(/OMA/Controllers/DCStorageObject/AttributesMask,8,1)='0' and substring(/OMA/Controllers/DCStorageObject/AttributesMask,9,1)='1'"><xsl:value-of select="$strNo"/></xsl:when> <xsl:otherwise><xsl:value-of select="$strNotApplicable"/></xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> <xsl:choose> <xsl:when test="SecurityMode"> <Data name="SecurityMode" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strSecurityMode"/></xsl:attribute> <xsl:if test="SecurityMode = '1'"> <xsl:attribute name="value"><xsl:value-of select="$strLKM"/></xsl:attribute> </xsl:if> <xsl:if test="SecurityMode = '2'"> <xsl:attribute name="value"><xsl:value-of select="$strDKM"/></xsl:attribute> </xsl:if> <xsl:if test="SecurityMode = '0'"> <xsl:attribute name="value"><xsl:value-of select="$strNone"/></xsl:attribute> </xsl:if> </Data> </xsl:when> <xsl:when test="substring(/OMA/Controllers/DCStorageObject/AttributesMask,9,1)='1'"> <Data name="SecurityMode" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strSecurityMode"/></xsl:attribute> <xsl:choose> <xsl:when test="substring(/OMA/Controllers/DCStorageObject/AttributesMask,8,1)='1'"> <xsl:attribute name="value"><xsl:value-of select="$strLKM"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="value"><xsl:value-of select="$strNone"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </Data> </xsl:when> <xsl:otherwise> <Data name="SecurityMode" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strSecurityMode"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//PreserveCacheStatus or $dynamicView = 'false'"> <Data name="PreserveCacheStatus" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strPreserveChacheStatus"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="PreserveCacheStatus = '1'"><xsl:value-of select="$strYes"/></xsl:when> <xsl:otherwise><xsl:value-of select="$strNo"/></xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> </xsl:if> <!--6.0 changes over --> <xsl:if test="$isAlarmPresent='true' or dynamicView = 'false' "> <Data name="Alarm" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strAlarmState"/></xsl:attribute> <xsl:choose> <xsl:when test="AlarmState"> <xsl:attribute name="value"> <xsl:call-template name="GetAlarmState"><xsl:with-param name="state"><xsl:value-of select="AlarmState"/></xsl:with-param></xsl:call-template> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="value"> <xsl:call-template name="GetControllerAlarm"><xsl:with-param name="MethodValue"><xsl:value-of select="CurrentMethodMask"/></xsl:with-param></xsl:call-template> </xsl:attribute> </xsl:otherwise> </xsl:choose> </Data> </xsl:if> <xsl:if test="$isCluster='true' or $dynamicView = 'false'"> <Data name="ClusterMode" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strClusterMode"/></xsl:attribute> <xsl:choose> <xsl:when test="ClusterMode"> <xsl:attribute name="value"> <xsl:call-template name="GetClusterMode"><xsl:with-param name="mode"><xsl:value-of select="ClusterMode"/></xsl:with-param></xsl:call-template> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="value"><xsl:value-of select="$strEnabled"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </Data> </xsl:if> <xsl:if test="TargetID or $dynamicView = 'false' "> <Data name="ScsiTgId" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strScsiTgId"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="TargetID"><xsl:value-of select="TargetID"/></xsl:when> <xsl:otherwise> <xsl:value-of select="$strNotApplicable"/></xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> </xsl:if> <xsl:if test="//CacheSize or $dynamicView = 'false' "> <Data name="CacheSize" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strCacheSize"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="CacheSize"/> MB</xsl:attribute> </Data> </xsl:if> <xsl:if test="//PatrolReadMode or $dynamicView = 'false' "> <Data name="PatReadMode" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strPatrolReadMode"/></xsl:attribute> <xsl:attribute name="value"> <xsl:call-template name="GetPatrolReadMode"><xsl:with-param name="mode"><xsl:value-of select="PatrolReadMode"/></xsl:with-param></xsl:call-template> </xsl:attribute> </Data> </xsl:if> <xsl:if test="//PatrolReadState or $dynamicView = 'false' "> <Data name="PatReadState" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strPatrolReadState"/></xsl:attribute> <xsl:attribute name="value"> <xsl:call-template name="GetPatrolReadState"><xsl:with-param name="state"><xsl:value-of select="PatrolReadState"/></xsl:with-param></xsl:call-template> </xsl:attribute> </Data> </xsl:if> <!--CLI only--> <xsl:if test="//PatrolReadRate or $dynamicView = 'false' "> <Data name="PatReadRate" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strPatrolReadRate"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="PatrolReadRate"/>%</xsl:attribute> </Data> </xsl:if> <xsl:if test="//PatrolReadIterations or $dynamicView = 'false' "> <Data name="PatReadIterations" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strPatrolReadIterations"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="PatrolReadIterations"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="substring(//DimmerPropertyMask,1,1)='1'"> <Data name="UnconfiguredDrives" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strUnconfiguredDrives"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="substring(//DimmerPropertyMask,27,1)='1'"><xsl:value-of select="$strEnabled"/></xsl:when> <xsl:when test="substring(//DimmerPropertyMask,28,1)='1'"><xsl:value-of select="$strDisabled"/></xsl:when> </xsl:choose> </xsl:attribute> </Data> <Data name="UnconfiguredHotspares" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strUnconfiguredHotspares"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="substring(//DimmerPropertyMask,25,1)='1'"><xsl:value-of select="$strEnabled"/></xsl:when> <xsl:when test="substring(//DimmerPropertyMask,26,1)='1'"><xsl:value-of select="$strDisabled"/></xsl:when> </xsl:choose> </xsl:attribute> </Data> <xsl:choose> <xsl:when test="//SupportPowerSavings = '1'"> <Data name="ConfiguredDrives" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strConfiguredDrives"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="substring(//DimmerPropertyMask,23,1)='1'"><xsl:value-of select="$strEnabled"/></xsl:when> <xsl:when test="substring(//DimmerPropertyMask,24,1)='1'"><xsl:value-of select="$strDisabled"/></xsl:when> </xsl:choose> </xsl:attribute> </Data> <Data name="Idle_C" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strIdleCFull"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="substring(//DimmerPropertyMask,21,1)='1'"><xsl:value-of select="$strEnabled"/></xsl:when> <xsl:when test="substring(//DimmerPropertyMask,22,1)='1'"><xsl:value-of select="$strDisabled"/></xsl:when> </xsl:choose> </xsl:attribute> </Data> <xsl:if test="substring(//DimmerPropertyMask,25,1)='1' or substring(//DimmerPropertyMask,27,1)='1' or substring(//DimmerPropertyMask,23,1)='1' or substring(//DimmerPropertyMask,21,1)='1'"> <Data name="SpindownTimeInterval" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strSpindownTimeInterval"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="SpinDownTime"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="substring(//DimmerPropertyMask,23,1)='1'"> <Data name="SpinupStartTime" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strStartTime"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="DisableLDPSTime"/></xsl:attribute> </Data> <Data name="SpinupTimeInterval" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strEndTime"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="DisableLDPSInterval"/></xsl:attribute> </Data> </xsl:if> </xsl:when> <xsl:otherwise> <xsl:if test="substring(//DimmerPropertyMask,25,1)='1' or substring(//DimmerPropertyMask,27,1)='1'"> <Data name="SpindownTimeInterval" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strSpindownTimeInterval"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="SpinDownTime"/></xsl:attribute> </Data> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//CtrlPICapable or $dynamicView = 'false' "> <Data name="CtrlPICapable" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strT10PICapable"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="(//CtrlPICapable = '1')"><xsl:value-of select="$strYes"/></xsl:when> <xsl:otherwise> <xsl:choose> <xsl:when test="(//CtrlPICapable = '0')"><xsl:value-of select="$strNo"/></xsl:when> <xsl:otherwise><xsl:value-of select="$strNotApplicable"/></xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> </xsl:if> <xsl:if test="//PersonalityState or $dynamicView = 'false' "> <Data name="PersonalityState" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strPersonalityState"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="(//PersonalityState = '0' or //PersonalityState = '1')"><xsl:value-of select="$strRAID"/></xsl:when> <xsl:when test="(//PersonalityState = '2')"><xsl:value-of select="$strHBA"/></xsl:when> <xsl:when test="(//PersonalityState = '8')"><xsl:value-of select="$strEnhancedHBA"/></xsl:when> <xsl:otherwise><xsl:value-of select="$strNotApplicable"/></xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> </xsl:if> <xsl:if test="//SupportedDeviceInterfaces or $dynamicView = 'false' "> <Data name="SupportedDeviceInterfaces" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strSupportedDeviceInterface"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="(//SupportedDeviceInterfaces = '7')"><xsl:value-of select="$strSATA"/></xsl:when> <xsl:when test="(//SupportedDeviceInterfaces = '8')"><xsl:value-of select="$strSAS"/></xsl:when> <xsl:when test="(//SupportedDeviceInterfaces = '9')"><xsl:value-of select="$strPCIe"/></xsl:when> <xsl:when test="(//SupportedDeviceInterfaces = '10')"><xsl:value-of select="$strSASandSATA"/></xsl:when> <xsl:when test="(//SupportedDeviceInterfaces = '11')"><xsl:value-of select="$strSASSATAandNVMe"/></xsl:when> <xsl:otherwise><xsl:value-of select="$strNotApplicable"/></xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> </xsl:if> <!-- Disk Cache Policy Changes at Controller Information Page for OM 8.3 dt: 09/21/2015--> <xsl:if test="//DiskWriteCache or $dynamicView = 'false' "> <Data name="DiskWriteCache" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strNonRaidDiskCachePolicy"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="(//DiskWriteCache and //DiskWriteCache !='')"> <xsl:choose> <xsl:when test="(//DiskWriteCache = '0')"><xsl:value-of select="$strUnchanged"/></xsl:when> <xsl:when test="(//DiskWriteCache = '1')"><xsl:value-of select="$strEnabled"/></xsl:when> <xsl:when test="(//DiskWriteCache = '2')"><xsl:value-of select="$strDisabled"/></xsl:when> <xsl:otherwise><xsl:value-of select="$strNotApplicable"/></xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise><xsl:value-of select="$strNotApplicable"/></xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> </xsl:if> <xsl:if test="//CtrlStashSlot or $dynamicView = 'false' "> <Data name="CtrlStashSlot" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strStash"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="(//CtrlStashSlot or //CtrlStashSlot !='')"><xsl:value-of select="CtrlStashSlot"/></xsl:when> <xsl:otherwise><xsl:value-of select="$strNotApplicable"/></xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> </xsl:if> <!-- added for the attribute controller instance --> <xsl:if test="//CtrlStashInst or $dynamicView = 'false' "> <Data name="CtrlStashInst" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strControllerInstance"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="(//CtrlStashInst and //CtrlStashInst !='')"><xsl:value-of select="CtrlStashInst"/></xsl:when> <xsl:otherwise><xsl:value-of select="$strNotApplicable"/></xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> </xsl:if> <!-- The Row is added for auoconfigure behavior of the controller --> <xsl:if test="//AutoconfigureBehavior or $dynamicView = 'false' "> <Data name="AutoconfigureBehavior" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strAutoconfigureBehavior"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="//AutoconfigureBehavior !=''"> <xsl:call-template name="GetAutoconfigureBehavior"> <xsl:with-param name="autoconfigvalue"> <xsl:value-of select="//AutoconfigureBehavior"/> </xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise><xsl:value-of select="$strNotApplicable"/></xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> </xsl:if> <!-- var used for hiding tasks menu option --> <xsl:variable name="isEmpty"> <xsl:call-template name="IsCurrentMethodMaskEmpty"> <xsl:with-param name="Mask"> <xsl:value-of select="CurrentMethodMask"/> </xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="IsDeleteSecurityKeyEnabled"> <xsl:call-template name="IsDeleteSecurityKeyPossible"> <xsl:with-param name="Mask" select="AttributesMask"/> </xsl:call-template> </xsl:variable> <xsl:if test="$tasks='true' and $GLOBAL_VAR_BUSPROTOCOL != '9'"> <xsl:choose> <!--check to see if methods even exist --> <xsl:when test="$isEmpty='0'"> <!-- currentmethod mask isn't empty --> <Data name="CtrlTasks" type="select" splcase="true"> <xsl:attribute name="display"><xsl:value-of select="$strCtrlTasks"/></xsl:attribute> <xsl:choose> <xsl:when test="(starts-with($GLOBAL_VAR_LOCALE, 'fr')) or (starts-with($GLOBAL_VAR_LOCALE, 'es')) or (starts-with($GLOBAL_VAR_LOCALE, 'de'))"> <xsl:attribute name="width">width:340px</xsl:attribute> </xsl:when> <xsl:otherwise> <!-- Fix for BITS040199: Changed width attribute from px to percent. --> <xsl:attribute name="width">width:50%</xsl:attribute> </xsl:otherwise> </xsl:choose> <Choice returnvalue="-" default="true"> <xsl:choose> <!-- The below condition for for 12GBPS SAS HBA controller as it will be not having any controller tasks but reports --> <xsl:when test="substring(AttributesMask1,31,1)='1'"> <xsl:attribute name="value"><xsl:value-of select="$strNoTask"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="value"><xsl:value-of select="$strSelectTask"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </Choice> <xsl:if test="string-length(MainMethodMask) = 32"> <xsl:call-template name="for-loop-list-box"> <xsl:with-param name="Mask" select="CurrentMethodMask"/> <xsl:with-param name="templateName" select="5"/> </xsl:call-template> </xsl:if> <xsl:if test="string-length(MainMethodMask) = 32"> <xsl:call-template name="for-loop-list-box"> <xsl:with-param name="Mask" select="CurrentMethodMask1"/> <xsl:with-param name="templateName" select="5"/> <xsl:with-param name="AdditionalCurrentMethodMask" select="1"/> </xsl:call-template> </xsl:if> <ExtraItem type="button"> <xsl:attribute name="href">javascript:onExecuteController(\"<xsl:value-of select="Name"/>\",\"<xsl:value-of select="$ObjID"/>\", \"<xsl:value-of select="$IsDeleteSecurityKeyEnabled"/>\");</xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strExecute"/></xsl:attribute> <xsl:attribute name="tablebutton">true</xsl:attribute> </ExtraItem> </Data> </xsl:when> <xsl:otherwise> <!-- current methodmask is empty --> <Data value="tasks" type="select"> <xsl:attribute name="display"><xsl:value-of select="$strCtrlTasks"/></xsl:attribute> <xsl:choose> <xsl:when test="(starts-with($GLOBAL_VAR_LOCALE, 'fr')) or (starts-with($GLOBAL_VAR_LOCALE, 'es')) or (starts-with($GLOBAL_VAR_LOCALE, 'de'))"> <xsl:attribute name="width">width:340px</xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="width">width:250px</xsl:attribute> </xsl:otherwise> </xsl:choose> <xsl:attribute name="name">Ctrltasks<xsl:value-of select="ObjID"/></xsl:attribute> <Choice returnvalue="" default="true"> <xsl:attribute name="value"><xsl:value-of select="$strNoTask"/></xsl:attribute> </Choice> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="((((substring(CurrentMethodMask,12,1)='1') and VendorID = '4') or (substring(CurrentMethodMask,15,1)='1')))"> <!--and BusProtocol != '9' //Removed to fix JIT-165956 --> <xsl:choose> <!--check to see if methods even exist --> <xsl:when test="$isEmpty='0'"> <!-- currentmethod mask isn't empty --> <Data name="RptTasks" type="select" splcase="true"> <xsl:attribute name="display"><xsl:value-of select="$strRptTasks"/></xsl:attribute> <xsl:choose> <xsl:when test="(starts-with($GLOBAL_VAR_LOCALE, 'fr')) or (starts-with($GLOBAL_VAR_LOCALE, 'es')) or (starts-with($GLOBAL_VAR_LOCALE, 'de'))"> <xsl:attribute name="width">width:340px</xsl:attribute> </xsl:when> <xsl:otherwise> <!-- Fix for BITS040199: Changed width attribute from px to percent.--> <xsl:attribute name="width">width:50%</xsl:attribute> </xsl:otherwise> </xsl:choose> <Choice returnvalue="-" default="true"> <xsl:attribute name="value"><xsl:value-of select="$strSelectReport"/></xsl:attribute> </Choice> <xsl:if test="((substring(CurrentMethodMask1,27,1)='1') and VendorID = '4')"> <Choice> <xsl:attribute name="value"><xsl:value-of select="$strViewPatrolReadReport"/></xsl:attribute> <xsl:attribute name="returnvalue">2</xsl:attribute> </Choice> </xsl:if> <xsl:if test="((substring(CurrentMethodMask1,26,1)='1') and VendorID = '4')"> <Choice> <xsl:attribute name="value"><xsl:value-of select="$strViewCheckConsistencyReport"/></xsl:attribute> <xsl:attribute name="returnvalue">4</xsl:attribute> </Choice> </xsl:if> <xsl:if test="substring(CurrentMethodMask,15,1)='1'"> <Choice> <xsl:attribute name="value"><xsl:value-of select="$strOccupancySlotReport"/></xsl:attribute> <xsl:attribute name="returnvalue">8</xsl:attribute> </Choice> </xsl:if> <Choice> <xsl:attribute name="value"><xsl:value-of select="$strHDDFirmwareVersion"/></xsl:attribute> <xsl:attribute name="returnvalue">16</xsl:attribute> </Choice> <ExtraItem type="button"> <xsl:attribute name="href">javascript:onExecuteReport(\"<xsl:value-of select="Name"/>\",\"<xsl:value-of select="$ObjID"/>\",\"<xsl:value-of select="SasAddress"/>\",\"<xsl:value-of select="ZoneOffsetStart"/>\",\"<xsl:value-of select="ZoneOffsetEnd"/>\");</xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strExecute"/></xsl:attribute> <xsl:attribute name="tablebutton">true</xsl:attribute> <!-- The above property should be set for the table button to get rid of whitespaces on the edges --> </ExtraItem> </Data> </xsl:when> <xsl:otherwise> <!-- current methodmask is empty --> <Data value="tasks" type="select"> <xsl:attribute name="display"><xsl:value-of select="$strRptTasks"/></xsl:attribute> <xsl:choose> <xsl:when test="(starts-with($GLOBAL_VAR_LOCALE, 'fr')) or (starts-with($GLOBAL_VAR_LOCALE, 'es')) or (starts-with($GLOBAL_VAR_LOCALE, 'de'))"> <xsl:attribute name="width">width:340px</xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="width">width:250px</xsl:attribute> </xsl:otherwise> </xsl:choose> <xsl:attribute name="name">RptTasks<xsl:value-of select="ObjID"/></xsl:attribute> <Choice returnvalue="" default="true"> <xsl:attribute name="value"><xsl:value-of select="$strNoReports"/></xsl:attribute> </Choice> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> </xsl:template> </xsl:stylesheet>