View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
04762Bug reportsTheme editorpublic2010-12-07 14:14
Reporteruser372Assigned Totpartner  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.90+ 
Target Version1.90+ 
Summary04762: Notification about expired survey is not centered (at least in bluengrey-template)
Description

create a survey with the template bluengrey

set an expired expiry date

access survey

==> notification is not centered and is on the left side

tested in FF3.6 and IE8

eg:
http://www.gisdat-umfragen.at/LQ/index.php?sid=31449

TagsNo tags attached.
Attached Files
Not_centered.png (16,476 bytes)   
Not_centered.png (16,476 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)9527
I will donate to the project if issue is resolvedNo
BrowserFF 3.6
Database type & versionMySQL 5.0.77
Server OS (if known)Linux
Webserver software & version (if known)Apache
PHP Version5.2.14

Users monitoring this issue

There are no users monitoring this issue.

Activities

tpartner

tpartner

2010-11-26 20:21

partner   ~13617

Carsten, Thibault, the styles are messed up here because in surveyRoot/index.php at line 495 (and several other places), the startpage.pstpl from the default template is imported regardless of current survey template:

/////////////////////////////
echo templatereplace(file_get_contents("$standardtemplaterootdir/default/startpage.pstpl"));
/////////////////////////////

I believe that the startpage.pstpl (and endpage.pstpl) from the current survey should be used:

/////////////////////////////
echo templatereplace(file_get_contents("$thistpl/startpage.pstpl"));
/////////////////////////////

Have I missed a reason for using the default template start and end page files?

c_schmitz

c_schmitz

2010-11-26 20:38

administrator   ~13618

I agree with the proposed solution - good catch.

c_schmitz

c_schmitz

2010-11-26 20:38

administrator   ~13619

Make sure that it works even if an invalid sid is used.

tpartner

tpartner

2010-11-26 21:25

partner   ~13622

Thanks Carsten, fixed in revision 9537

c_schmitz

c_schmitz

2010-12-07 14:14

administrator   ~13718

Released in latest 1.90+ version.

Issue History

Date Modified Username Field Change
2010-11-26 00:43 user372 New Issue
2010-11-26 00:43 user372 Status new => assigned
2010-11-26 00:43 user372 Assigned To => c_schmitz
2010-11-26 00:43 user372 File Added: Not_centered.png
2010-11-26 18:20 tpartner Assigned To c_schmitz => tpartner
2010-11-26 20:21 tpartner Note Added: 13617
2010-11-26 20:38 c_schmitz Note Added: 13618
2010-11-26 20:38 c_schmitz Note Added: 13619
2010-11-26 21:25 tpartner Note Added: 13622
2010-11-26 21:25 tpartner Status assigned => resolved
2010-11-26 21:25 tpartner Resolution open => fixed
2010-12-07 14:14 c_schmitz Note Added: 13718
2010-12-07 14:14 c_schmitz Status resolved => closed
2015-12-11 14:40 c_schmitz Category Templates => Theme editor