if (isset($newmail_mediacompat_mode) && $newmail_mediacompat_mode)
$ret.= newmail_media_embed($object,$types[0],$path,$args,$addsuffix);
- // add $extra code inside objects
+ // add $extra code inside objects
if ($extra!='')
$ret.=$extra . "\n";
/**
* Creates embed tags of multimedia object
- *
+ *
* docs about embed
* Apple: http://www.apple.com/quicktime/authoring/embed.html
*
case SM_NEWMAIL_FILETYPE_MP3:
case SM_NEWMAIL_FILETYPE_SVG:
default:
- $ret_embed='';
+ $ret_embed='';
}
return $ret_embed;
}
/**
* Adds closing tags for ie object
* Warning:
- * * This is internal function, use newmail_media_objects() instead
+ * * This is internal function, use newmail_media_objects() instead
* @param integer $type media object type
* @return string closing tag of media object
*/
case SM_NEWMAIL_FILETYPE_OGG:
case SM_NEWMAIL_FILETYPE_SVG:
default:
- $ret_end='';
+ $ret_end='';
}
return $ret_end;
}
/**
* Adds closing tags for object
* Warning:
- * * This is internal function, use newmail_media_objects() instead
+ * * This is internal function, use newmail_media_objects() instead
* @param integer $type media object type
* @return string closing tag of media object
*/
$ret_end="</object>\n";
break;
default:
- $ret_end='';
+ $ret_end='';
}
return $ret_end;
}
/**
* Adds closing tags for object
* Warning:
- * * This is internal function, use newmail_media_objects() instead
+ * * This is internal function, use newmail_media_objects() instead
* @param integer $type media object type
* @return string closing tag of media object
*/
case SM_NEWMAIL_FILETYPE_MP3:
case SM_NEWMAIL_FILETYPE_SVG:
default:
- $ret_end='';
+ $ret_end='';
}
return $ret_end;
}
* Converts media attributes to string
* Warning:
* * attribute values are automatically sanitized by htmlspecialchars()
- * * This is internal function, use newmail_media_objects() instead
+ * * This is internal function, use newmail_media_objects() instead
* @param array $args array with object attributes
* @return string string with object attributes
*/
function newmail_media_prepare_args($args) {
$ret_args='';
foreach ($args as $arg => $value) {
- $ret_args.= $arg . '="' . htmlspecialchars($value) . '" ';
+ $ret_args.= $arg . '="' . htmlspecialchars($value) . '" ';
}
return $ret_args;
}