* @author Anika Henke * @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 */ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER['REMOTE_USER'] ); $showSidebar = tpl_getConf('sidebarID') && page_exists(tpl_getConf('sidebarID')) && ($ACT=='show'); ?> <?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?> [<?php echo strip_tags($conf['title'])?>] are added to make it possible to e.g. style a page differently if it's in edit mode, see http://www.dokuwiki.org/devel:action_modes for a list of action modes */ ?>

$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 '
'; } } ?>

= AUTH_UPLOAD) && function_exists('media_managerURL')) { $mmURL = media_managerURL(array('ns' => $imgNS, 'image' => $IMG)); echo ''.$lang['img_manager'].'
'; } ?> ←