outputPDF()){ $link = $playlist_object->displayLink('pdf'); } else { $_ERROR[] = 'Playlist PDF could not be created. Please try again.'; } } $_PAGE['stylesheets'][] = 'listpage.css'; $pagetitle = 'Print Playlist'; include("$incdir/site-top.inc"); print '
' . "\n"; print '

Print Playlist

' . "\n"; if($_ERROR){ print errorList($_ERROR); } else { print '

Your playlist has been created and is ready for printing. Click the link below to download:

' . "\n"; } if($link){ print "

$link

\n"; print '

You can make adjustments to this playlist and print it again.

' . "\n"; } else if($_ERROR){ print '

Learn more about playlists.

' . "\n"; } print "
\n"; include("$incdir/site-rightcolumn.inc"); include("$incdir/site-base.inc"); ?>