2010-05-14 Steffen Kamper <info@sk-typo3.de>
+ * Follow-up to bug #14365: Bug: Install Tool skin is sometimes wrong (thanks to Lars Houmark)
* Fixed bug #14367: Install Tool does not provide a logout possibility (thanks to Lars Houmark)
2010-05-13 Ernesto Baschny <ernst@cron-it.de>
// Include t3lib_div and t3lib_parsehtml for templating
require_once($PATH_site . '/t3lib/class.t3lib_div.php');
require_once($PATH_site . '/t3lib/class.t3lib_parsehtml.php');
- // Get the referer to define if this is called from backend or stand alone
- $referer = parse_url(t3lib_div::getIndpEnv('HTTP_REFERER'));
- // Define body class when stand alone
- if (!strpos($referer['path'], 'backend.php')) {
- $bodyClass = 'class="standalone"';
- }
+
// Define the stylesheet
$stylesheet = '<link rel="stylesheet" type="text/css" href="' .
'../stylesheets/install/install.css" />';
+ $javascript = '<script type="text/javascript" src="' .
+ '../contrib/prototype/prototype.js"></script>' . LF;
+ $javascript .= '<script type="text/javascript" src="' .
+ '../sysext/install/Resources/Public/Javascript/install.js"></script>';
+
// Get the template file
$template = @file_get_contents($PATH_site . '/typo3/templates/install.html');
// Define the markers content
$markers = array(
- 'bodyClass' => $bodyClass,
'styleSheet' => $stylesheet,
+ 'javascript' => $javascript,
'title' => 'The install tool is locked',
'content' => '
<p>