Project

General

Profile

« Previous | Next » 

Revision 1643

Added by darkviper over 12 years ago

added backend functions to copy themes and import htt-template files according to the the new theme fallback functionality

View differences:

index.php
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1 2
<?php
2 3
/**
3 4
 * $Id$
......
32 33

  
33 34
// TEMPLATE CODE STARTS BELOW
34 35
?>
35
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
36
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
37 36
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
38 37
<head>
39 38
	<meta http-equiv="Content-Type" content="text/html; charset=<?php 
......
45 44
	<link rel="stylesheet" type="text/css" href="<?php
46 45
	echo TEMPLATE_DIR; ?>/print.css" media="print" />
47 46
	<title><?php page_title('', '[WEBSITE_TITLE]'); ?></title>
48
	<?php
47
<?php
49 48
	// automatically include optional WB module files (frontend.css, frontend.js)
50
	if (function_exists('register_frontend_modfiles')) {
51
		register_frontend_modfiles('css');
52
		// register_frontend_modfiles('jquery');
53
		register_frontend_modfiles('js');
54
	} ?>
49
	register_frontend_modfiles('css');
50
	// register_frontend_modfiles('javascript');
51
	register_frontend_modfiles('js');
52
?>
55 53
</head>
56 54

  
57 55
<body>
......
142 140
</div>
143 141
<?php 
144 142
// automatically include optional WB module file frontend_body.js)
145
if (function_exists('register_frontend_modfiles_body')) { register_frontend_modfiles_body(); } 
143
	register_frontend_modfiles_body();
146 144
?>
147 145
</body>
148 146
</html>

Also available in: Unified diff