Exemplo n.º 1
0
<?php

header("Content-Type: text/css");
$config_atkroot = "./";
include_once "atk.inc";
// dummy namespace. if we don't use dummy here, the session is corrupted
// because style.php is loaded between two dispatch.php calls.
atksession("dummy");
atksecure();
include_once "./theme.inc";
?>

BODY
{
  font-family: <?php 
echo $g_theme["FontFamily"];
?>
;
  font-size: <?php 
echo $g_theme["FontSize"];
?>
pt;
  font-weight: <?php 
echo $g_theme["FontWeight"];
?>
;
  background-color: <?php 
echo $g_theme["BgColor"];
?>
;
  color: <?php 
Exemplo n.º 2
0
 *
 * @author Ivo Jansch <*****@*****.**>
 * @author Peter C. Verhage <*****@*****.**>
 *
 * @copyright (c)2000-2004 Ibuildings.nl BV
 * @license http://www.achievo.org/atk/licensing ATK Open Source License
 *
 * @version $Revision$
 * $Id$
 */
/**
 * @internal includes
 */
$config_atkroot = "./";
include_once "atk.inc";
atksession();
atksecure();
require "theme.inc";
atkimport("atk.ui.atktheme");
$output =& atkOutput::getInstance();
$page =& atkinstance("atk.ui.atkpage");
$page->unregister_all_scripts();
$theme =& atkTheme::getInstance();
$ui =& atkinstance("atk.ui.atkui");
/* general menu stuff */
/* load menu layout */
atkimport("atk.menu.atkmenu");
$menu =& atkMenu::getMenu();
if (is_object($menu)) {
    $output->output($menu->render());
} else {
Exemplo n.º 3
0
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * Achievo is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */
/* Setup the system */
$config_atkroot = "./";
include_once "atk.inc";
include_once "theme.inc";
include_once moduleDir("graph") . "jpgraph/jpgraph.php";
atksession("img", false);
atksecure();
// Create attribute.
$plottersource = $ATK_VARS["plotter"];
useattrib($plottersource);
list($module, $attribname) = explode(".", $plottersource);
$plotterclass = $attribname . "Plotter";
$res = false;
if (class_exists($plotterclass)) {
    // Since php does not support calling static methods
    // on a 'dynamic' class (where the name is inside a
    // variable), we use a companion plotter class to
    // plot stuff.
    $plotter = new $plotterclass();
    $res = $plotter->plot($ATK_VARS);
} else {