Skip to content
Snippets Groups Projects
Commit 75404eef authored by Romain Therville's avatar Romain Therville :coffee:
Browse files

Update to AnalysisTemplate.tpl

In the "download" analysis tab, the .png files are not excluded from the
list anymore.

Issue #218
parent 3d1b5611
No related branches found
No related tags found
1 merge request!133Merge branch issue#218 with master
......@@ -119,7 +119,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{$dir=$data_folder|cat:$analyse.directory}
{foreach $dir|scandir as $file}
{assign var="link" value=(('fileadmin'|cat:$analyse.directory)|cat:'/')|cat:$file}
{if $file != "." and $file != "" and $file != ".." and ($file|substr:-strlen(".png")) != ".png" and !is_dir($link)}
{if $file != "." and $file != "" and $file != ".." and !is_dir($link)}
{$nb_files = $nb_files + 1}
{/if}
{/foreach}
......@@ -142,7 +142,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</div>
{foreach $dir|scandir as $file}
{assign var="link" value=(('fileadmin'|cat:'/'|cat:$analyse.directory)|cat:'/')|cat:$file}
{if $file != "." and $file != "" and $file != ".." and ($file|substr:-strlen(".png")) != ".png" and !is_dir($link)}
{if $file != "." and $file != "" and $file != ".." and !is_dir($link)}
<li class="filelist"><a href="{$link}">{$file}</a> </li>
{/if}
{/foreach}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment