Project

General

Profile

« Previous | Next » 

Revision 1460

Added by Dietmar almost 13 years ago

Ticket 1101, phtml|php5|php4|php|cgi|pl|exe|com|bat|src| will be hardcoded
additional you can set more extension in settings extended in field rename_file_types
rename_file_types now is a blacklist and will no longer be renamed to .txt

update admintools modules to work with SecureForm Patch from NorHei

View differences:

browse.php
151 151
// $filename =  $currentdir;
152 152
if(!empty($currentdir)) {
153 153
	$usedFiles = $Dse->getMatchesFromDir( $currentdir, DseTwo::RETURN_USED);
154
/* */
154
/*
155 155
print '<pre><strong>function '.__FUNCTION__.'();</strong>  basename: '.basename(__FILE__).'  line: '.__LINE__.' -> <br />';
156 156
print_r( $usedFiles ); print '</pre>'; // flush ();sleep(10); die();
157

  
157
*/
158 158
}
159 159

  
160 160
if($handle = opendir(WB_PATH.MEDIA_DIRECTORY.'/'.$directory)) {
......
253 253
								'DATE' => $date,
254 254
								'PREVIEW' => $preview,
255 255
								'IMAGE_TITLE' => $name,
256
								// 'IMAGE_EXIST' =>  search_image($directory.'/',$name)
257
								'IMAGE_EXIST' =>  (in_array($name, $usedFiles) ? 'view_16.png' : 'pic_16.png')
256
								'IMAGE_EXIST' =>  'blank_16.gif'
258 257
							)
259 258
						);
260 259
			$template->parse('list', 'list_block', true);

Also available in: Unified diff