Skip to content

Commit

Permalink
Fixed language set after the header is fetched to make the datepicker…
Browse files Browse the repository at this point in the history
… work in the survey options dialogue again.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@2052 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Sep 4, 2006
1 parent 821d92c commit 8e10981
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
1 change: 1 addition & 0 deletions admin/admin.php
Expand Up @@ -51,6 +51,7 @@

sendcacheheaders();


echo $htmlheader;

echo "<script type='text/javascript'>\n"
Expand Down
12 changes: 3 additions & 9 deletions common.php
Expand Up @@ -115,22 +115,16 @@


//Admin menus and standards
//IF THIS IS AN ADMIN SCRIPT, RUN THE SESSIONCONTROL SCRIPT
if ($sourcefrom == "admin")
{
include("sessioncontrol.php");
/**
* @param string $htmlheader
* This is the html header text for all administration pages
*
*/
$htmlheader = getAdminHeader();

}

//IF THIS IS AN ADMIN SCRIPT, RUN THE SESSIONCONTROL SCRIPT
if ($sourcefrom == "admin")
{
include("sessioncontrol.php");

$htmlheader = getAdminHeader();
}

//TURN OFF OPTIONS THAT DON'T WORK IN SAFE MODE IF NECESSARY
Expand Down

0 comments on commit 8e10981

Please sign in to comment.