View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
04615Bug reportsOtherpublic2010-09-29 16:29
Reportersethwhite1 Assigned Toc_schmitz  
PrioritynoneSeveritytrivial 
Status closedResolutionfixed 
Product Version1.90+ 
Fixed in Version1.90+ 
Summary04615: adding xmlns argument to getAdminHeader() on line 4268 in common.php
Description

The <html> tag of an XHTML document is supposed to contain an xmlns argument like this:
<html xmlns="www.w3.org/1999/xhtml">

I suggest changing function getAdminHeader() on line 4268 in common.php to include the missing xmlns argument.

Current version:

$strAdminHeader="<?xml version=\"1.0\"?><!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"www.w3.org/TR/xhtml1/DTD/xhtml1-transiti...d\">\n"
."<html ";

Suggested changing to:

$strAdminHeader="<?xml version=\"1.0\"?><!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"www.w3.org/TR/xhtml1/DTD/xhtml1-transiti...d\">\n"
."<html xmlns=\"www.w3.org/1999/xhtml\" ";

Steps To Reproduce

Look at source code after loading login page [admin/admin.php] or look at this: http://validator.w3.org/check?uri=http://demo.limesurvey.org/admin/admin.php

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)1.90
I will donate to the project if issue is resolved
Browser
Database type & versionMySql 5.1.41 from xampp
Server OS (if known)windows xp sp3
Webserver software & version (if known)apache from xampp
PHP Version5.3.1

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2010-09-28 13:55

administrator   ~12915

Thank you - fixed in rev. 9157

c_schmitz

c_schmitz

2010-09-29 16:29

administrator   ~12926

New 1.90+ version was released.

Issue History

Date Modified Username Field Change
2010-09-21 03:59 sethwhite1 New Issue
2010-09-28 13:54 c_schmitz Assigned To => c_schmitz
2010-09-28 13:54 c_schmitz Status new => assigned
2010-09-28 13:55 c_schmitz Note Added: 12915
2010-09-28 13:55 c_schmitz Status assigned => resolved
2010-09-28 13:55 c_schmitz Fixed in Version => 1.90+
2010-09-28 13:55 c_schmitz Resolution open => fixed
2010-09-29 16:29 c_schmitz Note Added: 12926
2010-09-29 16:29 c_schmitz Status resolved => closed