+2007-11-13 Benjamin Mack <mack@xnos.org>
+
+ * (minor) Fixed bug #6548: FE "Preview" Label not stylable
+
2007-11-12 Oliver Hader <oh@inpublica.de>
* (minor) Fixed bug #6696: Parts of the TYPO3 back-end do not work correctly with prototype.js 1.6.0
*/
function previewInfo() {
if ($this->fePreview) {
-
if ($this->fePreview==2) {
$text = 'Preview of workspace "'.$this->whichWorkspace(TRUE).'" ('.$this->whichWorkspace().')';
} else {
$text = 'PREVIEW!';
}
- $stdMsg = '
- <br />
- <div align="center">
- <table border="3" bordercolor="black" cellpadding="2" bgcolor="red" summary="">
- <tr>
- <td> <font face="Verdana" size="1"><b>'.htmlspecialchars($text).'</b></font> </td>
- </tr>
- </table>
- </div>';
+ $stdMsg = '<div id="typo3-previewInfo" style="position: absolute; top: 20px; right: 20px; border: 2px solid #000; padding: 5px 150px; background: #f00; font: 1em Verdana; color: #000; font-weight: bold; z-index: 10001">'.htmlspecialchars($text).'</div>';
if ($this->fePreview==2) {
$temp_content = $this->config['config']['message_preview_workspace'] ?