Attached Files | 0001-ENH-Drop-remnants-of-backup-page-that-was-removed-in.patch [^] (4,369 bytes) 2013-10-30 06:57 [Show Content] [Hide Content]From 8a12c75b07e0021ee2495d805d4ffffbd7b35d1b Mon Sep 17 00:00:00 2001
From: Igor Murzov <e-mail@date.by>
Date: Tue, 29 Oct 2013 18:37:58 +0400
Subject: [PATCH] ENH: Drop remnants of backup page that was removed in r2599
---
backup.xsl | 78 ------------------------------------------------------
manageBackup.xsl | 4 +--
2 files changed, 2 insertions(+), 80 deletions(-)
delete mode 100644 backup.xsl
diff --git a/backup.xsl b/backup.xsl
deleted file mode 100644
index d973380..0000000
--- a/backup.xsl
+++ /dev/null
@@ -1,78 +0,0 @@
-<xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
-
- <xsl:include href="footer.xsl"/>
- <xsl:include href="headerback.xsl"/>
-
- <xsl:output method="html" encoding="UTF-8"/>
- <xsl:template match="/">
- <html>
- <head>
- <title><xsl:value-of select="cdash/title"/></title>
- <meta name="robots" content="noindex,nofollow" />
- <link rel="StyleSheet" type="text/css">
- <xsl:attribute name="href"><xsl:value-of select="cdash/cssfile"/></xsl:attribute>
- </link>
- </head>
- <body bgcolor="#ffffff">
- <xsl:call-template name="headerback"/>
-<xsl:if test="string-length(cdash/alert)>0">
-<b><xsl:value-of select="cdash/alert"/></b>
-</xsl:if>
-<br/>
-
-Export the database from the date range into the 'database' directory in your current backup directory.
-<br/><br/>
-
-<form name="form1" enctype="multipart/form-data" method="post" action="">
-From:
-<input>
-<xsl:attribute name="name">monthFrom</xsl:attribute>
-<xsl:attribute name="type">text</xsl:attribute>
-<xsl:attribute name="size">2</xsl:attribute>
-<xsl:attribute name="value"><xsl:value-of select="/cdash/monthFrom"/></xsl:attribute>
-</input>
-<input>
-<xsl:attribute name="name">dayFrom</xsl:attribute>
-<xsl:attribute name="type">text</xsl:attribute>
-<xsl:attribute name="size">2</xsl:attribute>
-<xsl:attribute name="value"><xsl:value-of select="/cdash/dayFrom"/></xsl:attribute>
-</input>
-<input>
-<xsl:attribute name="name">yearFrom</xsl:attribute>
-<xsl:attribute name="type">text</xsl:attribute>
-<xsl:attribute name="size">4</xsl:attribute>
-<xsl:attribute name="value"><xsl:value-of select="/cdash/yearFrom"/></xsl:attribute>
-</input>
-To:
-<input>
-<xsl:attribute name="name">monthTo</xsl:attribute>
-<xsl:attribute name="type">text</xsl:attribute>
-<xsl:attribute name="size">2</xsl:attribute>
-<xsl:attribute name="value"><xsl:value-of select="/cdash/monthTo"/></xsl:attribute>
-</input>
-<input>
-<xsl:attribute name="name">dayTo</xsl:attribute>
-<xsl:attribute name="type">text</xsl:attribute>
-<xsl:attribute name="size">2</xsl:attribute>
-<xsl:attribute name="value"><xsl:value-of select="/cdash/dayTo"/></xsl:attribute>
-</input>
-<input>
-<xsl:attribute name="name">yearTo</xsl:attribute>
-<xsl:attribute name="type">text</xsl:attribute>
-<xsl:attribute name="size">4</xsl:attribute>
-<xsl:attribute name="value"><xsl:value-of select="/cdash/yearTo"/></xsl:attribute>
-</input>
-<br/>
-<br/>
-<input type="submit" name="Submit" value="Export Database >>"/>
-</form>
-
-<br/>
-<!-- FOOTER -->
-<br/>
-<xsl:call-template name="footer"/>
- </body>
- </html>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/manageBackup.xsl b/manageBackup.xsl
index f55e237..8b9541d 100644
--- a/manageBackup.xsl
+++ b/manageBackup.xsl
@@ -5,7 +5,8 @@
<xsl:include href="local/footer.xsl"/>
<xsl:include href="headerback.xsl"/>
- <xsl:output method="html" encoding="UTF-8"/>
+ <xsl:output method="xml" indent="yes" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
+ doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" />
<xsl:template match="/">
<html>
<head>
@@ -24,7 +25,6 @@
<table border="0" cellpadding="4" cellspacing="0" width="100%" class="tabb">
<tbody>
<tr class="table-heading1"><td id="nob"><h3>Import</h3></td></tr>
- <tr class="trodd"><td id="nob"><a href="backup.php">[Backup database]</a></td></tr>
<tr class="treven"><td id="nob"><a href="import.php">[Import Dart1 Files]</a></td></tr>
<tr class="trodd"><td id="nob"><a href="importBackup.php">[Import from current backup directory]</a></td></tr>
<tr class="treven"><td id="nob"><a href="removeBuilds.php">[Remove builds]</a></td></tr>
--
1.7.9.5
|