[zi-cvs] packages/com.zzoss.zic/inc toolbar.php,NONE,1.1 toolbar_apps.php,NONE,1.1 toolbar_dev.php,NONE,1.1 toolbar_installer.php,NONE,1.1 config_params.php,1.2,1.3 form.php,1.5,1.6
[email protected] Fri, 05 Mar 2004 06:25:27 -0800
| Newsgroups | gmane.comp.php.zzoss.installer.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/zzossinstaller/packages/com.zzoss.zic/inc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8129/com.zzoss.zic/inc
Modified Files:
config_params.php form.php
Added Files:
toolbar.php toolbar_apps.php toolbar_dev.php
toolbar_installer.php
Log Message:
new plugin architecture in installer
--- 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/03/05 14:25:25 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
*/
if(isset($_REQUEST['mode'])){
switch($_REQUEST['mode']){
case 'dev':
require_once 'inc/toolbar_dev.php';
break;
case 'installer':
require_once 'inc/toolbar_installer.php';
break;
default:
require_once 'inc/toolbar_apps.php';
break;
}
}
?>
--- NEW FILE: toolbar_apps.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_apps.php,v 1.1 2004/03/05 14:25:25 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
*/
?>
<p>
<div class="toolbar">
<div class="item">
<a href="applications.php<?php if(isset($_REQUEST['mode'])) echo '?mode='.$_REQUEST['mode']; ?>" title="Applications">
<img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/run.png" align="absmiddle" border="0" alt="Install" title="Install"> Applications</a>
</div>
<div class="item">
<a href="bundle.php<?php if(isset($_REQUEST['mode'])) echo '?mode='.$_REQUEST['mode']; ?>" title="Bundle">
<img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/kpackage.png" align="absmiddle" border="0" alt="Bundle" title="Bundle"> Bundle</a>
</div>
</div>
</p>
--- NEW FILE: toolbar_dev.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_dev.php,v 1.1 2004/03/05 14:25:25 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
*/
?>
<p>
<div class="toolbar">
<div class="item">
<a href="applications.php<?php if(isset($_REQUEST['mode'])) echo '?mode='.$_REQUEST['mode']; ?>" title="Applications">
<img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/run.png" align="absmiddle" border="0" alt="Install" title="Install"> Applications</a>
</div>
<div class="item">
<a href="bundle.php<?php if(isset($_REQUEST['mode'])) echo '?mode='.$_REQUEST['mode']; ?>" title="Bundle">
<img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/kpackage.png" align="absmiddle" border="0" alt="Bundle" title="Bundle"> Bundle</a>
</div>
<div class="item">
<a href="dev_import_xml.php?mode=dev" title="Descriptors">
<img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/make.png" align="absmiddle" border="0" alt="Descriptors" title="Descriptors"> Descriptors</a>
</div>
<div class="item">
<a href="dev_package.php?mode=dev" title="Packages">
<img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/package.png" align="absmiddle" border="0" alt="Packages" title="Packages"> Packages</a>
</div>
</div>
</p>
--- NEW FILE: toolbar_installer.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_installer.php,v 1.1 2004/03/05 14:25:25 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
*/
?>
<p>
<div class="toolbar">
<div class="item">
<a href="options.php?distribution=<?php echo $GLOBALS['ZI']['installer_distribution']; ?>&application=<?php echo $GLOBALS['ZI']['installer_application']; ?>&mode=installer" title="Options">
<img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/package_settings.png" align="absmiddle" border="0" alt="options" title="Options"> Options</a>
</div>
<div class="item">
<a href="packages.php?type=plugin&distribution=<?php echo $GLOBALS['ZI']['installer_distribution']; ?>&application=<?php echo $GLOBALS['ZI']['installer_application']; ?>&mode=installer" title="Plugins">
<img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/blockdevice.png" align="absmiddle" border="0" alt="Plugins" title="Plugins"> Plugins</a>
</div>
<div class="item">
<a href="installer_user.php?mode=installer" title="User">
<img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/kuser.png" align="absmiddle" border="0" alt="User" title="User"> User</a>
</div>
<?php
if($GLOBALS['ZI']['installer_dev']) {
?>
<div class="item">
<a href="dev_application_import.php?distribution=<?php echo $GLOBALS['ZI']['installer_distribution']; ?>&application=<?php echo $GLOBALS['ZI']['installer_application']; ?>&mode=installer" title="Descriptors">
<img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/make.png" align="absmiddle" border="0" alt="Descriptors" title="Descriptors"> Descriptors</a>
</div>
<?php
}
?>
<div class="item">
<a href="installer_remove.php?mode=installer" title="Remove">
<img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/trashcan_empty.png" align="absmiddle" border="0" alt="Remove" title="Remove"> Remove</a>
</div>
</div>
</p>
Index: config_params.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.zic/inc/config_params.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** config_params.php 1 Jan 2004 15:41:20 -0000 1.2
--- config_params.php 5 Mar 2004 14:25:25 -0000 1.3
***************
*** 23,31 ****
@license http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
*/
! $GLOBALS['ZI']['version'] = '1.0.2';
$GLOBALS['ZI']['mode'] = 'dev';
! $GLOBALS['ZI']['distributions_url'] = 'http://www.zzoss.net/services/installer/distributions.php';
$GLOBALS['ZI']['distribution'] = '';
$GLOBALS['ZI']['application'] = '';
$GLOBALS['ZI']['theme'] = 'com.zzoss.zic.theme.kde';
?>
\ No newline at end of file
--- 23,36 ----
@license http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
*/
! $GLOBALS['ZI']['version'] = '1.1.0beta1';
$GLOBALS['ZI']['mode'] = 'dev';
! $GLOBALS['ZI']['distributions_url'] = 'http://www.zzoss.com/services/installer/distributions.php';
$GLOBALS['ZI']['distribution'] = '';
$GLOBALS['ZI']['application'] = '';
$GLOBALS['ZI']['theme'] = 'com.zzoss.zic.theme.kde';
+
+ // Specific infos about installer
+ $GLOBALS['ZI']['installer_dev'] = true;
+ $GLOBALS['ZI']['installer_distribution'] = 'com.zzoss-1.0.0';
+ $GLOBALS['ZI']['installer_application'] = 'zic-1.1.0beta1';
?>
\ No newline at end of file
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click