Project

General

Profile

« Previous | Next » 

Revision 395

Added by Matthias almost 18 years ago

Fixed the possibility to call the index.php of the templates directly in the browser (#291)

View differences:

trunk/wb/templates/allcss/index.php
23 23

  
24 24
*/
25 25

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

  
26 31
?>
27 32
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
28 33
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
trunk/wb/templates/blank/index.php
23 23

  
24 24
*/
25 25

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

  
26 31
page_content();
27 32

  
28 33
?>
trunk/wb/templates/round/index.php
23 23

  
24 24
*/
25 25

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

  
26 31
?>
27 32
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
28 33
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
trunk/wb/templates/simple/index.php
1 1
<?php
2 2

  
3
// $Id: index.php,v 1.4 2005/04/15 06:38:13 rdjurovich Exp $
3
// $Id$
4 4

  
5 5
/*
6 6

  
......
23 23

  
24 24
*/
25 25

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

  
26 31
?>
27 32
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
28 33
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

Also available in: Unified diff