SF.net SVN: phpwiki:[10735] trunk/lib/plugin/PhotoAlbum.php

vargenau--- via phpwiki-checkins <[email protected]>
Newsgroups gmane.comp.web.wiki.phpwiki.checkins
Message-ID <[email protected]>
Revision: 10735
          http://sourceforge.net/p/phpwiki/code/10735
Author:   vargenau
Date:     2021-12-06 14:50:45 +0000 (Mon, 06 Dec 2021)
Log Message:
-----------
PhotoAlbum plugin: avoid nested <a> in list mode

Modified Paths:
--------------
    trunk/lib/plugin/PhotoAlbum.php

Modified: trunk/lib/plugin/PhotoAlbum.php
===================================================================
--- trunk/lib/plugin/PhotoAlbum.php	2021-12-06 14:34:32 UTC (rev 10734)
+++ trunk/lib/plugin/PhotoAlbum.php	2021-12-06 14:50:45 UTC (rev 10735)
@@ -358,9 +358,6 @@
                     "href" => "$b_url"), HTML::img($params))
                     : HTML::img($params);
             }
-            if ($mode == 'list')
-                $url_text = HTML::a(array("id" => basename($value["name"])),
-                    $url_text);
             // here we use different modes
             if ($mode == 'tiles') {
                 $row->pushContent(

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.