Browse Source

Revert "Forgot the search page (post class)"

This reverts commit 4149ca4c2c.
pull/4/merge
Danang Probo Sayekti 12 years ago
parent
commit
bc6965f336
1 changed files with 0 additions and 12 deletions
  1. +0
    -12
      system/includes/functions.php

+ 0
- 12
system/includes/functions.php View File

@ -392,18 +392,6 @@ function get_keyword($keyword){
$arr = explode('</h1>', $content); $arr = explode('</h1>', $content);
$post->title = str_replace('<h1>','',$arr[0]); $post->title = str_replace('<h1>','',$arr[0]);
$post->body = $arr[1]; $post->body = $arr[1];
// Get first and last post
if ($index == 0) {
$post->cls = 'item first';
}
elseif ($index == count($posts) - 1) {
$post->cls = 'item last';
}
else {
$post->cls = 'item';
}
$tmp[] = $post; $tmp[] = $post;
} }


Loading…
Cancel
Save