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 
40 39
	echo defined('DEFAULT_CHARSET') ? DEFAULT_CHARSET : 'utf-8'; ?>" />
41 40
	<meta name="description" content="<?php page_description(); ?>" />
42 41
	<meta name="keywords" content="<?php page_keywords(); ?>" />
43
	<?php 
42
<?php 
44 43
	// automatically include optional WB module files (frontend.css, frontend.js)
45
	if (function_exists('register_frontend_modfiles')) {
46
		register_frontend_modfiles('css');
47
		register_frontend_modfiles('js');
48
	} ?>
44
	register_frontend_modfiles('css');
45
	register_frontend_modfiles('js');
46
?>
49 47
	<link rel="stylesheet" type="text/css" href="<?php 
50 48
		echo TEMPLATE_DIR; ?>/template.css" media="screen,projection" />
51 49
	<link rel="stylesheet" type="text/css" href="<?php 
......
102 100
</table>
103 101
<?php 
104 102
// automatically include optional WB module file frontend_body.js)
105
if (function_exists('register_frontend_modfiles_body')) { register_frontend_modfiles_body(); } 
103
	register_frontend_modfiles_body();
106 104
?>
107 105
</body>
108 106
</html>

Also available in: Unified diff