[zi-cvs] packages/com.zzoss.installer.lib Widget.php,1.2,1.3

[email protected] Tue, 10 Feb 2004 04:22:16 -0800
Newsgroups gmane.comp.php.zzoss.installer.cvs
Message-ID <[email protected]>
Update of /cvsroot/zzossinstaller/packages/com.zzoss.installer.lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32454/com.zzoss.installer.lib

Modified Files:
	Widget.php 
Log Message:
nicer output in table with icons for each installation action (install, update, remove, download)

Index: Widget.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.installer.lib/Widget.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Widget.php	9 Feb 2004 18:16:10 -0000	1.2
--- Widget.php	10 Feb 2004 12:22:14 -0000	1.3
***************
*** 160,164 ****
  			  echo '<div class="warning-inline">'.$this->errors[$this->name].'</div>';
  			}
! 			?><input type="text" name="ZI_VALUES[<?php echo $this->name; ?>]" value="<?php if(isset($_REQUEST['ZI_VALUES'][$this->name])) echo $_REQUEST['ZI_VALUES'][$this->name]; ?>" size="40" maxlength="255">
              <?php
              if(isset($this->options['append'])) echo $this->options['append'];
--- 160,168 ----
  			  echo '<div class="warning-inline">'.$this->errors[$this->name].'</div>';
  			}
! 			?><input type="text" name="ZI_VALUES[<?php echo $this->name; ?>]" value="<?php if(isset($_REQUEST['ZI_VALUES'][$this->name])) echo $_REQUEST['ZI_VALUES'][$this->name]; ?>" size="40" maxlength="255"<?php
!             if(isset($this->options['disabled']) && $this->options['disabled']){
!                 echo ' disabled';
!             }
!             ?>>
              <?php
              if(isset($this->options['append'])) echo $this->options['append'];
***************
*** 432,436 ****
                  $checked = ' checked';
              }
! 			?><input type="checkbox" name="ZI_VALUES[<?php echo $this->name; ?>]" value="on"<?php echo $checked; ?>>
              <?php
              if(isset($this->options['append'])) echo $this->options['append'];
--- 436,444 ----
                  $checked = ' checked';
              }
! 			?><input type="checkbox" name="ZI_VALUES[<?php echo $this->name; ?>]" value="on"<?php echo $checked; ?><?php
!             if(isset($this->options['disabled']) && $this->options['disabled']){
!                 echo ' disabled';
!             }
!             ?>>
              <?php
              if(isset($this->options['append'])) echo $this->options['append'];



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn