Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: html-error in /docs/showdoc.php  (Read 4011 times)

0 Members and 1 Guest are viewing this topic.

Andi

  • VIP
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 85
  • Join the Future
    • www.pragmamx.org
html-error in /docs/showdoc.php
« 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;
« Last Edit: October 30, 2005, 02:42:46 pm by GauGau »
Logged
hope, I could help you... :)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: html-error in /docs/showdoc.php
« Reply #1 on: October 30, 2005, 02:42:30 pm »

suggested fix comitted.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.