]> git.quilime.com - clmpr.git/commitdiff
added edit button for future use
authorGabriel Dunne <gdunne@quilime.com>
Sun, 20 Nov 2011 13:27:56 +0000 (05:27 -0800)
committerGabriel Dunne <gdunne@quilime.com>
Sun, 20 Nov 2011 13:27:56 +0000 (05:27 -0800)
get.php
index.php

diff --git a/get.php b/get.php
index 66fb30f2239e6e11991ff2a1a248424de1b2e7f1..2355c0d413a1b1da81f63cdf722bd30287c7b011 100644 (file)
--- a/get.php
+++ b/get.php
     <a href="<?php echo $row['location'] ?>"><?php echo $row['title'] ? $row['title'] : "&lt;title&gt;" ?></a>
     <span class="tags"><?php echo $row['tags'] ?></span>
     <?php if ($user = get_user()): ?>
-    <?php if ($user['user'] == $row['user']): ?>
-    <a href="#" onClick="return deleteClump(<?php echo $row['clump_id']; ?>, this.parentNode);" class="delete">x</a>
-    <?php endif; ?>
+        <?php if ($user['user'] == $row['user']): ?>
+            <!-- &nbsp; 
+            <a href="" class="edit">&#x270F;</a> -->
+            <a href="#" onClick="return deleteClump(<?php echo $row['clump_id']; ?>, this.parentNode);" class="delete">&times;</a>
+        <?php endif; ?>
     <?php endif; ?>
     </li>
 <?php endfor; ?>
index aa3977a0449801635c4e0f578a67b80f63b8663e..2c999a45dce793ba8f230c5ad20f9e3254329481 100644 (file)
--- a/index.php
+++ b/index.php
@@ -62,7 +62,8 @@ bookmarklet:
 <?php
 $js = file_get_contents('bookmarklet.js');
 ?>
- <a href="javascript:<?=$js?>">+</a>
+<a href="javascript:<?=$js?>">+</a>
+</p>
 
 <hr />