}
- if($debugOutput) {
+ if(!strcmp($debugOutput,"true")) {
print "$xml";
}
* This reference will be embedded using the G2 internal player,
* or an external player if provided by the user.
*/
- if(!$useInternalFlvPlayer) {
+ if(!strcmp($useInternalFlvPlayer,"false")) {
/*
* The user has indicated they want to use an external flv player
$tmpFile = $platform->tempnam($tmpDir, 'add');
$tmpFile.= ".jpg";
- if($debugOutput) {
+ if(!strcmp($debugOutput,"true")) {
print "thumbnail: $thumbnail <br>";
}
$fileName = preg_replace("/&#\d+;/","",$fileName);
/* General debug output */
- if($debugOutput) {
+ if(!strcmp($debugOutput,"true")) {
print "<p><a href=\"".$title."\" target=\"_blank\">";
print "<img src=\"".$thumbnail."\">\n</a>".$summary."</p>";
print "<p>$description</p>";