forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: Andi on October 29, 2005, 07:14:08 pm

Title: html-error in /docs/showdoc.php
Post by: Andi on October 29, 2005, 07:14:08 pm
Hi Team :)

there are 2 small errors in html-output from /docs/showdoc.php

Quote
line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 4 column 1 - Warning: <link> inserting "type" attribute

I've change this line:
Code: [Select]
$string = "<html>\n<head>\n<title>Help</title>\n" . '<link rel="stylesheet" href="../themes/'.$add_stylesheet.'/style.css" />' . "\n</head>\n<body class=\"tableb\">\n<div style=\"padding: 5px;\">\n" . $string;to this:
Code: [Select]
$string = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n\t\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html>\n<head>\n<title>Help</title>\n" . '<link href="../themes/'.$add_stylesheet.'/style.css" rel="stylesheet" type="text/css" />' . "\n</head>\n<body class=\"tableb\">\n<div style=\"padding: 5px;\">\n" . $string;
Title: Re: html-error in /docs/showdoc.php
Post by: Joachim Müller on October 30, 2005, 02:42:30 pm
suggested fix comitted.