* @license GPL 2 (http://www.gnu.org/licenses/gpl.html) */ if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */ @require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */ ?>
$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 if ($tag[1] == 'img_width' || $tag[1] == 'img_height') {
echo hsc($value);
echo 'px';
} else {
echo hsc($value);
}
echo '
';
}
}
?>