
Re: Indicar Que Hay Adjunto
Creo que la mejor implementacion sería de hacerlo aqui directamente en la funcion en displaying.
php
- /**
- * Display Attachments in Posts
- */
- function display_post_attachments($post_id, $switch_attachment)
- {
- global $attach_config, $is_auth;
-
- if (intval($switch_attachment) == 0 || intval($attach_config['disable_mod']))
- {
- return;
- }
-
- if ($is_auth['auth_download'] && $is_auth['auth_view'])
- {
- display_attachments($post_id);
- }
- else
- {
- // Display Notice (attachment there but not having permissions to view it)
- // Not included because this would mean template and language file changes (at this stage this is not a wise step. ;))
- }
- }
Fijense que dice esto
// Display Notice (attachment there but not having permissions to view it)
// Not included because this would mean template and language file changes (at this stage this is not a wise step. ;))
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ FIRMA ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬
© Zuker - EDDB - Sharefields - LPM