The file offline.php does not have the $cur_template variable included in the CSS path. The variable exists higher but is not used in the html output. Instead this link is used:
Code: Select all
<link rel="stylesheet" href="<?php echo $mosConfig_live_site; ?>/templates/css/offline.css" type="text/css" />
Reported on:
Joomla 1.0.11
Classification:
Low/Enhancement
Affected functions:
"Offline" page for Joomla!
Related files:
offline.php
Steps to replicate:
Enable offline mode for any Joomla! 1.0.11 website.
Analysis:
[Q&T] Confirmed
Proposed fix(es):
Add below the current CSS link this line of code:
Code: Select all
<link rel="stylesheet" href="<?php echo $mosConfig_live_site; ?>/templates/<?php echo $cur_template; ?>/css/template_css.css" type="text/css" />
Topic / Artifact ID:
[USER] Enter the cross reference for topic or artifact id/url when submitted
System info:
Tested on several Windows machines, under AMP setup with PHP4 and MySQL 4 or 5.