Project

General

Profile

« Previous | Next » 

Revision 458

Added by doc over 17 years ago

Added package which allows to integrate optional JS & CSS module files (frontend.css, frontend.js, backend.css, backend.js) into the <head> section of the HTML code. This allows developers to code modules which creates (X)HTML valid output.

View differences:

index.php
38 38
<meta name="keywords" content="<?php page_keywords(); ?>" />
39 39
<link href="<?php echo TEMPLATE_DIR; ?>/screen.css" rel="stylesheet" type="text/css" media="screen" />
40 40
<link href="<?php echo TEMPLATE_DIR; ?>/print.css" rel="stylesheet" type="text/css" media="print" />
41
<?php page_css(); ?>
42
<?php page_javascript(); ?>
41
<?php
42
if(function_exists('register_frontend_modfiles')) {
43
  register_frontend_modfiles('css');
44
  register_frontend_modfiles('js');
45
} ?>
43 46
</head>
44 47
<body>
45 48

  

Also available in: Unified diff