1<?php 2 $odt_plugin = &plugin_load('syntax','multilingual'); 3 if ( $odt_plugin ) { 4 if ( plugin_isdisabled($odt_plugin->getPluginName() ) ) { 5 $odt_plugin == NULL; 6 } 7 } 8 $pdf_plugin = &plugin_load('action','html2pdf'); 9 if ( $pdf_plugin ) { 10 if ( plugin_isdisabled($pdf_plugin->getPluginName() ) ) { 11 $pdf_plugin == NULL; 12 } 13 } 14 15 if ( $odt_plugin ) { 16 print '<li>'.DOKU_LF; 17 print ' <a href="'; 18 echo exportlink($ID, '.odt'); 19 print '" class="action odt" rel="nofollow">'.$lang['export_odt'].'</a>'.DOKU_LF; 20 print '</li>'.DOKU_LF; 21 } 22 if ( $pdf_plugin ) { 23 print '<li>'.DOKU_LF; 24 print ' <a href="'; 25 echo exportlink($ID, 'pdf'); 26 print '" class="action tab_pdf" rel="nofollow">'.$lang['export_pdf'].'</a>'.DOKU_LF; 27 print '</li>'.DOKU_LF; 28 } 29?> 30