[zi-cvs] packages/com.zzoss.portlet.package.lib Package.php,1.3,1.4

Sandro Zic <[email protected]> Thu, 18 Mar 2004 09:41:41 +0000
Newsgroups gmane.comp.php.zzoss.installer.cvs
Message-ID <[email protected]>
Update of /cvsroot/zzossinstaller/packages/com.zzoss.portlet.package.lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15653/com.zzoss.portlet.package.lib

Modified Files:
	Package.php 
Log Message:
quick install of dev apps

Index: Package.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.portlet.package.lib/Package.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Package.php	5 Mar 2004 14:25:24 -0000	1.3
--- Package.php	18 Mar 2004 09:41:38 -0000	1.4
***************
*** 159,164 ****
                  <th align="left"><?php echo ucfirst($type); ?></th>
                  <!-- <th align="center">Distribution</th> -->
!                 <th align="left">Available</th>
!                 <th align="left">Installed</th>
              </tr>
          <?php
--- 159,165 ----
                  <th align="left"><?php echo ucfirst($type); ?></th>
                  <!-- <th align="center">Distribution</th> -->
!                 <th align="center">Available</th>
!                 <th align="center">Installed</th>
!                 <th align="center">Action</th>
              </tr>
          <?php
***************
*** 279,283 ****
                          
                          echo '<td'.$bgcolor.'>'.$package["installed"].'</td>';
!                 
                  echo '</tr>';
              }
--- 280,312 ----
                          
                          echo '<td'.$bgcolor.'>'.$package["installed"].'</td>';
!                     ?>
!                     <td align="left"<?php echo $bgcolor; ?>>
!                         <div class="actions">
!                             <?php
!                             $querystr = '?type='.$type.'&package='.$package['name'].'-'.$package['release']['version'].'&application='.$_REQUEST['application'].'&distribution='.$_REQUEST['distribution'];
!                             $is_dev = false;
!                             if(isset($_REQUEST['mode'])){
!                                 $querystr .= '&mode='.$_REQUEST['mode'];
!                                 if($_REQUEST['mode'] == 'dev'){
!                                     $is_dev = true;
!                                 }
!                             }
!                             
!                             $showNbsp = true;
!                             
!                             if(!$modified && $is_dev && $type == 'plugin' && isset($package['release']['plugin'])){
!                                 $showNbsp = false;
!                                 ?>
!                                 <a href="dev_plugin.php<?php echo $querystr; ?>&action=install"/>
!                                 <img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/wizard.png" align="absmiddle" border="0" alt="Install" title="Install"></a><?php
!                             }
!                             
!                             if($showNbsp){
!                                 ?>&nbsp;<?php
!                             }
!                             ?>
!                         </div>
!                     </td>
!                     <?php
                  echo '</tr>';
              }



-------------------------------------------------------
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