Хранилища Subversion ant

Сравнить редакции

Не учитывать пробелы Редакция 208 → Редакция 209

/trunk/feed.php
21,7 → 21,7
 
require_once dirname(__FILE__)."/lib/init.php";
 
$mode = abs(intval($_GET["atom"]));
$mode = $secure->wrapInt($_GET["atom"]);
// RSS 2.0 - $mode = 0
// Atom 1.0 - $mode = 1
 
45,10 → 45,10
if ($query->numRows()>0) {
while ($query->fetchInto($log, DB_FETCHMODE_ASSOC)) {
$result .= "<item>\n";
$result .= "<title>".stripslashes($log["log_title"])."</title>\n";
$result .= "<title>".$secure->stripStr($log["log_title"])."</title>\n";
$result .= "<link>http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/changelog.php?id=".$log["log_id"]."</link>\n";
$result .= "<pubDate>".date("r",strtotime($log["log_record"]))."</pubDate>\n";
$result .= "<description><![CDATA[".stripslashes($log["log_desc"])."]]></description>\n";
$result .= "<description><![CDATA[".$secure->stripStr($log["log_desc"])."]]></description>\n";
$result .= "<guid isPermaLink=\"false\">".md5("http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/changelog.php?id=".$log["log_id"])."</guid>\n";
$result .= "</item>\n";
}
74,9 → 74,9
if ($query->numRows()>0) {
while ($query->fetchInto($log, DB_FETCHMODE_ASSOC)) {
$result .= "<entry>\n";
$result .= "<title type=\"html\">".stripslashes($log["log_title"])."</title>\n";
$result .= "<title type=\"html\">".$secure->stripStr($log["log_title"])."</title>\n";
$result .= "<link href=\"http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/changelog.php?id=".$log["log_id"]."\" />\n";
$result .= "<summary type=\"html\"><![CDATA[".stripslashes($log["log_desc"])."]]></summary>\n";
$result .= "<summary type=\"html\"><![CDATA[".$secure->stripStr($log["log_desc"])."]]></summary>\n";
$result .= "<id>urn:uuid:".$core->getUUID("http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/changelog.php?id=".$log["log_id"])."</id>\n";
$updated = str_replace(" ","T",$log["log_record"]);
$updated .= "+06:00";