[zi-cvs] packages/com.zzoss.zic application_done.php,1.7,1.8 applications.php,1.8,1.9 log.php,1.2,1.3
[email protected] Wed, 11 Feb 2004 06:38:42 -0800
| 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-serv30131
Modified Files:
application_done.php applications.php log.php
Log Message:
show installation log file
Index: application_done.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.zic/application_done.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** application_done.php 9 Feb 2004 18:54:30 -0000 1.7
--- application_done.php 11 Feb 2004 14:38:40 -0000 1.8
***************
*** 30,34 ****
{
// Remove the Setup Wizard?
! if($_REQUEST["ZI_VALUES"]['remove_setup'] == 'on'){
System::rm(array('-rf', getcwd()));
}
--- 30,34 ----
{
// Remove the Setup Wizard?
! if(isset($_REQUEST["ZI_VALUES"]['remove_setup']) && $_REQUEST["ZI_VALUES"]['remove_setup'] == 'on'){
System::rm(array('-rf', getcwd()));
}
***************
*** 68,75 ****
<h2><a href="info.php?mode=<?php echo $_REQUEST['mode']; ?>&type=application&id=<?php echo $_REQUEST['id']; ?>&distribution=<?php echo $_REQUEST['distribution']; ?>" onclick="javascript:window.open('info.php?mode=<?php echo $_REQUEST['mode']; ?>&type=application&id=<?php echo $_REQUEST['id']; ?>&distribution=<?php echo $_REQUEST['distribution']; ?>', 'ApplicationInformation', 'width=500,height=500,resizable=1,status=0,scrollbars=1,toolbar=0,location=0,directories=0,menubar=0,dependent=0');void(0);javascript:return(false);" target="_blank" title="<?php echo $application["summary"].' '.$application['release']['version']; ?>"><?php echo $application["summary"].' '.$application['release']['version']; ?></a></h2>
! <p>[<a href="<?php echo $app_settings['application_url']; ?>" target="_blank" title="<?php echo $application['summary'].'-'.$application['release']['version']; ?>">View Application</a>]<br/>
Take a look at the freshly installed application.</p>
! <p>[<a href="log.php<?php echo zi_form_querystr(); ?>" onclick="javascript:window.open('log.php<?php echo zi_form_querystr(); ?>', 'LogFile', 'width=500,height=500,resizable=1,status=0,scrollbars=1,toolbar=0,location=0,directories=0,menubar=0,dependent=0');void(0);javascript:return(false);" target="_blank" title="Log File"><!--<img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/16x16/info.png" alt="About Installer" title="About Installer">-->Log File</a>]<br/>
Read the installation log for detailed information on the executed tasks.</p>
<?php
--- 68,75 ----
<h2><a href="info.php?mode=<?php echo $_REQUEST['mode']; ?>&type=application&id=<?php echo $_REQUEST['id']; ?>&distribution=<?php echo $_REQUEST['distribution']; ?>" onclick="javascript:window.open('info.php?mode=<?php echo $_REQUEST['mode']; ?>&type=application&id=<?php echo $_REQUEST['id']; ?>&distribution=<?php echo $_REQUEST['distribution']; ?>', 'ApplicationInformation', 'width=500,height=500,resizable=1,status=0,scrollbars=1,toolbar=0,location=0,directories=0,menubar=0,dependent=0');void(0);javascript:return(false);" target="_blank" title="<?php echo $application["summary"].' '.$application['release']['version']; ?>"><?php echo $application["summary"].' '.$application['release']['version']; ?></a></h2>
! <p><a href="<?php echo $app_settings['application_url']; ?>" target="_blank" title="<?php echo $application['summary'].'-'.$application['release']['version']; ?>"><img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/window_new.png" border="0" alt="View Application" title="View Application" align="absmiddle"> View Application</a><br/>
Take a look at the freshly installed application.</p>
! <p><a href="log.php<?php echo zi_form_querystr(); ?>" onclick="javascript:window.open('log.php<?php echo zi_form_querystr(); ?>', 'LogFile', 'width=500,height=500,resizable=1,status=0,scrollbars=1,toolbar=0,location=0,directories=0,menubar=0,dependent=0');void(0);javascript:return(false);" target="_blank" title="Log File"><img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/log.png" border="0" alt="Installation Log" title="Installation Log" align="absmiddle"> Log File</a><br/>
Read the installation log for detailed information on the executed tasks.</p>
<?php
Index: applications.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.zic/applications.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** applications.php 9 Feb 2004 18:16:10 -0000 1.8
--- applications.php 11 Feb 2004 14:38:40 -0000 1.9
***************
*** 262,266 ****
}
?>
! <td<?php echo $highlight; ?>><a href="info.php?mode=<?php echo $_REQUEST['mode']; ?>&type=application&id=<?php echo $application["id"]; ?>&distribution=<?php echo rawurlencode($distribution['name'].'-'.$distribution['release']['version']); ?>" onclick="javascript:window.open('info.php?mode=<?php echo $_REQUEST['mode']; ?>&type=application&id=<?php echo $application["id"]; ?>&distribution=<?php echo rawurlencode($distribution['name'].'-'.$distribution['release']['version']); ?>', 'ApplicationInformation', 'width=500,height=500,resizable=1,status=0,scrollbars=1,toolbar=0,location=0,directories=0,menubar=0,dependent=0');void(0);javascript:return(false);" target="_blank" title="<?php echo $application["summary"]; ?>"><?php echo $application["summary"]; ?></a></td>
<!-- <td<?php echo $highlight; ?>><?php echo $distribution['summary']; ?></td> -->
<?php
--- 262,274 ----
}
?>
! <td<?php echo $highlight; ?>><a href="info.php?mode=<?php echo $_REQUEST['mode']; ?>&type=application&id=<?php echo $application["id"]; ?>&distribution=<?php echo rawurlencode($distribution['name'].'-'.$distribution['release']['version']); ?>" onclick="javascript:window.open('info.php?mode=<?php echo $_REQUEST['mode']; ?>&type=application&id=<?php echo $application["id"]; ?>&distribution=<?php echo rawurlencode($distribution['name'].'-'.$distribution['release']['version']); ?>', 'ApplicationInformation', 'width=500,height=500,resizable=1,status=0,scrollbars=1,toolbar=0,location=0,directories=0,menubar=0,dependent=0');void(0);javascript:return(false);" target="_blank" title="<?php echo $application["summary"]; ?>"><?php echo $application["summary"]; ?></a>
! <?php
! if($installed){
! $app_settings = $zi_registry->getApplicationSettings($application['name'].'-'.$application['release']['version']);
! ?> <a href="<?php echo $app_settings['application_url']; ?>" title="View Application" target="_blank"><img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/window_new.png" border="0" alt="View Application" title="View Application" align="absmiddle"></a>
! <a href="log.php?mode=<?php echo $_REQUEST['mode']; ?>&type=application&id=<?php echo $application["id"]; ?>&application=<?php echo $application["name"].'-'.$application["release"]['version']; ?>&distribution=<?php echo rawurlencode($distribution['name'].'-'.$distribution['release']['version']); ?>" onclick="javascript:window.open('log.php?mode=<?php echo $_REQUEST['mode']; ?>&type=application&id=<?php echo $application["id"]; ?>&application=<?php echo $application["name"].'-'.$application["release"]['version']; ?>&distribution=<?php echo rawurlencode($distribution['name'].'-'.$distribution['release']['version']); ?>', 'LogFile', 'width=500,height=500,resizable=1,status=0,scrollbars=1,toolbar=0,location=0,directories=0,menubar=0,dependent=0');void(0);javascript:return(false);" target="_blank" title="Log File"><img src="themes/share/icons/org.kde.icon
s.crystalsvg/16x16/log.png" border="0" alt="Installation Log" title="Installation Log" align="absmiddle"></a><?php
! }
! ?>
! </td>
<!-- <td<?php echo $highlight; ?>><?php echo $distribution['summary']; ?></td> -->
<?php
***************
*** 271,279 ****
}
- if($installed){
- $app_settings = $zi_registry->getApplicationSettings($application['name'].'-'.$application['release']['version']);
- ?> <a href="<?php echo $app_settings['application_url']; ?>" title="View Application" target="_blank"><img src="themes/share/icons/org.kde.icons.crystalsvg/16x16/window_new.png" border="0" alt="View Application" title="View Application" align="absmiddle"></a><?php
- }
-
echo '</td>';
echo '</tr>';
--- 279,282 ----
Index: log.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.zic/log.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** log.php 21 Jan 2004 18:16:14 -0000 1.2
--- log.php 11 Feb 2004 14:38:40 -0000 1.3
***************
*** 31,44 ****
?>
<h1>Log File</h1>
- <h2><a href="info.php?mode=<?php echo $_REQUEST['mode']; ?>&type=application&id=<?php echo $_REQUEST['id']; ?>&distribution=<?php echo $_REQUEST['distribution']; ?>" onclick="javascript:window.open('info.php?mode=<?php echo $_REQUEST['mode']; ?>&type=application&id=<?php echo $_REQUEST['id']; ?>&distribution=<?php echo $_REQUEST['distribution']; ?>', 'ApplicationInformation', 'width=600,height=500,resizable=1,status=0,scrollbars=1,toolbar=0,location=0,directories=0,menubar=0,dependent=0');void(0);javascript:return(false);" target="_blank" title="<?php echo $application["summary"].' '.$application['release']['version']; ?>"><?php echo $application["summary"].' '.$application['release']['version']; ?></a></h2>
! <!--<textarea cols="60" rows="30" wrap="off">-->
! <pre>
<?php
! $file = $zi_registry->getApplicationPath().'installer/packages.log';
! readfile($file);
?>
! </pre>
! <!--</textarea>-->
<?php
include 'themes/'.$GLOBALS['ZI']['theme'].'/footer_popup.php';
--- 31,41 ----
?>
<h1>Log File</h1>
! <textarea cols="54" rows="20" wrap="on">
<?php
! $file = $zi_registry->getApplicationPath().'installer/packages.log';
! readfile($file);
?>
! </textarea>
<?php
include 'themes/'.$GLOBALS['ZI']['theme'].'/footer_popup.php';
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click