文件操作 - rescan.xsl
返回文件管理
返回主菜单
删除本文件
文件: /opt/dell/srvadmin/var/lib/openmanage/xslroot/sm/template/common/rescan.xsl
编辑文件内容
<!-- This is the XSL to confirm rescan operation on the system --> <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:template match="OMA"> <DataArea backpagetarget="./DataArea?plugin=com.dell.sm.webplugins.StorageInfoWebPlugin" export="false" exportdata="false" printable="false" email="false" validate="true"> <xsl:attribute name="submit">./SubmitForm?plugin=com.dell.sm.webplugins.StorageExecWebPlugin&Action=globalrescan&help=stprin</xsl:attribute> <xsl:attribute name="submitdisplay"><xsl:value-of select="$strGlobRescan"/></xsl:attribute> <xsl:attribute name="backpagedisplay"><xsl:value-of select="$strCancel"/></xsl:attribute> <xsl:attribute name="backpagetarget">./DataArea?plugin=com.dell.sm.webplugins.StorageInfoWebPlugin&help=stprin</xsl:attribute> <AlertMessage alert="true" status="3"> <xsl:attribute name="display"><xsl:value-of select="$strRescanWarn"/><xsl:value-of select="$strRescanWarn1"/><xsl:value-of select="$strRescanWarn2"/><xsl:value-of select="$strRescanWarn3"/></xsl:attribute> </AlertMessage> <script language="javascript"> function validate() { msg = "<xsl:value-of select="$strRUSure"/>"; Confirm = confirm(msg); if (Confirm == true ) { disableButtons("submit","back" ,""); } return Confirm; } </script> </DataArea> </xsl:template> </xsl:stylesheet>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件