From ce2b69675075444c9e40b72bcdd42ab7edbbe633 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 28 Jan 2011 22:51:06 +0100 Subject: update to CI 2.0 Signed-off-by: Florian Pritz --- application/views/file/client.php | 23 +++++++++++++++++++++++ application/views/file/delete_form.php | 9 +++++++++ application/views/file/deleted.php | 3 +++ application/views/file/footer.php | 3 +++ application/views/file/header.php | 15 +++++++++++++++ application/views/file/html_footer.php | 5 +++++ application/views/file/html_header.php | 21 +++++++++++++++++++++ application/views/file/non_existent.php | 3 +++ application/views/file/show_url.php | 6 ++++++ application/views/file/too_big.php | 3 +++ application/views/file/upload_error.php | 6 ++++++ application/views/file/upload_form.php | 32 ++++++++++++++++++++++++++++++++ 12 files changed, 129 insertions(+) create mode 100644 application/views/file/client.php create mode 100644 application/views/file/delete_form.php create mode 100644 application/views/file/deleted.php create mode 100644 application/views/file/footer.php create mode 100644 application/views/file/header.php create mode 100644 application/views/file/html_footer.php create mode 100644 application/views/file/html_header.php create mode 100644 application/views/file/non_existent.php create mode 100644 application/views/file/show_url.php create mode 100644 application/views/file/too_big.php create mode 100644 application/views/file/upload_error.php create mode 100644 application/views/file/upload_form.php (limited to 'application/views/file') diff --git a/application/views/file/client.php b/application/views/file/client.php new file mode 100644 index 000000000..0ebc20791 --- /dev/null +++ b/application/views/file/client.php @@ -0,0 +1,23 @@ +

Shell:

+
+
+>curl -n -F "content=<-"  < file      (not binary safe)
+cat file | curl -n -F "content=<-"   (not binary safe)
+
+curl -n -F "file=@/home/user/foo"    (binary safe)
+cat file | curl -n -F "file=@-;filename=stdin"    (binary safe)
+
+

Client:
+

Development (git): http://git.server-speed.net/users/flo/fb/
+Latest release: .
+GPG sigs, older versions: +

+

If you want to use authentication (needed for deleting) add the following to your ~/.netrc:

+
+machine paste.xinu.at password my_secret_password
+
+

Packages:
+Arch Linux: pacman -S fb-client
+Debian:
+Slackware:

+ diff --git a/application/views/file/delete_form.php b/application/views/file/delete_form.php new file mode 100644 index 000000000..7d4f2329f --- /dev/null +++ b/application/views/file/delete_form.php @@ -0,0 +1,9 @@ +
+ +

+ "; ?> + Password: + +

+ +
diff --git a/application/views/file/deleted.php b/application/views/file/deleted.php new file mode 100644 index 000000000..865b5304a --- /dev/null +++ b/application/views/file/deleted.php @@ -0,0 +1,3 @@ +
+

has been deleted.

+
diff --git a/application/views/file/footer.php b/application/views/file/footer.php new file mode 100644 index 000000000..eda863585 --- /dev/null +++ b/application/views/file/footer.php @@ -0,0 +1,3 @@ + + + diff --git a/application/views/file/header.php b/application/views/file/header.php new file mode 100644 index 000000000..f6073707a --- /dev/null +++ b/application/views/file/header.php @@ -0,0 +1,15 @@ + + + + + <?php echo isset($title) ? $title : ''; ?> + + + + + +
+ +
+ +
diff --git a/application/views/file/html_footer.php b/application/views/file/html_footer.php new file mode 100644 index 000000000..ddc460a39 --- /dev/null +++ b/application/views/file/html_footer.php @@ -0,0 +1,5 @@ + + + + + diff --git a/application/views/file/html_header.php b/application/views/file/html_header.php new file mode 100644 index 000000000..52ffab007 --- /dev/null +++ b/application/views/file/html_header.php @@ -0,0 +1,21 @@ + + + + <?php echo $title; ?> + + + + +
+ New | + Raw | + Plain | + Currently: | + Timeout: +
+ Code | + Render Markdown +
+
+ + diff --git a/application/views/file/non_existent.php b/application/views/file/non_existent.php new file mode 100644 index 000000000..9f4a79913 --- /dev/null +++ b/application/views/file/non_existent.php @@ -0,0 +1,3 @@ +
+

I'm sorry, but the requested file doesn't exist.

+
diff --git a/application/views/file/show_url.php b/application/views/file/show_url.php new file mode 100644 index 000000000..e0e3dc8a6 --- /dev/null +++ b/application/views/file/show_url.php @@ -0,0 +1,6 @@ +
+

+ You can get your file here:
+
+

+
diff --git a/application/views/file/too_big.php b/application/views/file/too_big.php new file mode 100644 index 000000000..aa5c42835 --- /dev/null +++ b/application/views/file/too_big.php @@ -0,0 +1,3 @@ +
+

Sorry, the file you uploaded is too big.

+
diff --git a/application/views/file/upload_error.php b/application/views/file/upload_error.php new file mode 100644 index 000000000..e757b58c1 --- /dev/null +++ b/application/views/file/upload_error.php @@ -0,0 +1,6 @@ +
+

+ An error occured while uploading.
+ Most likely your file is too big. +

+
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php new file mode 100644 index 000000000..4b23783dd --- /dev/null +++ b/application/views/file/upload_form.php @@ -0,0 +1,32 @@ +
+ +

+ File: +
+ Optional password (for deletion): +

+ +

Pasting text directly has been disabled due to extensive bot problems. Please use the file upload instead.

+ +

OR

+ +

+
+

Email:
+ Optional password (for deletion):
+ +

+ + +
+
+

Uploads/pastes are deleted after 5 days 0): ?> + unless they are smaller than + . Maximum upload size is

+

For shell uploading/pasting and download information for the client go to ">

+
+

If you experience any problems feel free to contact me.

+
+
+

This service is provided without warranty of any kind and may not be used to distribute copyrighted content.

+
-- cgit v1.2.3-24-g4f1b