Please visit his website http://www.aadmm.org/fp-patch/ and read patch-description.txt to learn more about the details of the patch. I adapted the patch slighty: It now does not just add a __construct() function to the existing class-named one, instead it replaces it completely. Therefore, some parent::__construct() calls had to be changed, too.
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
    /* MediaManager EN-US language file by Fabrix Xm */
 | 
						|
    
 | 
						|
	/* THIS LINE SHOULDN'T BE HERE! */
 | 
						|
	$lang['admin']['uploader']['submenu']['default'] = 'Uploader';
 | 
						|
	
 | 
						|
	$lang['admin']['uploader']['submenu']['mediamanager'] = 'Media manager';
 | 
						|
	
 | 
						|
 | 
						|
	$lang['admin']['uploader']['mediamanager'] = array(
 | 
						|
		'head'		=> 'Media manager',
 | 
						|
		'description'=>'Manage your media',
 | 
						|
        
 | 
						|
		'delete'	=> 'delete',
 | 
						|
		'up'		=> 'Back',
 | 
						|
		'page'		=> 'Page',
 | 
						|
		'colname'	=> 'Name',
 | 
						|
		'colsize'	=> 'Size',
 | 
						|
		'coltype'	=> 'Type',
 | 
						|
		'colmtime'	=> 'Uploaded on',
 | 
						|
		'colusecount'=>'# use',
 | 
						|
		'nofiles'	=> 'No files loaded.',
 | 
						|
		'loadfile'	=> 'Load file',
 | 
						|
		
 | 
						|
		'selected'		=> 'Selected',
 | 
						|
		'selectaction' 	=> '-- select action --',
 | 
						|
		'addtogallery'	=> 'Add to gallery',
 | 
						|
		'newgallery'	=> 'New gallery',
 | 
						|
	    'go' 			=> 'Go',
 | 
						|
		'add'			=> 'Add'
 | 
						|
		
 | 
						|
	);
 | 
						|
	$lang['admin']['uploader']['mediamanager']['msgs'] = array(
 | 
						|
		3		=> 'New gallery created',
 | 
						|
	    2       => 'Images moved to gallery',
 | 
						|
		1		=> 'File deleted',
 | 
						|
		-1		=> 'Error deleting file',
 | 
						|
		-2		=> 'Error creating new gallery',
 | 
						|
		-3		=> 'Please specify the name of new gallery'
 | 
						|
	);
 | 
						|
	
 | 
						|
 | 
						|
?>
 |