* @author Anika Henke * @author Nicolas Prigent * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) */ // must be run from within DokuWiki if (!defined('DOKU_INC')) die(); @require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */ ?> <?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?> [<?php echo strip_tags($conf['title'])?>]

$tag){ $t = array(); if (!empty($tag[0])) { $t = array($tag[0]); } if(is_array($tag[3])) { $t = array_merge($t,$tag[3]); } $value = tpl_img_getTag($t); if ($value) { echo '
'.$lang[$tag[1]].':
'; if ($tag[2] == 'date') { echo dformat($value); } else { echo hsc($value); } echo '
'; } } ?>