-
Notifications
You must be signed in to change notification settings - Fork 0
/
mod_bytbil.php
34 lines (27 loc) · 1.07 KB
/
mod_bytbil.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
/**
* Bytbil Mod - Entry Point
*
* @copyright (C) Copyright 2010 SoftPower Technology AB
* @Module Bytbil Mod
* @license GNU/GPL
* Any questions regarding this module shall be directed to:
* stefan@softpower.se.
*
* This piece of software is released "as is" and comes with no waranties;
* use and modify it at your own discression. If you have any concern regarding the
* quality of the code or its security; please let me know.
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
JHTML::stylesheet('styles.css', 'modules/mod_bytbil/tmpl/css/');
JHTML::script('jscript.js', 'modules/mod_bytbil/tmpl/js/', $mootools = false);
//$document->addStyleSheet(dirname(__FILE__).DS.'tmpl'.DS.'css'.DS.'styles.css');
// Include the syndicate functions only once
require_once( dirname(__FILE__).DS.'helper.php' );
$xml = bytbilHelper::initialize($params);
$page = bytbilHelper::currentPage('main');
$subPage = bytbilHelper::currentPage('sub');
$defaultURL = bytbilHelper::thisURL($page);
require( JModuleHelper::getLayoutPath( 'mod_bytbil' ) );
?>