* @author Klaus Vormweg */ // must be run from within DokuWiki if (!defined('DOKU_INC')) die(); echo ' ', hsc(tpl_img_getTag('IPTC.Headline',$IMG)), ' [', strip_tags($conf['title']),'] '; tpl_metaheaders(); echo '
'; html_msgarea(); echo '
'; if($ERROR) { print $ERROR; } else { echo '

', hsc(tpl_img_getTag('IPTC.Headline',$IMG)), '

'; tpl_img(900,500); echo '

'; print nl2br(hsc(tpl_img_getTag('simple.title'))); echo '

'; echo '
'; $config_files = getConfigFiles('mediameta'); foreach ($config_files as $config_file) { if(@file_exists($config_file)) include($config_file); } foreach($fields as $key => $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 '
'; } } echo '
'; echo ' '; $imgNS = getNS($IMG); $authNS = auth_quickaclcheck("$imgNS:*"); if ($authNS >= AUTH_UPLOAD) { echo '

'.$lang['img_manager'].'

'; } } echo '
'; ?>