#2011 minor fix + typo fixes

This commit is contained in:
tomash 2006-11-21 23:23:33 +00:00
parent f48c22f1c8
commit 007b5caa6c
3 changed files with 4 additions and 3 deletions

View File

@ -1193,6 +1193,7 @@ class BasicStor extends Alib {
}
$gunids = array_merge($gunids, $gunidsX);
}
# header("Content-type: text/plain"); var_dump($gunids); var_dump($withContent); exit;
$plExts = array('lspl'=>"lspl", 'smil'=>"smil", 'm3u'=>"m3u");
$plExt = (isset($plExts[$type]) ? $plExts[$type] : "xml" );
$res = array();
@ -1225,7 +1226,7 @@ class BasicStor extends Alib {
$string = $r = $ac->output2Smil();
break;
case"m3u":
$string = $r = $ac->output2M3U();
$string = $r = $ac->output2m3u();
break;
default:
$string = $r = $ac->md->genXmlDoc();

View File

@ -903,7 +903,7 @@ class GreenBox extends BasicStor {
*/
public function exportPlaylistOpen($sessid, $plids, $type='lspl', $standalone=FALSE)
{
return $this->bsExportPlaylistOpen($plids, $type, $standalone);
return $this->bsExportPlaylistOpen($plids, $type, !$standalone);
} // fn exportPlaylistOpen

View File

@ -461,7 +461,7 @@ class LsPlaylistElement {
* @link http://www.campware.org
* @todo Rename this class to PlaylistAudioClip (notice the caps)
*/
class LsPLaylistAudioClip
class LsPlaylistAudioClip
{
function output2Smil(&$pl, $plac, $ind='')