mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Bugtracker #4972 - fix printing in content items - thanks SaladDay
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
|
/* $Id$ */
|
||||||
|
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
|
|
||||||
function print_item($id)
|
function print_item($id)
|
||||||
{
|
{
|
||||||
global $tp;
|
global $tp, $pref;
|
||||||
global $content_pref, $mainparent, $aa, $row, $content_image_path;
|
global $content_pref, $mainparent, $aa, $row, $content_image_path;
|
||||||
$con = new convert;
|
$con = new convert;
|
||||||
|
|
||||||
@@ -71,8 +72,9 @@ function email_item($id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function print_item_pdf($id){
|
function print_item_pdf($id)
|
||||||
global $tp, $content_shortcodes;
|
{
|
||||||
|
global $tp, $pref, $content_shortcodes;
|
||||||
global $CONTENT_PRINT_IMAGES, $row, $content_image_path, $content_pref, $mainparent, $eArrayStorage;
|
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
|
//in this section you decide what to needs to be output to the pdf file
|
||||||
|
Reference in New Issue
Block a user