Created
July 22, 2018 18:30
-
-
Save akroii/2755bdfa9db2fbe7cd10715872b2190c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if ($this->download) { | |
| $objFiles = \FilesModel::findMultipleByIds(deserialize($this->download));?> | |
| <div class="icon- product_enclosure enclosure spaceAbove-large"> | |
| <ul class="unstyled"> | |
| <?php | |
| while ($objFiles->next()) { | |
| echo '<li> <a onclick="ga(\'send\', \'event\', \'Download\', \''.$objFiles->name.' - PDF Dokument\');'.$objFiles->name.' - PDF Dokument\');" title="Die Datei '.$objFiles->name.' herunterladen" target="_blank" href="'.$objFiles->path.'">'.$objFiles->name.'</a></li>'; | |
| }?> | |
| </ul> | |
| </div> | |
| <?php | |
| } | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment