summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/noticelist.php4
-rw-r--r--lib/util.php5
2 files changed, 2 insertions, 7 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php
index 55dd902b4..004905056 100644
--- a/lib/noticelist.php
+++ b/lib/noticelist.php
@@ -187,7 +187,7 @@ class NoticeListItem extends Widget
function showNotice()
{
-if (0)
+if(0)
$this->out->elementStart('entry-title');
else
@@ -236,7 +236,7 @@ else
$clip .= '.png';
$top = '20px';
}
-if (0)
+if(0)
$this->out->elementStart('div', 'entry-attachments');
else
$this->out->elementStart('p', array('class' => 'entry-attachments', 'style' => "float: right; width: $width_att; background: url($clip) no-repeat; text-align: right; height: $height;"));
diff --git a/lib/util.php b/lib/util.php
index 25c0fb0a1..fbef8764a 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -496,11 +496,6 @@ function common_linkify($url) {
}
$attrs = array('href' => $longurl, 'rel' => 'external');
-if(0){
- if ($longurl !== $url) {
- $attrs['title'] = $longurl;
- }
-}
return XMLStringer::estring('a', $attrs, $display);
}