]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Sidebar/templates/frameset.tmpl
rcs_id no longer makes sense with Subversion global version number
[SourceForge/phpwiki.git] / themes / Sidebar / templates / frameset.tmpl
1 <?php // -*-php-*-
2 // rcs_id('$Id$');
3
4 /*
5  * This template is used for the FrameInclude plugin.
6  */
7
8 $topurl = $request->getURLtoSelf(array('frame' => 'header'));
9 $boturl = $request->getURLtoSelf(array('frame' => 'footer'));
10 $lefturl = $request->getURLtoSelf(array('frame' => 'left'));
11
12 printf("<?xml version=\"1.0\" encoding=\"%s\"?>\n", CHARSET);
13 ?>
14 <!DOCTYPE html   PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
15   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
16 <html xmlns="http://www.w3.org/1999/xhtml">
17 <?= Template('head') ?>
18
19 <frameset rows="<?=$ROWS?>">
20   <frame name="header" src="<?=$topurl?>" <?= $FRAMEARGS ?> />
21   <frameset cols="<?=$COLS?>">
22     <frame name="left" src="<?=$lefturl?>" <?= $FRAMEARGS ?> />
23     <?= $CONTENT_FRAME ?>
24   </frameset>
25   <frame name="footer" src="<?=$boturl?>" <?= $FRAMEARGS ?> />
26   <noframes><?= Template('body') ?></noframes>
27 </frameset>
28 </html>