I have a code to show some links in the footer of some tables.
What I can't do is add a condition that makes these links visible only in the table view but not in the detail view.
here is my code (inserted in the file footer_extra.php).
Code: Select all
<?php
$script_name = basename($_SERVER['PHP_SELF']);
if($script_name == 'partecipazione_riunione_evento_partner_view.php' || $script_name=='partecipazione_riunione_evento_partner_e_non_view.php' || $script_name=='partecipazione_evento_pubblico_view.php'){
?>
<div class="navbar-fixed-bottom hidden-print alert alert-info">
<a title="Clicca qui per scaricare le ISTRUZIONI PER ISCRIVERTI AD UNA ATTIVITA'" href="http://www.sullabuonastrada.org/governance/istruzioni_iscrizione_attivita_sulla_buona_strada.pdf" target="_blank" >Clicca qui per scaricare le ISTRUZIONI PER ISCRIVERTI AD UNA ATTIVITA'</a> <a title="Clicca qui per scaricare le ISTRUZIONI PER STAMPARE E SCARICARE GLI ATTESTATI di partecipazione alle attività " href="http://www.sullabuonastrada.org/governance/istruzioni_attestati.pdf" target="_blank" >Clicca qui per scaricare le ISTRUZIONI PER STAMPARE E SCARICARE GLI ATTESTATI di partecipazione alle attività </a>
</div>
<?php
}
?>
Thank you!
Fabiano