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