mirror of
https://github.com/pikami/palm-paste.git
synced 2025-12-19 00:39:48 +00:00
Pastes now get an unique text id and can only be accessed by it
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
while($row = $stmt->fetch(PDO::FETCH_ASSOC)) {
|
||||
$title = $row['title'];
|
||||
if(strlen($title)>25)$title = substr($title,0,25)."...";
|
||||
echo "<a href=\"".$row['id']."\" class=\"list-group-item\">".$title."</a>";
|
||||
echo "<a href=\"".$row['uid']."\" class=\"list-group-item\">".$title."</a>";
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user