Lines Matching refs:opts
42 $opts = array(
57 $opts['width'] = $matches[1];
58 if(!$matches[2]) $opts['width'] .= 'px'; //default to pixel when no unit was set
59 $opts['height'] = $matches[4];
60 if(!$matches[5]) $opts['height'] .= 'px'; //default to pixel when no unit was set
63 $opts['height'] = $matches[1];
64 if(!$matches[2]) $opts['height'] .= 'px'; //default to pixel when no unit was set
70 $opts['scroll'] = false;
73 $opts['border'] = false;
76 $opts['align'] = $matches[1];
79 return $opts;
110 $opts = array(
115 if(!$data['border']) $opts['frameborder'] = 0;
116 if(!$data['scroll']) $opts['scrolling'] = 'no';
117 if($data['align']) $opts['align'] = $data['align'];
118 $params = buildAttributes($opts);