Alguien sabria decirme que codigo hay que cambiar para limitar el pluggin File para subir solo archivos de un tipo, por ejemplo para subir solo musica MP3 o subir solo imagenes JPG
Saludos
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
perdon el codigo es asi
<?php
if ($file->simpletype == "audio") {
echo "no se puede descargar";
?>
<?php
} else {
?>
<div class="filerepo_download"><p><a href="<?php echo $vars['url']; ?>mod/file/download.php?file_guid=<?php echo $file_guid; ?>"><?php echo elgg_echo("file:download"); ?></a></p></div>
<?php
}
?>
- Previous
- 1
- 2
- Next
You must log in to post replies.