[zi-cvs] packages/com.zzoss.zis.toolbar package.xml,NONE,1.1 toolbar.php,NONE,1.1 toolbar_admin_applications.php,NONE,1.1 toolbar_admin_distributions.php,NONE,1.1 toolbar_admin_packages.php,NONE,1.1

Christian Zonsius <[email protected]> Tue, 18 May 2004 01:16:47 +0000
Newsgroups gmane.comp.php.zzoss.installer.cvs
Message-ID <[email protected]>
Update of /cvsroot/zzossinstaller/packages/com.zzoss.zis.toolbar
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20623

Added Files:
	package.xml toolbar.php toolbar_admin_applications.php 
	toolbar_admin_distributions.php toolbar_admin_packages.php 
Log Message:
initial commit

--- NEW FILE: toolbar_admin_applications.php ---
<?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_admin_applications.php,v 1.1 2004/05/18 01:16:44 czonsius Exp $
    @copyright Copyright &copy; 2001-2004 ZZ/OSS GbR, http://www.zzoss.com
    @license http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
    */
    ?>
    <div class="item<?php zi_toolbar_selected('list'); ?>">
        <a href="applications.php<?php if(isset($_REQUEST['mode'])) echo '?mode='.$_REQUEST['mode']; ?>&nav_child=list" title="List">
        <!--<img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/run.gif" align="absmiddle" border="0" alt="Install" title="Install"> -->List</a>
    </div>
    <div class="item<?php zi_toolbar_selected('add'); ?>">
        <a href="application_add.php<?php if(isset($_REQUEST['mode'])) echo '?mode='.$_REQUEST['mode']; ?>&nav_child=add" title="Add">
        <!--<img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/kpackage.gif" align="absmiddle" border="0" alt="Bundle" title="Bundle"> -->Add</a>
    </div>
--- NEW FILE: toolbar_admin_packages.php ---
<?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_admin_packages.php,v 1.1 2004/05/18 01:16:44 czonsius Exp $
    @copyright Copyright &copy; 2001-2004 ZZ/OSS GbR, http://www.zzoss.com
    @license http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
    */
    ?>
    <div class="item<?php zi_toolbar_selected('list'); ?>">
        <a href="packages.php<?php if(isset($_REQUEST['mode'])) echo '?mode='.$_REQUEST['mode']; ?>&nav_child=list" title="List">
        <!--<img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/run.gif" align="absmiddle" border="0" alt="Install" title="Install"> -->List</a>
    </div>
    <div class="item<?php zi_toolbar_selected('add'); ?>">
        <a href="package_add.php<?php if(isset($_REQUEST['mode'])) echo '?mode='.$_REQUEST['mode']; ?>&nav_child=add" title="Add">
        <!--<img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/kpackage.gif" align="absmiddle" border="0" alt="Bundle" title="Bundle"> -->Add</a>
    </div>
--- NEW FILE: toolbar_admin_distributions.php ---
<?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_admin_distributions.php,v 1.1 2004/05/18 01:16:44 czonsius Exp $
    @copyright Copyright &copy; 2001-2004 ZZ/OSS GbR, http://www.zzoss.com
    @license http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
    */
    ?>
    <div class="item<?php zi_toolbar_selected('list'); ?>">
        <a href="distributions.php<?php if(isset($_REQUEST['mode'])) echo '?mode='.$_REQUEST['mode']; ?>&nav_child=list" title="List">
        <!--<img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/run.gif" align="absmiddle" border="0" alt="Install" title="Install"> -->List</a>
    </div>
    <div class="item<?php zi_toolbar_selected('add'); ?>">
        <a href="distribution_add.php<?php if(isset($_REQUEST['mode'])) echo '?mode='.$_REQUEST['mode']; ?>&nav_child=add" title="Add">
        <!--<img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/kpackage.gif" align="absmiddle" border="0" alt="Bundle" title="Bundle"> -->Add</a>
    </div>
--- NEW FILE: package.xml ---
<?xml version="1.0" encoding="ISO-8859-1" ?>
<package version="1.0">
    <name>com.zzoss.zis.toolbar</name>
    <summary>Toolbar for ZIS-compatible themes</summary>
    <description>Admin- and user-toolbars for ZIS</description>
    <maintainers>
        <maintainer>
            <user>czonsius</user>
            <name>Christian Zonsius</name>
            <email>[email protected]</email>
            <role>developer</role>
        </maintainer>
    </maintainers>
    <release>
        <version>0.1.0</version>
        <date>{zi_release_date}</date>
        <license url="http://www.gnu.org/licenses/lgpl.txt" version="2">LGPL</license>
        <copyright>
            <holder year="{zi_copyright_year}" url="http://www.zzoss.com">ZZ/OSS</holder>
        </copyright>
        <state>stable</state>
        <notes>Initial release.</notes>
        <filelist>
            <file role="php" basinstalldir="" name="toolbar.php"/>
            <file role="php" basinstalldir="" name="toolbar_admin_distributions.php"/>
            <file role="php" basinstalldir="" name="toolbar_admin_applications.php"/>
            <file role="php" basinstalldir="" name="toolbar_admin_packages.php"/>
        </filelist>
    </release>
</package>
--- NEW FILE: toolbar.php ---
<?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.1 2004/05/18 01:16:44 czonsius Exp $
    @copyright Copyright &copy; 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'])) {
			$_REQUEST['mode'] = '';
		}
		switch($_REQUEST['mode']) {
			case 'applications'	:	require_once 'inc/toolbar_admin_applications.php';
									break;
			case 'packages'		: 	require_once 'inc/toolbar_admin_packages.php';
									break;
			default				:	require_once 'inc/toolbar_admin_distributions.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>


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click