~dangarner/xibo/server-133

« back to all changes in this revision

Viewing changes to server/modules/text.module.php

  • Committer: Dan Garner
  • Date: 2012-06-04 18:28:29 UTC
  • Revision ID: dan@xibo.org.uk-20120604182829-ye3s3wh7v1tdgycf
[server] Web Page Preview

Show diffs side-by-side

added added

removed removed

Lines of Context:
336
336
        $widthPx        = $width.'px';
337
337
        $heightPx       = $height.'px';
338
338
 
339
 
        return '<iframe src="index.php?p=module&mod=' . $mediaType . '&q=Exec&method=RawPreview&raw=true&layoutid=' . $layoutId . '&regionid=' . $regionId . '&mediaid=' . $mediaId . '&lkid=' . $lkId . '&width=' . $width . '&height=' . $height . '" width="' . $widthPx . '" height="' . $heightPx . '" style="border:0;"></iframe>';
 
339
        return '<iframe scrolling="no" id="innerIframe" src="index.php?p=module&mod=' . $mediaType . '&q=Exec&method=RawPreview&raw=true&layoutid=' . $layoutId . '&regionid=' . $regionId . '&mediaid=' . $mediaId . '&lkid=' . $lkId . '&width=' . $width . '&height=' . $height . '" width="' . $widthPx . '" height="' . $heightPx . '" style="border:0;"></iframe>';
340
340
    }
341
341
 
342
342
    /**
389
389
 
390
390
        // Generate the body content
391
391
        $bodyContent  = '';
392
 
        $bodyContent .= '<div id="contentPane" style="width:' . $width . 'px; height:' . $height . 'px;">';
 
392
        $bodyContent .= '<div id="contentPane" style="overflow: none; width:' . $width . 'px; height:' . $height . 'px;">';
393
393
        $bodyContent .= '   <div id="text">';
394
394
        $bodyContent .= '       ' . $text;
395
395
        $bodyContent .= '   </div>';