Project

General

Profile

« Previous | Next » 

Revision 865

Added by doc about 16 years ago

updated basic templates according the template guidelines

View differences:

index.php
1 1
<?php
2
/**
3
 * $Id$
4
 * Website Baker template: blank
5
 * This template is one of four basis templates distributed with Website Baker.
6
 * Use this template for pages where you do not want anything wrapping the 
7
 * content e.g. a page for a global block.
8
 *
9
 * This file contains the Website Baker template function to output the content.
10
 *
11
 * LICENSE: GNU General Public License
12
 * 
13
 * @author     Ryan Djurovich, C. Sommer
14
 * @copyright  GNU General Public License
15
 * @license    http://www.gnu.org/licenses/gpl.html
16
 * @version    2.70
17
 * @platform   Website Baker 2.7
18
 *
19
 * Website Baker is free software; you can redistribute it and/or modify
20
 * it under the terms of the GNU General Public License as published by
21
 * the Free Software Foundation; either version 2 of the License, or
22
 * (at your option) any later version.
23
 *
24
 * Website Baker is distributed in the hope that it will be useful,
25
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27
 * GNU General Public License for more details.
28
*/
2 29

  
3
// $Id$
30
// prevent this file from being accessed directly
31
if (!defined('WB_PATH')) die(header('Location: ../../index.php'));
4 32

  
5
/*
33
// TEMPLATE CODE STARTS BELOW
6 34

  
7
 Website Baker Project <http://www.websitebaker.org/>
8
 Copyright (C) 2004-2008, Ryan Djurovich
9

  
10
 Website Baker is free software; you can redistribute it and/or modify
11
 it under the terms of the GNU General Public License as published by
12
 the Free Software Foundation; either version 2 of the License, or
13
 (at your option) any later version.
14

  
15
 Website Baker is distributed in the hope that it will be useful,
16
 but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 GNU General Public License for more details.
19

  
20
 You should have received a copy of the GNU General Public License
21
 along with Website Baker; if not, write to the Free Software
22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23

  
24
*/
25

  
26
if(!defined('WB_URL')) {
27
	header('Location: ../index.php');
28
	exit(0);
29
}
30

  
35
// output only the page content, nothing else
31 36
page_content();
32 37

  
33 38
?>

Also available in: Unified diff