From: <ok...@us...> - 2003-01-07 06:20:31
|
Update of /cvsroot/xoops/xoops2/modules/news In directory sc8-pr-cvs1:/tmp/cvs-serv25116/modules/news Modified Files: print.php Log Message: fixed charset problem Index: print.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/news/print.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** print.php 2 Jan 2003 18:57:03 -0000 1.1 --- print.php 7 Jan 2003 06:20:28 -0000 1.2 *************** *** 5,13 **** // Copyright (c) 2000 XOOPS.org // // <http://www.xoops.org/> // - // ------------------------------------------------------------------------ // - // Based on: // - // myPHPNUKE Web Portal System - http://myphpnuke.com/ // - // PHP-NUKE Web Portal System - http://phpnuke.org/ // - // Thatware - http://thatware.org/ // // ------------------------------------------------------------------------- // // This program is free software; you can redistribute it and/or modify // --- 5,8 ---- *************** *** 30,34 **** // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // ------------------------------------------------------------------------ // ! include 'header.php'; if ( empty($storyid) ) { redirect_header("index.php"); --- 25,29 ---- // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // ------------------------------------------------------------------------ // ! include '../../mainfile.php'; if ( empty($storyid) ) { redirect_header("index.php"); *************** *** 40,50 **** function PrintPage($storyid) { ! global $xoopsConfig, $xoopsDB, $xoopsModule; $story = new NewsStory($storyid); $datetime = formatTimestamp($story->published()); echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'; echo '<html><head>'; - echo '<title>'.$xoopsConfig['sitename'].'</title>'; echo '<meta http-equiv="Content-Type" content="text/html; charset='._CHARSET.'" />'; echo '<meta name="AUTHOR" content="'.$xoopsConfig['sitename'].'" />'; echo '<meta name="COPYRIGHT" content="Copyright (c) 2001 by '.$xoopsConfig['sitename'].'" />'; --- 35,45 ---- function PrintPage($storyid) { ! global $xoopsConfig, $xoopsModule; $story = new NewsStory($storyid); $datetime = formatTimestamp($story->published()); echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'; echo '<html><head>'; echo '<meta http-equiv="Content-Type" content="text/html; charset='._CHARSET.'" />'; + echo '<title>'.$xoopsConfig['sitename'].'</title>'; echo '<meta name="AUTHOR" content="'.$xoopsConfig['sitename'].'" />'; echo '<meta name="COPYRIGHT" content="Copyright (c) 2001 by '.$xoopsConfig['sitename'].'" />'; |