$s_name",$_msg_goto); $body = <<
  • $_msg_addline
  • $_msg_delline
  • $link
  • $hr EOD; } if (file_exists(DIFF_DIR.encode($get['page']).'.txt')) { $diffdata = htmlspecialchars(join('',file(DIFF_DIR.encode($get['page']).'.txt'))); $diffdata = preg_replace('/^(\-)(.*)$/m',' $2',$diffdata); $diffdata = preg_replace('/^(\+)(.*)$/m',' $2',$diffdata); $diffdata = trim($diffdata); $body .= "
    $diffdata
    \n"; } else if (is_page($get['page'])) { $diffdata = trim(htmlspecialchars(join('',get_source($get['page'])))); $body .= "
    $diffdata
    \n"; } else { $title = $s_name; $body = $_msg_notfound; } return array('msg'=>$msg,'body'=>$body); } ?>