文件操作 - chanscan.xsl
返回文件管理
返回主菜单
删除本文件
文件: /opt/dell/srvadmin/var/lib/openmanage/xslroot/sm/template/common/chanscan.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.ChannelInfoWebPlugin" export="false" exportdata="false" printable="false" email="false" validate="true"> <xsl:attribute name="submit">./SubmitForm?plugin=com.dell.sm.webplugins.ChanExecuteActionWebPlugin&ControllerOID=<xsl:value-of select="ControllerOID"/>&ChannelOID=<xsl:value-of select="ChannelOID"/>&help=chprin</xsl:attribute> <xsl:attribute name="submitdisplay"><xsl:value-of select="$strChanRescan"/></xsl:attribute> <xsl:attribute name="backpagedisplay"><xsl:value-of select="$strCancel"/></xsl:attribute> <xsl:attribute name="backpagetarget">./DataArea?plugin=com.dell.sm.webplugins.ChannelInfoWebPlugin&ControllerOID=<xsl:value-of select="ControllerOID"/>&ChannelOID=<xsl:value-of select="ChannelOID"/>&Action=getChanInfo&help=chprin</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:value-of select="$strRescanWarn4"/> <xsl:value-of select="ChannelName"/><xsl:value-of select="$strQuestionMark"/> </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>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件