From d4c61e61a8c538dba420faa1f5725b10c5d7c398 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 16 Jan 2009 19:25:23 +0100 Subject: Use html_flashobject for MultiUploader darcs-hash:20090116182523-7ad00-3bf44603ff1f5193877e0a29400b25a8edc5365a.gz --- inc/html.php | 4 ++-- inc/media.php | 15 +-------------- 2 files changed, 3 insertions(+), 16 deletions(-) (limited to 'inc') diff --git a/inc/html.php b/inc/html.php index 43ab397d0..c697b1f51 100644 --- a/inc/html.php +++ b/inc/html.php @@ -1465,7 +1465,7 @@ function html_flashobject($swf,$width,$height,$params=null,$flashvars=null,$atts // prepare the object attributes if(is_null($atts)) $atts = array(); $atts['width'] = (int) $width; - $atts['height'] = (int) $heigh; + $atts['height'] = (int) $height; if(!$atts['width']) $atts['width'] = 425; if(!$atts['height']) $atts['height'] = 350; @@ -1494,7 +1494,7 @@ function html_flashobject($swf,$width,$height,$params=null,$flashvars=null,$atts // add flashvars if(is_array($flashvars)){ - $out .= ' '.NL; + $out .= ' '.NL; } // alternative content diff --git a/inc/media.php b/inc/media.php index de9273546..b9e7c6c08 100644 --- a/inc/media.php +++ b/inc/media.php @@ -630,20 +630,7 @@ function media_uploadform($ns, $auth){ ?>