/[smecontribs]/rpms/smeserver-phpwebftp/contribs8/smeserver-phpwebftp-4.0-patch1.patch
ViewVC logotype

Contents of /rpms/smeserver-phpwebftp/contribs8/smeserver-phpwebftp-4.0-patch1.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun Nov 24 10:05:32 2013 UTC (11 years ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-phpwebftp-4_0-7_el5_sme, smeserver-phpwebftp-4_0-8_el5_sme, smeserver-phpwebftp-4_0-10_el5_sme, HEAD
Error occurred while calculating annotation data.
* Sun Nov 24 2013 JP Pialasse <tests@pialasse.com> 4.0-7.sme
- new patch for [SME: 7973]

1 diff -up smeserver-phpwebftp-4.0/root/home/httpd/html/webftp/index.php.patch1 smeserver-phpwebftp-4.0/root/home/httpd/html/webftp/index.php
2 --- smeserver-phpwebftp-4.0/root/home/httpd/html/webftp/index.php.patch1 2006-11-28 16:17:00.000000000 -0500
3 +++ smeserver-phpwebftp-4.0/root/home/httpd/html/webftp/index.php 2013-11-24 05:02:28.000000000 -0500
4 @@ -414,7 +414,7 @@ XML;
5 <tr>
6 <td class="menu">
7 <?
8 - $newMode=($ftp->mode==1)?0:1;
9 + $newMode=($ftp->mode==FTP_BINARY)?FTP_ASCII:FTP_BINARY;
10
11 if($ftp->loggedOn)
12 {
13 @@ -648,7 +648,7 @@ XML;
14 <table border="0" cellpadding="0" cellspacing="0" width="100%">
15 <tr>
16 <?
17 - $newMode=($ftp->mode==1)?0:1;
18 + $newMode=($ftp->mode==FTP_BINARY)?FTP_ASCII:FTP_BINARY;
19 if($ftp->loggedOn)
20 {
21 ?>
22 @@ -946,7 +946,7 @@ XML;
23 <P>
24 <?=($ftp->loggedOn)?"$lblConnectedTo $server:$port ($ftp->systype)":$lblNotConnected;?>
25 <P>
26 - <?=$lblTransferMode;?> :<?=$ftp->mode==1?$lblBinaryMode:$lblASCIIMode;?>
27 + <?=$lblTransferMode;?> :<?=$ftp->mode==FTP_BINARY?$lblBinaryMode:$lblASCIIMode;?>
28 <br/><br/>
29 </div>
30 </td>

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed