summaryrefslogtreecommitdiff
path: root/upload-org.php
diff options
context:
space:
mode:
Diffstat (limited to 'upload-org.php')
-rw-r--r--upload-org.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/upload-org.php b/upload-org.php
index 40f403f..e752232 100644
--- a/upload-org.php
+++ b/upload-org.php
@@ -1,5 +1,10 @@
<?php
-$dir = '/home/luke/j1-uploads/';
+require('config.php');
+global $dir;
+
+global $title;
+$title = 'Copy/Paste quotes from Org-Mode';
+include('header.php');
$set = isset($_POST['org_data']) && isset($_POST['filename']);
if ($set) {
@@ -11,8 +16,12 @@ if ($set) {
} else {
?>
<form method="post" action="upload-msword.php">
+ Filename:
<input type="text" name="filename" />
+ Text:
<textarea name="org_data"></textarea>
</form>
<?php
}
+
+include('footer.php');