1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 04:41:53 +02:00

Solves the duplicate breadcrumb issue.

This commit is contained in:
Cameron
2020-12-28 09:48:44 -08:00
parent 48e3fdabc9
commit 10482b8a89
5 changed files with 27 additions and 7 deletions

View File

@@ -467,6 +467,8 @@ class download_shortcodes extends e_shortcode
function sc_download_list_icon($parm='') //XXX FIXME $img.
{
$img = "<img src='".IMAGE_DOWNLOAD."' alt='".LAN_DOWNLOAD."' title='".LAN_DOWNLOAD."' />";
if ($parm == "link")
{
$url = e107::url('download', 'item', $this->var);
@@ -884,7 +886,7 @@ class download_shortcodes extends e_shortcode
$img = '<i class="icon-download"></i>';
}
return "<a href='".e_PLUGIN_ABS."download/download.php?mirror.{$this->var['download_id']}.{$this->mirror['dlmirrorfile'][0]}' title='".LAN_DOWNLOAD."'{$click}>".$img."</a>";
return "<a href='".e_PLUGIN_ABS."download/download.php?mirror.{$this->var['download_id']}.{$this->mirror['dlmirrorfile'][0]}' title='".LAN_DOWNLOAD."' {$click}>".$img."</a>";
}
function sc_download_mirror_requests()