From: <xa...@us...> - 2010-11-22 13:24:57
|
Revision: 30840 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=30840&view=rev Author: xavidp Date: 2010-11-22 13:24:51 +0000 (Mon, 22 Nov 2010) Log Message: ----------- [FIX]Forgot to add the link to the image/icon. Still not clear how to force the icon size to be 16x16 Modified Paths: -------------- branches/6.x/lib/wiki-plugins/wikiplugin_file.php Modified: branches/6.x/lib/wiki-plugins/wikiplugin_file.php =================================================================== --- branches/6.x/lib/wiki-plugins/wikiplugin_file.php 2010-11-22 12:31:30 UTC (rev 30839) +++ branches/6.x/lib/wiki-plugins/wikiplugin_file.php 2010-11-22 13:24:51 UTC (rev 30840) @@ -128,7 +128,7 @@ $data = empty($info['name'])?$info['filename']: $info['name']; } if (isset($params['showicon']) & $params['showicon'] == "y") { - return "{img src=tiki-download_file.php?fileId=$fileId&thumbnail=y width=16} [tiki-download_file.php?fileId=$fileId|$data]"; + return "{img src=tiki-download_file.php?fileId=$fileId&thumbnail=y&x=16 link=tiki-download_file.php?fileId=$fileId} [tiki-download_file.php?fileId=$fileId|$data]"; } else { return "[tiki-download_file.php?fileId=$fileId|$data]"; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |