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

Bugtracker #3669 - should do white background on all print items now

This commit is contained in:
e107steved 2007-01-12 20:39:12 +00:00
parent 1bbfab82ca
commit b741d73c80

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/print.php,v $
| $Revision: 1.2 $
| $Date: 2007-01-09 20:32:34 $
| $Revision: 1.3 $
| $Date: 2007-01-12 20:39:12 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -65,7 +65,7 @@ else
list($a_id, $a_name) = $sql->db_Fetch();
}
$news_datestamp = $con->convert_date($news_datestamp, "long");
$text = "<font style=\"font-size: 11px; color: black; background: white; font-family: tahoma, verdana, arial, helvetica; text-decoration: none\">
$text = "<font style=\"font-size: 11px; color: black; font-family: tahoma, verdana, arial, helvetica; text-decoration: none\">
<b>".LAN_PRINT_135.": ".$news_title."</b>
<br />
(".LAN_PRINT_86." ".$category_name.")
@ -93,9 +93,10 @@ if(defined("TEXTDIRECTION") && TEXTDIRECTION == "rtl"){
}
echo "
<div style='background:white'>
<div style='text-align:".$align."'>".$tp->parseTemplate("{LOGO}", TRUE)."</div><hr /><br />
<div style='text-align:".$align."'>".$text."</div><br /><br />
<div style='text-align:".$align."'><form action=''><input type='button' value='".LAN_PRINT_307."' onClick='window.print()' /></form></div>";
<div style='text-align:".$align."'><form action=''><input type='button' value='".LAN_PRINT_307."' onClick='window.print()' /></form></div></div>";
require_once(FOOTERF);