Project

General

Profile

« Previous | Next » 

Revision 1601

Added by Dietmar almost 13 years ago

little designfix in forgot_form.php
fix media if uploading zip files with folder, than create FolderProtectFiles

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
=========================== add small Features 2.8.2 ==========================
14
07 Feb-2012 Build 1601 Dietmar Woellbrink (Luisehahne)
15
! little designfix in forgot_form.php
16
! fix media if uploading zip files with folder, than create FolderProtectFiles
14 17
07 Feb-2012 Build 1600 Dietmar Woellbrink (Luisehahne)
15 18
# more fixed issues with get_magic_quotes_gpc and FCKeditor
16 19
! remove create and upload in FCKeditor Filemanager
branches/2.8.x/wb/admin/media/upload.php
162 162
		}
163 163
	}
164 164
	if (isset($_POST['delzip'])) { unlink($filename1); }
165
	$dir = dirname($filename1);
166
    if(file_exists($dir)) {
167
		$array = createFolderProtectFile($dir);
168
    }
165 169
}
166 170
unset($list);
171

  
167 172
if($sum_files == 1) {
168 173
	$admin->print_success($sum_files.' '.$MESSAGE['MEDIA']['SINGLE_UPLOADED'] );
169 174
} elseif($sum_files > 1) {
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.2');
54
if(!defined('REVISION')) define('REVISION', '1600');
54
if(!defined('REVISION')) define('REVISION', '1601');
55 55
if(!defined('SP')) define('SP', 'SP2');
branches/2.8.x/wb/account/forgot_form.php
107 107
<h1 style="text-align: center;"><?php echo $MENU['FORGOT']; ?></h1>
108 108
<form name="forgot_pass" action="<?php echo WB_URL.'/account/forgot.php'; ?>" method="post">
109 109
	<input type="hidden" name="url" value="{URL}" />
110
		<table cellpadding="5" cellspacing="0" border="0" align="center" width="500">
110
		<table summary="" cellpadding="5" cellspacing="0" border="0" align="center" width="500">
111 111
		<tr>
112
			<td height="40" align="center" style="color: #<?php echo $message_color; ?>;" colspan="2">
112
			<td height="40" align="center" style="color: #<?php echo $message_color; ?>;" colspan="3">
113 113
			<strong><?php echo $message; ?></strong>
114 114
			</td>
115 115
		</tr>
branches/2.8.x/wb/framework/functions.php
38 38
	if(substr($directory,-1) == "/") {
39 39
        $directory = substr($directory,0,-1);
40 40
    }
41
    // If suplied dirname is a file then unlink it
41
   // If suplied dirname is a file then unlink it
42 42
    if (is_file( $directory )) {
43
        return unlink($directory);
43
	  $retval = unlink($directory);
44
	  clearstatcache();
45
      return $retval;
44 46
    }
45 47
    if(!file_exists($directory) || !is_dir($directory)) {
46 48
        return false;
......
57 59
                    rm_full_dir($path);
58 60
                } else {
59 61
                    unlink($path);
62
					clearstatcache();
60 63
                }
61 64
            }
62 65
        }

Also available in: Unified diff