summaryrefslogtreecommitdiff
path: root/xml-import.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-12-02 09:19:14 +0100
committerAndrew Dolgov <[email protected]>2005-12-02 09:19:14 +0100
commit648cbec8863a71535484552b204b365f4baf0c55 (patch)
treebf20f2a7e957f0b8f145a3b117cd2d5e4c2eb835 /xml-import.php
parentdb22a6e9b87e3dfd6eb82c7df8849dc4595641cf (diff)
make xml import/export tools look cuter
Diffstat (limited to 'xml-import.php')
-rw-r--r--xml-import.php13
1 files changed, 11 insertions, 2 deletions
diff --git a/xml-import.php b/xml-import.php
index 04f3ee39e..4b1cd1bc1 100644
--- a/xml-import.php
+++ b/xml-import.php
@@ -130,11 +130,19 @@
?>
<html>
+<head>
+ <title>XML Import</title>
+ <link rel="stylesheet" href="opml.css" type="text/css">
+</head>
<body>
+ <h1><img src="images/ttrss_logo.png"></h1>
+
<? if ($_REQUEST["op"] != "Import") { ?>
- <h1>Import XMLDB (your login is <?= $_SESSION["name"] ?>)</h1>
+ <div class="opmlBody">
+
+ <h2>Import XMLDB</h2>
<form enctype="multipart/form-data" method="POST" action="xml-import.php">
File: <input name="xmldb" type="file">&nbsp;
@@ -143,7 +151,7 @@
<? } else {
- print "<h1>Importing data (your login is ".$_SESSION["name"].")</h1>";
+ print "<h2>Importing data</h2>";
if (is_file($_FILES['xmldb']['tmp_name'])) {
$dom = domxml_open_file($_FILES['xmldb']['tmp_name']);
@@ -180,6 +188,7 @@
}
} ?>
+</div>
</body>
</html>