[php-apt-parser-maint] r36 - in /trunk: ChangeLog parse-apt-files.inc

dleidert-guest at users.alioth.debian.org dleidert-guest at users.alioth.debian.org
Fri Dec 12 23:53:39 UTC 2008


Author: dleidert-guest
Date: Fri Dec 12 23:53:39 2008
New Revision: 36

URL: http://svn.debian.org/wsvn/php-apt-parser/?sc=1&rev=36
Log:
2008-12-12  Daniel Leidert  <daniel.leidert at wgdd.de>, 1.3.7:
	* parse-apt-files.inc (parse_and_list):
	  - WCAG related improvement. Add the cite attribute to blockquote and
	    point to the pool location.


Modified:
    trunk/ChangeLog
    trunk/parse-apt-files.inc

Modified: trunk/ChangeLog
URL: http://svn.debian.org/wsvn/php-apt-parser/trunk/ChangeLog?rev=36&op=diff
==============================================================================
--- trunk/ChangeLog (original)
+++ trunk/ChangeLog Fri Dec 12 23:53:39 2008
@@ -1,3 +1,8 @@
+2008-12-12  Daniel Leidert  <daniel.leidert at wgdd.de>, 1.3.7:
+	* parse-apt-files.inc (parse_and_list):
+	  - WCAG related improvement. Add the cite attribute to blockquote and
+	    point to the pool location.
+
 2008-01-08  Daniel Leidert  <daniel.leidert at wgdd.de>, 1.3.6:
 	* parse-apt-files.inc (chb_file_link_from_directory):
 	  - Added missing "global $base_url;". Thanks to Janek Thomaschewski

Modified: trunk/parse-apt-files.inc
URL: http://svn.debian.org/wsvn/php-apt-parser/trunk/parse-apt-files.inc?rev=36&op=diff
==============================================================================
--- trunk/parse-apt-files.inc (original)
+++ trunk/parse-apt-files.inc Fri Dec 12 23:53:39 2008
@@ -1,6 +1,6 @@
 <?php
     //////////////////////////////////////////////////////////////////
-    // PHP Apt-file parser, Version 1.3.6
+    // PHP Apt-file parser, Version 1.3.7
     // $Id$
     //
     // The following PHP functions parse Debian APT-repository files
@@ -278,8 +278,11 @@
             print "</span>";
             
             // Output the package description.
-            print "<br/><br/>\n" .
-                  "<blockquote><p class=\"description\">\n" .
+	    print "<br/><br/>\n" .
+                  "<blockquote cite=\"" .
+                  htmlentities($base_url) .
+                  htmlentities($srcfields["Directory"]) .
+                  "\"><p class=\"description\">\n" .
                   link_aware_htmlize(
                     preg_replace("/^[^\n]*\n/", "", $fields["Description"])) .
                   "\n</p>\n" .




More information about the php-apt-parser-maint mailing list