1<?php
2/** Multitemplate for DokuWiki
3 * By Terence J. Grant
4 * tjgrant [at] tatewake [dot] com
5 * License: GPL v2
6 */
7
8@include(dirname(__FILE__).'/../../local_pref.php');
9
10if (isset($ID) == TRUE)
11{
12	foreach($multitemplate as $mt_namespace => $mt_othertemplate)
13	{
14		if (mt_beginsWith($ID, $mt_namespace))
15		{
16			@include(dirname(__FILE__).'/'.'../../../'.$mt_othertemplate.'/'.$mt_file);
17			break;
18		}
19	}
20}
21else
22{
23	@include(dirname(__FILE__).'/'.'../../../'.$multitemplate[''].'/'.$mt_file);
24}
25
26?>
27
28