~a-mari/xibo/client-qt

« back to all changes in this revision

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

  • Committer: Dan Garner
  • Date: 2014-07-15 15:59:36 UTC
  • mfrom: (332.4.47 server-162)
  • Revision ID: dan@xibo.org.uk-20140715155936-3g7ihhbqx4ekhyk8
MergedĀ lp:~dangarner/xibo/server-162

Show diffs side-by-side

added added

removed removed

Lines of Context:
323
323
        $widthPx        = $width.'px';
324
324
        $heightPx       = $height.'px';
325
325
 
326
 
        return '<iframe scrolling="no" id="innerIframe" src="index.php?p=module&mod=' . $mediaType . '&q=Exec&method=GetResource&raw=true&preview=true&layoutid=' . $layoutId . '&regionid=' . $regionId . '&mediaid=' . $mediaId . '&lkid=' . $lkId . '&width=' . $width . '&height=' . $height . '" width="' . $widthPx . '" height="' . $heightPx . '" style="border:0;"></iframe>';
 
326
        return '<iframe scrolling="no" id="innerIframe" src="index.php?p=module&mod=' . $mediaType . '&q=Exec&method=GetResource&raw=true&preview=true&scale_override=1&layoutid=' . $layoutId . '&regionid=' . $regionId . '&mediaid=' . $mediaId . '&lkid=' . $lkId . '&width=' . $width . '&height=' . $height . '" width="' . $widthPx . '" height="' . $heightPx . '" style="border:0;"></iframe>';
327
327
    }
328
328
 
329
329
    /**
366
366
            'originalWidth' => $this->width,
367
367
            'originalHeight' => $this->height,
368
368
            'previewWidth' => Kit::GetParam('width', _GET, _DOUBLE, 0),
369
 
            'previewHeight' => Kit::GetParam('height', _GET, _DOUBLE, 0)
 
369
            'previewHeight' => Kit::GetParam('height', _GET, _DOUBLE, 0),
 
370
            'scaleOverride' => Kit::GetParam('scale_override', _GET, _DOUBLE, 0)
370
371
        );
371
372
 
372
373
        // See if we need to replace out any [clock] or [date] tags