[zi-cvs] packages/com.zzoss.zic.plugin.config install_form.php,1.5,1.6
Sandro Zic <[email protected]> Tue, 18 May 2004 17:24:05 +0000
| Newsgroups | gmane.comp.php.zzoss.installer.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/zzossinstaller/packages/com.zzoss.zic.plugin.config
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22750/com.zzoss.zic.plugin.config
Modified Files:
install_form.php
Log Message:
undo update sandbox
Index: install_form.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.zic.plugin.config/install_form.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** install_form.php 5 Apr 2004 16:40:33 -0000 1.5
--- install_form.php 18 May 2004 17:24:02 -0000 1.6
***************
*** 74,77 ****
--- 74,94 ----
$input->setMode('event');
+ // compose and set the widget modes
+ $widget_modes = array(
+ // match the installer mode
+ $GLOBALS['ZI']['mode'],
+ // match the operating system
+ strtolower(substr(PHP_OS, 0, 3)),
+ // match the action (update/install/remove)
+ $GLOBALS['ZI']['package_action'],
+ // match the installer version
+ $GLOBALS['ZI']['installer_application']
+ );
+ if($GLOBALS['ZI']['installer_dev']){
+ $widget_modes[] = 'dev_inst';
+ }
+
+ $input->setWidgetModes($widget_modes);
+
//$zi_widget->setHelpPath($component_params['path'].'help/');
//echo 'exists';
-------------------------------------------------------
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