mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #3372 from MichaelCSLWeb/patch-1
Update shortcodes.md
This commit is contained in:
commit
855e700689
@ -85,8 +85,8 @@ plus some `width` and `height` arguments. We'll add defaults to those in our sho
|
||||
urlencode($address),
|
||||
urlencode($address)
|
||||
);
|
||||
$width = (isset($args['width']) && $args['width']) ? $args['width'] : 400;
|
||||
$height = (isset($args['height']) && $args['height']) ? $args['height'] : 300;
|
||||
$width = (isset($arguments['width']) && $arguments['width']) ? $arguments['width'] : 400;
|
||||
$height = (isset($arguments['height']) && $arguments['height']) ? $arguments['height'] : 300;
|
||||
return sprintf(
|
||||
'<iframe width="%d" height="%d" src="%s" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"></iframe>',
|
||||
$width,
|
||||
|
Loading…
x
Reference in New Issue
Block a user