1<?php
2define("DOKU_INC", realpath(dirname(__FILE__).'/../../../../') . '/');
3require_once DOKU_INC . 'inc/init.php';
4require_once DOKU_INC . 'inc/template.php';
5
6  global $INPUT;
7  $page = $INPUT->str('dw_id');
8  $page = urldecode($page);
9  $page = ltrim($page, ':');
10
11$t= trim(tpl_pagetitle($page,1));
12  echo htmlentities($t) . "\n";
13
14