[zi-cvs] packages/com.zzoss.zic applications.php,1.17,1.18
Sandro Zic <[email protected]> Thu, 01 Apr 2004 18:33:44 +0000
| Newsgroups | gmane.comp.php.zzoss.installer.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/zzossinstaller/packages/com.zzoss.zic
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11185/com.zzoss.zic
Modified Files:
applications.php
Log Message:
only show bundle icon if installed
Index: applications.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.zic/applications.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** applications.php 26 Mar 2004 08:49:55 -0000 1.17
--- applications.php 1 Apr 2004 18:33:41 -0000 1.18
***************
*** 87,98 ****
break;
case 'bundle':
! $bundle_dir =
! $zi_registry->getDistributionPath().'applications'.DIRECTORY_SEPARATOR.
! $_REQUEST['application'].DIRECTORY_SEPARATOR.'bundle'.DIRECTORY_SEPARATOR;
! if(!is_dir($bundle_dir)){
! $action_redirect = 'application_settings.php'.zi_form_querystr().'&dev=bundle';
! } else {
! $action_redirect = 'dev_bundle.php'.zi_form_querystr();
! }
break;
case 'descriptors':
--- 87,91 ----
break;
case 'bundle':
! $action_redirect = 'dev_bundle.php'.zi_form_querystr();
break;
case 'descriptors':
***************
*** 261,267 ****
}
?> <?php
! if($is_dev){
?>
! <a href="<?php echo 'dev_bundle.php'.$querystr; ?>&action=bundle" title="Bundles">
<img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/kpackage.png" align="absmiddle" border="0" alt="Bundles"></a><?php
}
--- 254,260 ----
}
?> <?php
! if($is_dev && $installed){
?>
! <a href="<?php echo 'dev_bundle.php'.$querystr; ?>" title="Bundles">
<img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/kpackage.png" align="absmiddle" border="0" alt="Bundles"></a><?php
}
-------------------------------------------------------
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