From 1ac5a2af23551423808267193f03031593641326 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sun, 17 Jan 2016 16:52:00 -0800 Subject: [PATCH] Hide useless elements from printing. --- e107_core/shortcodes/batch/news_shortcodes.php | 2 +- e107_handlers/emailprint_class.php | 4 ++-- print.php | 12 +++++++++--- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/e107_core/shortcodes/batch/news_shortcodes.php b/e107_core/shortcodes/batch/news_shortcodes.php index f0fa64495..e0d4f9eeb 100644 --- a/e107_core/shortcodes/batch/news_shortcodes.php +++ b/e107_core/shortcodes/batch/news_shortcodes.php @@ -368,7 +368,7 @@ class news_shortcodes extends e_shortcode $class = varset($parm['class']); - return "".$adop_icon."\n"; + return "".$adop_icon."\n"; } else { diff --git a/e107_handlers/emailprint_class.php b/e107_handlers/emailprint_class.php index d2789e1c5..56324e6a2 100644 --- a/e107_handlers/emailprint_class.php +++ b/e107_handlers/emailprint_class.php @@ -76,13 +76,13 @@ class emailprint { $ico_mail = (defined("ICONMAIL") && file_exists(THEME."images/".ICONMAIL) ? "".LAN_EMAIL_7."" : $genericMail); //TDOD CSS class - $text_emailprint .= "".$ico_mail." "; + $text_emailprint .= "".$ico_mail." "; } if ($look == 0 || $look == 2) { $ico_print = (defined("ICONPRINT") && file_exists(THEME."images/".ICONPRINT) ? "".LAN_PRINT_1."" : $genericPrint); //TODO CSS class - $text_emailprint .= "".$ico_print.""; + $text_emailprint .= "".$ico_print.""; } return $text_emailprint; } diff --git a/print.php b/print.php index 2b7e2f553..c1cb01782 100644 --- a/print.php +++ b/print.php @@ -29,12 +29,18 @@ if ($qs[0] == "") { $CSS = <<