Commit 7f169491 authored by eromneg's avatar eromneg

[FIX] podcast directory reference re: bug report #2377

parent 12ae76c5
......@@ -80,7 +80,7 @@
{elseif $tiki_p_download_files eq 'y'}
{if $gal_info.type eq 'podcast' or $gal_info.type eq 'vidcast'}
href="{$download_path}{$files[changes].path}"
href="{$prefs.fgal_podcast_dir}{$files[changes].path}"
{else}
href="{if $prefs.javascript_enabled eq 'y'}{$files[changes].id|sefurl:preview}{else}{$files[changes].id|sefurl:display}{/if}"
{/if}
......
......@@ -200,7 +200,7 @@
{elseif $tiki_p_download_files eq 'y'}
{if $gal_info.type eq 'podcast' or $gal_info.type eq 'vidcast'}
href="{$download_path}{$files[changes].path}" title="{tr}Download{/tr}"
href="{$prefs.fgal_podcast_dir}{$files[changes].path}" title="{tr}Download{/tr}"
{else}
href="{$files[changes].id|sefurl:file}" title="{tr}Download{/tr}"
{/if}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment