swftools-tiltviewer-playlist-wrapper.tpl.php in SWF Tools 6.3
Template for the xml wrapper around a TiltViewer playlist.
1 theme call to swftools-tiltviewer-playlist-wrapper.tpl.php
- swftools_tiltviewer_swftools_playlist_tiltviewer in tiltviewer/
swftools_tiltviewer.module - Implementation of hook_swftools_playlist().
File
tiltviewer/swftools-tiltviewer-playlist-wrapper.tpl.phpView source
<?php
/**
* @file
* Template for the xml wrapper around a TiltViewer 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.
*
*/
// Open xml file
print '<?xml version="1.0" encoding="UTF-8"?>';
// Define gallery settings
print '<tiltviewergallery>';
print '<photos>';
// Output image list
print $xml;
// Close gallery
print '</photos>';
print '</tiltviewergallery>';