Beispiel #1
0
 * @copyright (c)2000-2004 Ibuildings.nl BV
 * @license http://www.achievo.org/atk/licensing ATK Open Source License
 *
 * @version $Revision: 6301 $
 * $Id: app.php 6354 2009-04-15 02:41:21Z mvdam $
 */
/**
 * @internal includes..
 */
$config_atkroot = "./";
include_once "atk.inc";
atksession();
atksecure();
$output = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">';
$output .= "\n<html>\n <head>\n";
$output .= '  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=' . atkGetCharset() . '">';
$output .= "\n  <title>" . atktext('app_title') . "</title>\n </head>\n";
atkimport("atk.menu.atkmenu");
atkimport("atk.utils.atkframeset");
$menu =& atkMenu::getMenu();
$theme =& atkinstance('atk.ui.atktheme');
$position = $menu->getPosition();
$scrolling = $menu->getScrollable() == MENU_SCROLLABLE ? FRAME_SCROLL_AUTO : FRAME_SCROLL_NO;
if (isset($ATK_VARS["atknodetype"]) && isset($ATK_VARS["atkaction"])) {
    $destination = "dispatch.php?atknodetype=" . $ATK_VARS["atknodetype"] . "&atkaction=" . $ATK_VARS["atkaction"];
    if (isset($ATK_VARS["atkselector"])) {
        $destination .= "&atkselector=" . $ATK_VARS["atkselector"];
    }
} else {
    $destination = "welcome.php";
}
Beispiel #2
0
 function Convert($aTxt, $aFF)
 {
     return atk_iconv(atkGetCharset(), "utf-8", $aTxt);
 }