]> git.pld-linux.org Git - packages/eventum.git/commitdiff
- activateLinks on issue details page for attachment description
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 28 Mar 2005 11:45:55 +0000 (11:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eventum-attach-activate-links.patch -> 1.1

eventum-attach-activate-links.patch [new file with mode: 0644]

diff --git a/eventum-attach-activate-links.patch b/eventum-attach-activate-links.patch
new file mode 100644 (file)
index 0000000..ff6d976
--- /dev/null
@@ -0,0 +1,13 @@
+- activateLinks on issue details page for attachment description
+
+--- ./include/class.attachment.php~    2005-03-16 19:03:57.000000000 +0200
++++ ./include/class.attachment.php     2005-03-28 14:40:04.000000000 +0300
+@@ -385,7 +385,7 @@
+             return "";
+         } else {
+             for ($i = 0; $i < count($res); $i++) {
+-                $res[$i]["iat_description"] = Link_Filter::processText(Issue::getProjectID($issue_id), nl2br(htmlspecialchars($res[$i]["iat_description"])));
++                $res[$i]["iat_description"] = Link_Filter::processText(Issue::getProjectID($issue_id), nl2br(Misc::activateLinks(htmlspecialchars($res[$i]["iat_description"]))));
+                 $res[$i]["files"] = Attachment::getFileList($res[$i]["iat_id"]);
+                 $res[$i]["iat_created_date"] = Date_API::getFormattedDate($res[$i]["iat_created_date"]);
+                 
This page took 0.034524 seconds and 4 git commands to generate.