Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?php

    //$Id: common.php 3970 2011-10-05 10:14:05Z tiefland $

    /**
     * @author Lars Tiefland <tiefland@weban.de>
     * @copyright 2008 Webagentur Niewerth
     * @package Content-management
     * @subpackage Toolbox
     * @version $Rev: 3970 $
     * @license propietary
     * @filesource
     * 
     */

    /**
     * 
     * @author Lars Tiefland <tiefland@weban.de>
     * @copyright 2008 Webagentur Niewerth
     */

    setlocale( LC_TIME, "de_DE" );

    require_once "../Online-Shop/connect2.php";
    require_once "Weban_Smarty.class.php";
    require_once "module/weban/weban_utils.class.php";

    $GLOBALS["ui"] = new Weban_Smarty();
    $GLOBALS["ui"]->compile_dir = $_SERVER["DOCUMENT_ROOT"] . "/templates_c/";
    $GLOBALS["ui"]->compile_id = "toolbox_" . $webs["ID"];
    $GLOBALS["ui"]->use_sub_dirs = true;

    $GLOBALS["ui"]->assign( "web_id", $webs["ID"] );
    $GLOBALS["ui"]->assign( "web_rechte", $web_rechte );
    $GLOBALS["ui"]->assign( "user_rechte", $user_rechte );
    $GLOBALS["ui"]->assign( "site", $site );
    $GLOBALS["ui"]->assign( "webs", $webs );
?>