summaryrefslogtreecommitdiffstats
path: root/application/views/file
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-12-18 00:06:54 +0100
committerFlorian Pritz <bluewind@xinu.at>2011-12-18 00:06:54 +0100
commita87d7815d1664de0a866c0d295dd02973c09e3e9 (patch)
tree17b562bfe08b950b18d575de6b1bee951b8c2d89 /application/views/file
parenta7ce63cc52ec1a9060cdcac57672753fc5bf5511 (diff)
add delete icon on upload_history
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/file')
-rw-r--r--application/views/file/upload_form.php1
-rw-r--r--application/views/file/upload_history.php2
2 files changed, 3 insertions, 0 deletions
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php
index 5eea494e1..d8f2748c1 100644
--- a/application/views/file/upload_form.php
+++ b/application/views/file/upload_form.php
@@ -47,5 +47,6 @@ document.write('\
<?php if($contact_me_url) {?><p>If you experience any problems feel free to <a href="<?php echo $contact_me_url; ?>">contact me</a>.</p>
<br /><?php }; ?>
<div class="small">
+ <p>Icons by <a href="http://p.yusukekamiyamane.com/">Yusuke Kamiyamane</a></p>
<p>This service is provided without warranty of any kind and may not be used to distribute copyrighted content.</p>
</div>
diff --git a/application/views/file/upload_history.php b/application/views/file/upload_history.php
index 5d61c7331..910af1535 100644
--- a/application/views/file/upload_history.php
+++ b/application/views/file/upload_history.php
@@ -7,6 +7,7 @@
<table class="results">
<tr>
+ <th></th>
<th>ID</th>
<th>Filename</th>
<th>Mimetype
@@ -16,6 +17,7 @@
<?php foreach($query as $key => $item): ?>
<tr class="<?php echo even_odd(); ?>">
+ <td><a href="<?php echo site_url("file/delete/".$item["id"]); ?>"><img src="<?php echo base_url(); ?>data/img/fuge-icons/cross.png" /></a></td>
<td><a href="<?php echo site_url("/".$item["id"]); ?>/"><?php echo $item["id"]; ?></a></td>
<td><?php echo $item["filename"]; ?></td>
<td><?php echo $item["mimetype"]; ?></td>