Commit: cc96a2bd31e5dcba275dbaad7697c460ee3915e2

Author: alkemann | Date: 2009-11-19 00:34:39 +0100
adding preview field as headline and fixing author field for Paste view
diff --git a/views/pastes/view.html.php b/views/pastes/view.html.php index b68bd9d..bafde2d 100644 --- a/views/pastes/view.html.php +++ b/views/pastes/view.html.php @@ -1,5 +1,6 @@ <div class="view"> -<?php if (empty($paste->author)) { ?> + <h2><?=$paste->preview;?></h2> +<?php if (!$paste->author || $paste->author == '') { ?> <h3>This <strong><?=$paste->language;?></strong> paste was created <strong>anonymously</strong> at <strong><?=$paste->created;?></strong></h3>