Хранилища Subversion ant

Редакция

Редакция 134 | Весь файл | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS

Редакция 134 Редакция 135
Строка 73... Строка 73...
73
        if ($query->numRows()>0) {
73
        if ($query->numRows()>0) {
74
            while ($query->fetchInto($log, DB_FETCHMODE_ASSOC)) {
74
            while ($query->fetchInto($log, DB_FETCHMODE_ASSOC)) {
75
                $result .= "<entry>\n";
75
                $result .= "<entry>\n";
76
                $result .= "<title type=\"html\">".stripslashes($log["log_title"])."</title>\n";
76
                $result .= "<title type=\"html\">".stripslashes($log["log_title"])."</title>\n";
77
                $result .= "<link>http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/changelog.php?id=".$log["log_id"]."</link>\n";
77
                $result .= "<link>http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/changelog.php?id=".$log["log_id"]."</link>\n";
78
                $result .= "<summary type=\"html\">".stripslashes($log["log_desc"])."</summary>\n";
78
                $result .= "<summary type=\"html\"><![CDATA[".stripslashes($log["log_desc"])."]]></summary>\n";
79
                $result .= "<id>urn:uuid:".md5("http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/changelog.php?id=".$log["log_id"])."</id>\n";
79
                $result .= "<id>urn:uuid:".md5("http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/changelog.php?id=".$log["log_id"])."</id>\n";
80
                $updated = str_replace(" ","T",$log["log_record"]);
80
                $updated = str_replace(" ","T",$log["log_record"]);
81
                $updated .= "+06:00";
81
                $updated .= "+06:00";
82
                $result .= "<updated>".$updated."</updated>\n";
82
                $result .= "<updated>".$updated."</updated>\n";
83
                $result .= "</entry>\n";
83
                $result .= "</entry>\n";