<?php
/*
Copyright (C) 2001-2004 ZZOSS GbR, http://www.zzoss.com
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**
@version $Id: toolbar.php,v 1.5 2004/04/06 19:51:09 ordnas Exp $
@copyright Copyright © 2001-2004 ZZ/OSS GbR, http://www.zzoss.com
@license http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
*/
function zi_toolbar_selected($nav)
{
if(isset($_SESSION['nav_child']) && $_SESSION['nav_child'] == $nav){
echo '_selected';
}
if(isset($_REQUEST['mode']) && $_REQUEST['mode'] == 'dev'){
echo '_dev';
}
}
?><div class="toolbar"><?php
if(isset($_REQUEST['mode']) && !$GLOBALS['ZI']['is_single_app'] && $GLOBALS['ZI']['mode'] != 'setup'){
switch($_REQUEST['mode']){
case 'dev':
require_once 'inc/toolbar_dev.php';
break;
case 'installer':
require_once 'inc/toolbar_installer.php';
break;
default:
if($_REQUEST['mode'] != 'setup'){
require_once 'inc/toolbar_apps.php';
}
break;
}
}
?>
<div class="item_last">
<a href="about.php" onclick="javascript:window.open('about.php', 'About', 'width=400,height=400,resizable=1,status=0,scrollbars=1,toolbar=0,location=0,directories=0,menubar=0,dependent=0');void(0);javascript:return(false);" target="_blank" title="About"><!--<img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/16x16/info.gif" alt="About Installer" title="About Installer">-->About</a>
</div>
</div>