From: Mike N. <mh...@us...> - 2004-05-21 19:50:16
|
Update of /cvsroot/phpwebsite-comm/themes/debug In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2116 Modified Files: theme.php theme.tpl Log Message: stylesheet modification for comment Index: theme.tpl =================================================================== RCS file: /cvsroot/phpwebsite-comm/themes/debug/theme.tpl,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** theme.tpl 6 Apr 2004 17:35:33 -0000 1.1.1.1 --- theme.tpl 21 May 2004 19:50:05 -0000 1.2 *************** *** 2,4 **** --- 2,7 ---- <!-- You should probably remove the metatags theme var --> + <!-- You must remove the {STYLE} theme var --> + + {STYLESHEET} Index: theme.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/themes/debug/theme.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** theme.php 6 Apr 2004 17:35:33 -0000 1.1.1.1 --- theme.php 21 May 2004 19:50:05 -0000 1.2 *************** *** 2,5 **** --- 2,6 ---- if(stristr($_SERVER["HTTP_ACCEPT"],"application/xhtml+xml")){ header("Content-Type: application/xhtml+xml; charset=UTF-8"); $THEME["DOCTYPE"] = "<?xml version=\"1.0\" encoding=\"UTF-8\"?> + <?xml-stylesheet href=\"./themes/xxxx/style.css\" type=\"text/css\"?> <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">"; *************** *** 7,10 **** --- 8,12 ---- $THEME["DOCTYPE"] = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">"; + $THEME["STYLESHEET"] = "<link rel=\"stylesheet\" href=\"themes/xxxx/style.css\" type=\"text/css\" />"; } ?> |