1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Bugtracker #4972 - fix printing in content items - thanks SaladDay

This commit is contained in:
e107steved 2010-06-20 20:04:39 +00:00
parent e0ec1f3120
commit 207cc543fc

View File

@ -1,10 +1,11 @@
<?php
/* $Id$ */
if (!defined('e107_INIT')) { exit; }
function print_item($id)
{
global $tp;
global $tp, $pref;
global $content_pref, $mainparent, $aa, $row, $content_image_path;
$con = new convert;
@ -71,8 +72,9 @@ function email_item($id)
}
function print_item_pdf($id){
global $tp, $content_shortcodes;
function print_item_pdf($id)
{
global $tp, $pref, $content_shortcodes;
global $CONTENT_PRINT_IMAGES, $row, $content_image_path, $content_pref, $mainparent, $eArrayStorage;
//in this section you decide what to needs to be output to the pdf file