diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -1943,13 +1943,11 @@ function buildLinkList($PAGE,$LINKSDB) | |||
1943 | $title = $link['title']; | 1943 | $title = $link['title']; |
1944 | $taglist = explode(' ',$link['tags']); | 1944 | $taglist = explode(' ',$link['tags']); |
1945 | uasort($taglist, 'strcasecmp'); | 1945 | uasort($taglist, 'strcasecmp'); |
1946 | |||
1947 | $classLi = $i%2!=0 ? '' : 'publicLinkHightLight'; // This could really be done with just a css pseudoclass. | 1946 | $classLi = $i%2!=0 ? '' : 'publicLinkHightLight'; // This could really be done with just a css pseudoclass. |
1948 | 1947 | $link['description']=nl2br(keepMultipleSpaces(text2clickable(htmlspecialchars($link['description'])))); | |
1949 | $link['description'] = nl2br(keepMultipleSpaces(text2clickable(htmlspecialchars($link['description'])))); | 1948 | $link['class'] = ($link['private']==0 ? $classLi : 'private'); |
1950 | $link['class'] = ($link['private']==0 ? $classLi : 'private'); | 1949 | $link['timestamp']=linkdate2timestamp($link['linkdate']); |
1951 | $link['localdate'] = linkdate2locale($link['linkdate']); | 1950 | $link['taglist']=$taglist; |
1952 | $link['taglist'] = $taglist; | ||
1953 | 1951 | ||
1954 | // Convert notes to absolute URLs | 1952 | // Convert notes to absolute URLs |
1955 | if ($link["url"][0] === '?' && // Check for both signs of a note: starting with ? and 7 chars long. I doubt that you'll post any links that look like this. | 1953 | if ($link["url"][0] === '?' && // Check for both signs of a note: starting with ? and 7 chars long. I doubt that you'll post any links that look like this. |
@@ -1958,7 +1956,6 @@ function buildLinkList($PAGE,$LINKSDB) | |||
1958 | } | 1956 | } |
1959 | 1957 | ||
1960 | $linkDisp[$keys[$i]] = $link; | 1958 | $linkDisp[$keys[$i]] = $link; |
1961 | |||
1962 | $i++; | 1959 | $i++; |
1963 | } | 1960 | } |
1964 | 1961 | ||