/shortcodes.css'
type='text/css'
media='screen' />
/jquery.fancybox/jquery.fancybox.css'
type='text/css'
media='screen' />
'',
'scale' => '',
'float' => '',
'orient' => ''
),
$atts
)
);
$newcontent =
"
";
if( $title != "" ) $newcontent .= "
$title
\n";
foreach( explode("\n", $content) as $line )
{
// strip the
tag added by wpautop et al
$line = preg_replace("/\s*\
";
if( $orient == 'portrait' )
$newcontent .= "
";
}
$newcontent .= "
\n";
$galleryctr++;
return($newcontent);
}
?>
''
),
$atts
)
);
$content = preg_replace("/\
/", " ", $content);
$newcontent = "\n";
foreach( explode("$$$", $content) as $qa )
{
if( ! (list($q, $a) = preg_split("/\@\@\@/", $qa, 2)) )
continue;
$newcontent .=
"
";
}
$newcontent .= "
\n";
return($newcontent);
}
?>