source: extensions/skeleton/trunk/include/skeleton_page.inc.php @ 28650

Last change on this file since 28650 was 28650, checked in by mistic100, 10 years ago

update for 2.7

File size: 670 bytes
Line 
1<?php
2defined('SKELETON_PATH') or die('Hacking attempt!');
3
4global $page, $template, $conf, $user, $tokens, $pwg_loaded_plugins;
5
6
7# DO SOME STUFF HERE... or not !
8
9
10$template->assign(array(
11  // this is useful when having big blocks of text which must be translated
12  // prefer separated HTML files over big lang.php files
13  'INTRO_CONTENT' => load_language('intro.html', SKELETON_PATH, array('return'=>true)),
14  'SKELETON_PATH' => SKELETON_PATH,
15  'SKELETON_ABS_PATH' => realpath(SKELETON_PATH).'/',
16  ));
17
18$template->set_filename('skeleton_page', realpath(SKELETON_PATH . 'template/skeleton_page.tpl'));
19$template->assign_var_from_handle('CONTENT', 'skeleton_page');
Note: See TracBrowser for help on using the repository browser.