source: extensions/adult_content/charte.php @ 5004

Last change on this file since 5004 was 3331, checked in by flop25, 16 years ago

first commit

File size: 931 bytes
Line 
1<?php
2define('PHPWG_ROOT_PATH','../../');
3include_once(PHPWG_ROOT_PATH.'include/common.inc.php');
4
5$adult_content = get_plugin_data('adult_content');
6
7
8$title = 'Adult content';
9$page['body_id'] = 'adult_content_page';
10include(PHPWG_ROOT_PATH.'include/page_header.php');
11
12
13//include(get_language_filepath('plugin.lang.php', $adult_content->plugin_path));
14load_language('plugin.lang', $adult_content->plugin_path);
15$template->assign(
16  array(
17    'PLUGIN_NAME' => $adult_content->plugin_name
18    ));
19
20$template->set_filename('controller', $adult_content->plugin_path.'include/charte.tpl');
21
22// +-----------------------------------------------------------------------+
23// | html code display                                                     |
24// +-----------------------------------------------------------------------+
25$template->parse('controller');
26include(PHPWG_ROOT_PATH.'include/page_tail.php');
27?>
Note: See TracBrowser for help on using the repository browser.