|
|
|
|
@ -914,7 +914,7 @@ function display_wiki_entry($newtitle) |
|
|
|
|
echo '<form name="form_export2PDF" method="post" action="export_html2pdf.php" target="_blank, fullscreen">'; // also with export_tcpdf.php |
|
|
|
|
echo '<input type=hidden name="titlePDF" value="'.api_htmlentities($title, ENT_QUOTES, $charset).'">'; |
|
|
|
|
echo '<input type=hidden name="contentPDF" value="'.api_htmlentities(trim(preg_replace("/\[\[|\]\]/", " ", $content)), ENT_QUOTES, $charset).'">'; |
|
|
|
|
echo '<input type="image" src="../img/wiki/wexport2pdf.gif" border ="0" title="'.get_lang('ExportToPDF').'" alt="'.get_lang('ExportToPDF').'" style=" border:none;">'; |
|
|
|
|
echo '<input type="image" src="../img/wiki/wexport2pdf.gif" border ="0" title="'.get_lang('ExportToPDF').'" alt="'.get_lang('ExportToPDF').'" style=" border:none; margin-top: -6px">'; |
|
|
|
|
echo '</form>'; |
|
|
|
|
echo '</span>'; |
|
|
|
|
|
|
|
|
|
@ -926,7 +926,7 @@ function display_wiki_entry($newtitle) |
|
|
|
|
echo '<input type=hidden name="export2DOC" value="export2doc">'; |
|
|
|
|
echo '<input type=hidden name="titleDOC" value="'.api_htmlentities($title, ENT_QUOTES, $charset).'">'; |
|
|
|
|
echo '<input type=hidden name="contentDOC" value="'.api_htmlentities($content, ENT_QUOTES, $charset).'">'; |
|
|
|
|
echo '<input type="image" src="../img/wiki/wexport2doc.png" border ="0" title="'.get_lang('ExportToDocArea').'" alt="'.get_lang('ExportToDocArea').'" style=" border:none;">'; |
|
|
|
|
echo '<input type="image" src="../img/wiki/wexport2doc.png" border ="0" title="'.get_lang('ExportToDocArea').'" alt="'.get_lang('ExportToDocArea').'" style=" border:none; margin-top: -6px">'; |
|
|
|
|
echo '</form>'; |
|
|
|
|
echo '</span>'; |
|
|
|
|
} |
|
|
|
|
|