����JFIF��x�x����'403WebShell
403Webshell
Server IP : 78.140.185.180  /  Your IP : 3.15.26.71
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/dell/srvadmin/var/lib/openmanage/xslroot/sm/template/common/fantbl.xsl
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<!-- EMM TABLE HEADER -->
	<xsl:template name="FanTableHeader">
		<xsl:param name="tasks">false</xsl:param>
		<xsl:variable name="dynamicView">
			<xsl:choose>
				<xsl:when test="/OMA/@cli = 'true' ">false</xsl:when>
				<xsl:otherwise>true</xsl:otherwise>
			</xsl:choose>
		</xsl:variable>
		<!-- ignore on web is set to true since it's only needed for scripts using the cli -->
		<Data name="ID" editable="false" type="ustring" ignoreonweb="true">
			<xsl:attribute name="display"><xsl:value-of select="$strID"/></xsl:attribute>
			<xsl:attribute name="value"><xsl:value-of select="$strID"/></xsl:attribute>
		</Data>
		<Data name="Status" editable="false" type="ustring" align="center">
			<xsl:attribute name="display"><xsl:value-of select="$strStatus"/></xsl:attribute>
			<xsl:attribute name="value"><xsl:value-of select="$strStatus"/></xsl:attribute>
		</Data>
		<Data name="Name" editable="false" type="ustring" align="left">
			<xsl:attribute name="display"><xsl:value-of select="$strName"/></xsl:attribute>
			<xsl:attribute name="value"><xsl:value-of select="$strName"/></xsl:attribute>
		</Data>
		<Data align="left"> 
			<xsl:attribute name="display"><xsl:value-of select="$strState"/></xsl:attribute>
			<xsl:attribute name="value"><xsl:value-of select="$strState"/></xsl:attribute>
		</Data>
		<!--Data> MJR Removed for DFCT 100497
            <xsl:attribute name="display"><xsl:value-of select="$strEnclID"/></xsl:attribute>
            <xsl:attribute name="value"><xsl:value-of select="$strEnclID"/></xsl:attribute>
        </Data-->
		<xsl:if test="//Fans/DCStorageObject/PartNo or $dynamicView = 'false'">
			<Data align="center">
				<xsl:attribute name="display"><xsl:value-of select="$strPartNo"/></xsl:attribute>
				<xsl:attribute name="value"><xsl:value-of select="$strPartNo"/></xsl:attribute>
			</Data>
		</xsl:if>
		<xsl:if test="//Fans/DCStorageObject/FanSpeed or $dynamicView = 'false'">
			<Data align="center">
				<xsl:attribute name="display"><xsl:value-of select="$strSpeed"/></xsl:attribute>
				<xsl:attribute name="value"><xsl:value-of select="$strSpeed"/></xsl:attribute>
			</Data>
		</xsl:if>
	</xsl:template>
	<!-- EMM TABLE ROWS -->
	<xsl:template name="FanTableRows">
		<xsl:param name="tasks">false</xsl:param>
		<xsl:variable name="dynamicView">
			<xsl:choose>
				<xsl:when test="/OMA/@cli = 'true' ">false</xsl:when>
				<xsl:otherwise>true</xsl:otherwise>
			</xsl:choose>
		</xsl:variable>
		<Row>
			<Data ignoreonweb="true">
				<xsl:attribute name="value"><xsl:value-of select="Index"/></xsl:attribute>
			</Data>
			<Data name="ObjStatus" type="status" align="center">
				<xsl:attribute name="value"><xsl:value-of select="ObjStatus"/></xsl:attribute>
			</Data>
			<Data name="FanName" editable="false" type="ustring" display="FanName" align="left">
				<xsl:attribute name="value"><xsl:value-of select="$strFan"/><xsl:value-of select="Index"/></xsl:attribute>
			</Data>
			<Data align="left"> 
				<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>
			<!--Data> MJR Removed for DFCT 100497
                <xsl:attribute name="value"><xsl:value-of select="EnclosureID"/></xsl:attribute>
            </Data-->
			<xsl:if test="//Fans/DCStorageObject/PartNo or $dynamicView = 'false'">
				<xsl:choose>
					<xsl:when test="PartNo">
						<Data align="center">
							<xsl:attribute name="value"><xsl:value-of select="PartNo"/></xsl:attribute>
						</Data>
					</xsl:when>
					<xsl:otherwise>
						<Data align="center">
							<xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute>
						</Data>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:if>
			<xsl:if test="//Fans/DCStorageObject/FanSpeed or $dynamicView = 'false'">
				<Data align="center">
					<xsl:choose>
						<xsl:when test="//Fans/DCStorageObject/IsEnclosureMD14XX and //Fans/DCStorageObject/IsEnclosureMD14XX='1'">
							<xsl:attribute name="value"><xsl:value-of select="FanSpeed"/><xsl:text> </xsl:text><xsl:value-of select="$strRPM"/></xsl:attribute>
						</xsl:when>
						<xsl:otherwise>
							<xsl:attribute name="value"><xsl:call-template name="GetFanSpeed"><xsl:with-param name="speed"><xsl:value-of select="FanSpeed"/></xsl:with-param></xsl:call-template></xsl:attribute>
						</xsl:otherwise>
					</xsl:choose>
				</Data>
			</xsl:if>
		</Row>
		<script language="javascript">
			function onExecute(oid) {
				var encltasks = "encltasks" + oid;
				var action = document.getElementById(encltasks).value;		
				if (action == "-") { 
					alert("Error! Please select a valid task");
				}
				else {
					alert("Error! AD Function '"+action+"' not yet implemented");
				}
			}
		</script>
	</xsl:template>
</xsl:stylesheet>

Youez - 2016 - github.com/yon3zu
LinuXploit