swftools-imagerotator-playlist-wrapper.tpl.php in SWF Tools 6.3
Template for the xml wrapper around an ImageRotator playlist.
1 theme call to swftools-imagerotator-playlist-wrapper.tpl.php
- swftools_imagerotator_swftools_playlist_imagerotator in imagerotator/
swftools_imagerotator.module - Implementation of hook_swftools_playlist_PLAYER().
File
imagerotator/swftools-imagerotator-playlist-wrapper.tpl.phpView source
<?php
/**
* @file
* Template for the xml wrapper around an ImageRotator playlist.
*/
/**
* Prepare xml output for a playlist
* The markup is placed in a template so that it can be easily over-ridden by the theme system
* to allow flexibility
*
* This template wraps the xml headers and footers around the xml markup that was produced using
* the wijering4-playlist-elements template.
*
* Available variables:
* - $header: An array of data that can be used to inject variables to the markup.
* - $xml: The markup that describes all the playlist elements.
*
*/
?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<title><?php
print $header['title'];
?></title>
<trackList>
<?php
print $xml;
?>
</trackList>
</playlist>