文件操作 - ctrrescn.xsl
返回文件管理
返回主菜单
删除本文件
文件: /opt/dell/srvadmin/var/lib/openmanage/xslroot/sm/template/common/ctrrescn.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:include href="vdtbl.xsl"/> <xsl:include href="Utils.xsl"/> <xsl:template match="OMA"> <DataArea backpagetarget="./DataArea?plugin=com.dell.sm.webplugins.ControllerWebPlugin" printable="false" email="false" validate="false" Refresh="false" export="false" exportdata="false"> <PageTitle> <xsl:attribute name="display"><xsl:value-of select="$strTitlePart1"/><xsl:value-of select="/*/VirtualDisks/@ControllerName"/><xsl:value-of select="$strTitlePart2"/></xsl:attribute> </PageTitle> <AlertMessage> <xsl:attribute name="display"><xsl:value-of select="$strSubHeader"/></xsl:attribute> </AlertMessage> <xsl:call-template name="Rescan"/> </DataArea> </xsl:template> <xsl:template name="Rescan"> <BottomCustomButton> <Data> <xsl:attribute name="href">./DataArea?plugin=com.dell.sm.webplugins.ControllerExecWebPlugin&ControllerOID=<xsl:value-of select="ID"/>&ControllerName=<xsl:value-of select="Name"/>&Action=rescan&help=cnprin</xsl:attribute> <xsl:attribute name="display"><!--XLATESTART-->Execute Command<!--XLATESTOP--></xsl:attribute> </Data> </BottomCustomButton> <BottomCustomButton> <Data> <xsl:attribute name="href">./DataArea?plugin=com.dell.sm.webplugins.ControllerExecWebPlugin&ControllerOID=<xsl:value-of select="ID"/>&ControllerName=<xsl:value-of select="Name"/>&Action=blank&help=cnprin</xsl:attribute> <xsl:attribute name="display"><!--XLATESTART-->Cancel<!--XLATESTOP--></xsl:attribute> </Data> </BottomCustomButton> </xsl:template> </xsl:stylesheet>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件