| 1 |
lars |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
//$Id: common.php 3970 2011-10-05 10:14:05Z tiefland $
|
|
|
4 |
|
|
|
5 |
/**
|
|
|
6 |
* @author Lars Tiefland <tiefland@weban.de>
|
|
|
7 |
* @copyright 2008 Webagentur Niewerth
|
|
|
8 |
* @package Content-management
|
|
|
9 |
* @subpackage Toolbox
|
|
|
10 |
* @version $Rev: 3970 $
|
|
|
11 |
* @license propietary
|
|
|
12 |
* @filesource
|
|
|
13 |
*
|
|
|
14 |
*/
|
|
|
15 |
|
|
|
16 |
/**
|
|
|
17 |
*
|
|
|
18 |
* @author Lars Tiefland <tiefland@weban.de>
|
|
|
19 |
* @copyright 2008 Webagentur Niewerth
|
|
|
20 |
*/
|
|
|
21 |
|
|
|
22 |
setlocale( LC_TIME, "de_DE" );
|
|
|
23 |
|
|
|
24 |
require_once "../Online-Shop/connect2.php";
|
|
|
25 |
require_once "Weban_Smarty.class.php";
|
|
|
26 |
require_once "module/weban/weban_utils.class.php";
|
|
|
27 |
|
|
|
28 |
$GLOBALS["ui"] = new Weban_Smarty();
|
|
|
29 |
$GLOBALS["ui"]->compile_dir = $_SERVER["DOCUMENT_ROOT"] . "/templates_c/";
|
|
|
30 |
$GLOBALS["ui"]->compile_id = "toolbox_" . $webs["ID"];
|
|
|
31 |
$GLOBALS["ui"]->use_sub_dirs = true;
|
|
|
32 |
|
|
|
33 |
$GLOBALS["ui"]->assign( "web_id", $webs["ID"] );
|
|
|
34 |
$GLOBALS["ui"]->assign( "web_rechte", $web_rechte );
|
|
|
35 |
$GLOBALS["ui"]->assign( "user_rechte", $user_rechte );
|
|
|
36 |
$GLOBALS["ui"]->assign( "site", $site );
|
|
|
37 |
$GLOBALS["ui"]->assign( "webs", $webs );
|
|
|
38 |
?>
|