Line | |
---|
1 | <?php |
---|
2 | define('PHPWG_ROOT_PATH','../../'); |
---|
3 | include_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'; |
---|
10 | include(PHPWG_ROOT_PATH.'include/page_header.php'); |
---|
11 | |
---|
12 | |
---|
13 | //include(get_language_filepath('plugin.lang.php', $adult_content->plugin_path)); |
---|
14 | load_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'); |
---|
26 | include(PHPWG_ROOT_PATH.'include/page_tail.php'); |
---|
27 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.