mirror of
https://github.com/e107inc/e107.git
synced 2025-08-28 00:30:09 +02:00
Hide useless elements from printing.
This commit is contained in:
@@ -76,13 +76,13 @@ class emailprint
|
||||
{
|
||||
$ico_mail = (defined("ICONMAIL") && file_exists(THEME."images/".ICONMAIL) ? "<img src='".THEME_ABS."images/".ICONMAIL."' alt='".LAN_EMAIL_7."' />" : $genericMail);
|
||||
//TDOD CSS class
|
||||
$text_emailprint .= "<a class='e-tip ".$class."' href='".e_HTTP."email.php?".$email.".".$id."' title='".LAN_EMAIL_7."'>".$ico_mail."</a> ";
|
||||
$text_emailprint .= "<a class='e-tip hidden-print".$class."' href='".e_HTTP."email.php?".$email.".".$id."' title='".LAN_EMAIL_7."'>".$ico_mail."</a> ";
|
||||
}
|
||||
if ($look == 0 || $look == 2)
|
||||
{
|
||||
$ico_print = (defined("ICONPRINT") && file_exists(THEME."images/".ICONPRINT) ? "<img src='".THEME_ABS."images/".ICONPRINT."' alt='".LAN_PRINT_1."' />" : $genericPrint);
|
||||
//TODO CSS class
|
||||
$text_emailprint .= "<a class='e-tip ".$class."' href='".e_HTTP."print.php?".$print.".".$id."' title='".LAN_PRINT_1."'>".$ico_print."</a>";
|
||||
$text_emailprint .= "<a class='e-tip ".$class." hidden-print' href='".e_HTTP."print.php?".$print.".".$id."' title='".LAN_PRINT_1."'>".$ico_print."</a>";
|
||||
}
|
||||
return $text_emailprint;
|
||||
}
|
||||
|
Reference in New Issue
Block a user