diff options
Diffstat (limited to 'system/application/views')
-rw-r--r-- | system/application/views/file/client.php | 23 | ||||
-rw-r--r-- | system/application/views/file/delete_form.php | 9 | ||||
-rw-r--r-- | system/application/views/file/deleted.php | 3 | ||||
-rw-r--r-- | system/application/views/file/footer.php | 3 | ||||
-rw-r--r-- | system/application/views/file/header.php | 15 | ||||
-rw-r--r-- | system/application/views/file/html_footer.php | 5 | ||||
-rw-r--r-- | system/application/views/file/html_header.php | 21 | ||||
-rw-r--r-- | system/application/views/file/non_existent.php | 3 | ||||
-rw-r--r-- | system/application/views/file/show_url.php | 6 | ||||
-rw-r--r-- | system/application/views/file/too_big.php | 3 | ||||
-rw-r--r-- | system/application/views/file/upload_error.php | 6 | ||||
-rw-r--r-- | system/application/views/file/upload_form.php | 32 | ||||
-rw-r--r-- | system/application/views/index.html | 10 |
13 files changed, 0 insertions, 139 deletions
diff --git a/system/application/views/file/client.php b/system/application/views/file/client.php deleted file mode 100644 index 0ebc20791..000000000 --- a/system/application/views/file/client.php +++ /dev/null @@ -1,23 +0,0 @@ -<p><b>Shell:</b></p> -<pre> -<?php if(false): ?> ->curl -n -F "content=<-" <?php echo site_url(); ?> < file (not binary safe) -cat file | curl -n -F "content=<-" <?php echo site_url(); ?> (not binary safe) -<?php endif; ?> -curl -n -F "file=@/home/user/foo" <?php echo site_url(); ?> (binary safe) -cat file | curl -n -F "file=@-;filename=stdin" <?php echo site_url(); ?> (binary safe) -</pre> -<p><b>Client:</b><br /> -<p>Development (git): <a href="http://git.server-speed.net/users/flo/fb/">http://git.server-speed.net/users/flo/fb/</a><br /> -Latest release: <a href="<?php echo $client_link; ?>"><?php echo $client_link; ?></a>.<br /> -GPG sigs, older versions: <a href="<?php echo $client_link_dir; ?>"><?php echo $client_link_dir; ?></a> -</p> -<p>If you want to use authentication (needed for deleting) add the following to your ~/.netrc:</p> -<pre> -machine paste.xinu.at password my_secret_password -</pre> -<p><b>Packages:</b><br /> -Arch Linux: pacman -S fb-client<br /> -Debian: <a href="<?php echo $client_link_deb; ?>"><?php echo $client_link_deb; ?></a><br /> -Slackware: <a href="<?php echo $client_link_slackware; ?>"><?php echo $client_link_slackware; ?></a></p> - diff --git a/system/application/views/file/delete_form.php b/system/application/views/file/delete_form.php deleted file mode 100644 index 7d4f2329f..000000000 --- a/system/application/views/file/delete_form.php +++ /dev/null @@ -1,9 +0,0 @@ -<div style="text-align:center"> - <?php echo form_open('file/delete/'.$id); ?> - <p> - <?php if($msg) echo $msg."<br />"; ?> - Password:<input type="password" name="password" size="10" /> - <input type="submit" value="Delete" name="process" /> - </p> - </form> -</div> diff --git a/system/application/views/file/deleted.php b/system/application/views/file/deleted.php deleted file mode 100644 index 865b5304a..000000000 --- a/system/application/views/file/deleted.php +++ /dev/null @@ -1,3 +0,0 @@ -<div style="text-align:center"> - <p><?php echo $id; ?> has been deleted.</p> -</div> diff --git a/system/application/views/file/footer.php b/system/application/views/file/footer.php deleted file mode 100644 index eda863585..000000000 --- a/system/application/views/file/footer.php +++ /dev/null @@ -1,3 +0,0 @@ - </div> -</body> -</html> diff --git a/system/application/views/file/header.php b/system/application/views/file/header.php deleted file mode 100644 index f6073707a..000000000 --- a/system/application/views/file/header.php +++ /dev/null @@ -1,15 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - -<head> - <title><?php echo isset($title) ? $title : ''; ?></title> - <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>data/default.css" media="screen" /> - <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> -</head> - -<body> - <div class="top"> - <?php echo anchor('file/index', 'New'); ?> - </div> - - <div class="content"> diff --git a/system/application/views/file/html_footer.php b/system/application/views/file/html_footer.php deleted file mode 100644 index ddc460a39..000000000 --- a/system/application/views/file/html_footer.php +++ /dev/null @@ -1,5 +0,0 @@ - </td> - </tr> - </table> - </body> -</html> diff --git a/system/application/views/file/html_header.php b/system/application/views/file/html_header.php deleted file mode 100644 index 52ffab007..000000000 --- a/system/application/views/file/html_header.php +++ /dev/null @@ -1,21 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title><?php echo $title; ?></title> - <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>data/paste.css" /> - <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>data/paste-<?php echo $current_highlight; ?>.css" /> - </head> - <body> - <div class="top_bar"> - <a class="raw_link no" href="<?php echo $new_link; ?>">New</a> | - <a class="raw_link no" href="<?php echo $raw_link; ?>">Raw</a> | - <a class="raw_link no" href="<?php echo $plain_link; ?>">Plain</a> | - Currently: <?php echo $current_highlight; ?> | - Timeout: <a class="raw_link no" href="<?php echo $delete_link; ?>" title="delete"><?php echo $timeout; ?></a> - <div style="float:right;"> - <a class="raw_link no" href="<?php echo $auto_link; ?>">Code</a> | - <a class="raw_link no" href="<?php echo $rmd_link; ?>">Render Markdown</a> - </div> - </div> - <table class="content"> - <tr> diff --git a/system/application/views/file/non_existent.php b/system/application/views/file/non_existent.php deleted file mode 100644 index 9f4a79913..000000000 --- a/system/application/views/file/non_existent.php +++ /dev/null @@ -1,3 +0,0 @@ -<div style="text-align:center"> - <p>I'm sorry, but the requested file doesn't exist.</p> -</div> diff --git a/system/application/views/file/show_url.php b/system/application/views/file/show_url.php deleted file mode 100644 index e0e3dc8a6..000000000 --- a/system/application/views/file/show_url.php +++ /dev/null @@ -1,6 +0,0 @@ -<div style="text-align:center"> - <p> - You can get your file here:<br /> - <a href="<?php echo $url; ?>"><?php echo $url; ?></a><br /> - </p> -</div> diff --git a/system/application/views/file/too_big.php b/system/application/views/file/too_big.php deleted file mode 100644 index aa5c42835..000000000 --- a/system/application/views/file/too_big.php +++ /dev/null @@ -1,3 +0,0 @@ -<div style="text-align:center"> - <p>Sorry, the file you uploaded is too big.</p> -</div> diff --git a/system/application/views/file/upload_error.php b/system/application/views/file/upload_error.php deleted file mode 100644 index e757b58c1..000000000 --- a/system/application/views/file/upload_error.php +++ /dev/null @@ -1,6 +0,0 @@ -<div style="text-align:center"> - <p> - An error occured while uploading.<br /> - Most likely your file is too big. - </p> -</div> diff --git a/system/application/views/file/upload_form.php b/system/application/views/file/upload_form.php deleted file mode 100644 index 4b23783dd..000000000 --- a/system/application/views/file/upload_form.php +++ /dev/null @@ -1,32 +0,0 @@ -<div style="margin-top: 100px; text-align:center"> - <?php echo form_open_multipart('file/do_upload'); ?> - <p> - File: <input type="file" name="file" size="30" /> - <input type="submit" value="Upload" name="process" /><br /> - Optional password (for deletion): <input type="password" name="password" size="10" /> - </p> - </form> - <p>Pasting text directly has been disabled due to extensive bot problems. Please use the file upload instead.</p> -<?php if (false): ?> - <p><b>OR</b></p> - <?php echo form_open_multipart('file/do_paste'); ?> - <p> - <textarea name="content" cols="80" rows="20"></textarea><br /> - <div style="display: none">Email: <input type="text" name="email" size="20" /></div> - Optional password (for deletion): <input type="password" name="password" size="10" /><br /> - <input type="submit" value="Paste" name="process" /> - </p> -<?php endif; ?> - </form> -</div> -<br /> -<p>Uploads/pastes are deleted after 5 days<?php if($small_upload_size > 0): ?> - unless they are smaller than <?php echo format_bytes($small_upload_size); ?> - <?php endif; ?>. Maximum upload size is <?php echo format_bytes($max_upload_size); ?></p> -<p>For shell uploading/pasting and download information for the client go to <a href="<?php echo site_url("file/client"); ?>"><?php echo site_url("file/client"); ?></a></p> -<br /> -<p>If you experience any problems feel free to <a href="http://bluewind.at/?id=1">contact me</a>.</p> -<br /> -<div class="small"> - <p>This service is provided without warranty of any kind and may not be used to distribute copyrighted content.</p> -</div> diff --git a/system/application/views/index.html b/system/application/views/index.html deleted file mode 100644 index c942a79ce..000000000 --- a/system/application/views/index.html +++ /dev/null @@ -1,10 +0,0 @@ -<html> -<head> - <title>403 Forbidden</title> -</head> -<body> - -<p>Directory access is forbidden.</p> - -</body> -</html>
\ No newline at end of file |