View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
04722Bug reportsTheme editorpublic2010-11-10 17:17
Reporteruser10490Assigned Totpartner  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.90+ 
Summary04722: duplicate id values found
Description

The limespired template generates a page with two div elements that share the same id --> against standards: http://www.w3.org/TR/html4/struct/global.html#h-7.5.2

Steps To Reproduce

Create a closed survey.

Access the survey registration pages without a token parameter in your url

View source on the page -- you will find two div elements with the id=wrapper in the code.

Additional Information

limespired:

startpage.pstl
contains:
....
<div id="wrapper">
....

and
index.php
contains:
....
echo '<div id="wrapper"><p id="tokenmessage">'.$clang->gT("This is a controlled survey. You need a valid token to participate.")."
";
....

I suggest changing the template file, and template.css to use the id=pg_wrapper

None of the other templates' startpage.pstl include an element with id=wrapper, so it doesn't make sense to change index.php

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)9406
I will donate to the project if issue is resolvedNo
BrowserFireFox 3.6.12
Database type & versionMySQL 5.1.37
Server OS (if known)Ubuntu Server 9.10
Webserver software & version (if known)Apache/2.2.12
PHP VersionPHP Version 5.2.10-2ubuntu6.4

Users monitoring this issue

There are no users monitoring this issue.

Activities

user10490

2010-11-05 18:33

  ~13437

CSS fix suggestion:

div#pg_wrapper {
margin: 0 auto;
width: 868px;
}

div#wrapper {
margin: 0 auto;
width: 100%;
}

tpartner

tpartner

2010-11-05 22:41

partner   ~13442

Thanks for the report marfarma. I went with your suggestion of modifying the template as it has the added benefit of not affecting other templates.

Fixed in revision 9428.

c_schmitz

c_schmitz

2010-11-10 17:17

administrator   ~13490

Released in latest Stable Plus version.

Issue History

Date Modified Username Field Change
2010-11-05 18:23 user10490 New Issue
2010-11-05 18:33 user10490 Note Added: 13437
2010-11-05 19:25 c_schmitz Assigned To => tpartner
2010-11-05 19:25 c_schmitz Status new => assigned
2010-11-05 22:41 tpartner Note Added: 13442
2010-11-05 22:41 tpartner Status assigned => resolved
2010-11-05 22:41 tpartner Resolution open => fixed
2010-11-10 17:17 c_schmitz Note Added: 13490
2010-11-10 17:17 c_schmitz Status resolved => closed
2015-12-11 14:40 c_schmitz Category Templates => Theme editor