File Manager - Version 4.1.2

Version Description

(5 January, 2016) =

  • Extra slash issue solved
Download this release

Release Info

Developer aihimel
Plugin Icon 128x128 File Manager
Version 4.1.2
Comparing to
See all releases

Code changes from version 4.1.1 to 4.1.2

BootStart/BootStart.php CHANGED
@@ -247,6 +247,17 @@ abstract class FM_BootStart{
247
 
248
  // Settings Page
249
  add_submenu_page( $this->prefix, __( 'File Manager Settings' ), 'Settings', 'manage_options', $this->zip( 'File Manager Settings' ), array( &$this, 'settings' ) );
 
 
 
 
 
 
 
 
 
 
 
250
 
251
  }
252
 
247
 
248
  // Settings Page
249
  add_submenu_page( $this->prefix, __( 'File Manager Settings' ), 'Settings', 'manage_options', $this->zip( 'File Manager Settings' ), array( &$this, 'settings' ) );
250
+
251
+ if(!defined('FILE_MANAGER_PREMIUM')){
252
+ add_submenu_page(
253
+ 'file-manager', // Parent Slug
254
+ 'File Manager Permission System(pro)', // Page title
255
+ 'Permission System', // Menu title
256
+ 'manage_options', // User capabilities
257
+ 'file-manager-permission-system', // Menu Slug
258
+ function(){ require_once( plugin_dir_path( __FILE__ ) . '..' . DS . 'views' . DS . 'admin' . DS . 'permission_system.php' );}
259
+ );
260
+ }
261
 
262
  }
263
 
elFinder/elFinder.php CHANGED
File without changes
elFinder/php/elFinder.class.php CHANGED
@@ -2534,6 +2534,7 @@ class elFinder {
2534
  * @author Dmitry (dio) Levashov
2535
  */
2536
  protected function put($args) {
 
2537
  $target = $args['target'];
2538
 
2539
  if (($volume = $this->volume($target)) == false
2534
  * @author Dmitry (dio) Levashov
2535
  */
2536
  protected function put($args) {
2537
+ $args['content'] = stripslashes($args['content']);
2538
  $target = $args['target'];
2539
 
2540
  if (($volume = $this->volume($target)) == false
file-manager.php CHANGED
@@ -3,7 +3,7 @@
3
  *
4
  * Plugin Name: File Manager
5
  * Author Name: Aftabul Islam
6
- * Version: 4.1.1
7
  * Author Email: toaihimel@gmail.com
8
  * License: GPLv2
9
  * Description: Manage your file the way you like. You can upload, delete, copy, move, rename, compress, extract files. You don't need to worry about ftp. It is realy simple and easy to use.
@@ -69,7 +69,7 @@ class FM extends FM_BootStart {
69
 
70
  public function __construct($name){
71
 
72
- $this->version = '4.1.0';
73
  $this->site = 'http://www.giribaz.com';
74
  $this->giribaz_landing_page = 'http://www.giribaz.com/wordpress-file-manager-plugin';
75
  $this->support_page = 'http://giribaz.com/support/';
3
  *
4
  * Plugin Name: File Manager
5
  * Author Name: Aftabul Islam
6
+ * Version: 4.1.2
7
  * Author Email: toaihimel@gmail.com
8
  * License: GPLv2
9
  * Description: Manage your file the way you like. You can upload, delete, copy, move, rename, compress, extract files. You don't need to worry about ftp. It is realy simple and easy to use.
69
 
70
  public function __construct($name){
71
 
72
+ $this->version = '4.1.2';
73
  $this->site = 'http://www.giribaz.com';
74
  $this->giribaz_landing_page = 'http://www.giribaz.com/wordpress-file-manager-plugin';
75
  $this->support_page = 'http://giribaz.com/support/';
img/70_percent_off.png DELETED
Binary file
img/File Manager Permission System(Pro).png ADDED
Binary file
img/new_year_sales_60_percent_off.png ADDED
Binary file
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: aihimel, shovonchoudhury
3
  Donate link: http://www.giribaz.com/
4
  Tags: file manager, wordpress file manager, wp file manager, FTP, elfinder, file Browser, manage files, upload, delete, rename, copy, move, online file browser, remote file manager, drag and drop, folder upload
5
  Requires at least: 4.4.0
6
- Tested up to: 4.7.0
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -21,23 +21,19 @@ Just install the plugin following standard wordpress plugin install process and
21
 
22
  <strong>[Get Express Support](http://www.giribaz.com/support/)</strong> Open a support ticket to get support quickly.
23
 
24
-
25
- [youtube https://www.youtube.com/watch?v=93aiNIWRLqY]
26
-
27
-
28
  = Key Features =
29
 
30
  + Upload, Download and Delete operations
31
- + All operations with files and folders (copy, move, upload, create folder/file, rename, archive, extract, edit, etc.)
32
  + Light and Elegant client UI
33
  + Drag & Drop file upload support
34
  + List and Icons view available
35
  + Alternative to FTP
36
- + Archives create/extract (zip, rar, 7z, tar, gzip, bzip2)
37
- + Image and File Edit Support
38
  + Quicklook, preview for common file types
39
  + Calculate directory sizes
40
- + Video and audio preview/play
41
  + Support file search and sort
42
 
43
  = Extended Features =
@@ -167,3 +163,7 @@ Yes, I will support the plugin.
167
  = 4.1.1 (14 December, 2016) =
168
 
169
  * Minor UI changes
 
 
 
 
3
  Donate link: http://www.giribaz.com/
4
  Tags: file manager, wordpress file manager, wp file manager, FTP, elfinder, file Browser, manage files, upload, delete, rename, copy, move, online file browser, remote file manager, drag and drop, folder upload
5
  Requires at least: 4.4.0
6
+ Tested up to: 4.7.1
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
21
 
22
  <strong>[Get Express Support](http://www.giribaz.com/support/)</strong> Open a support ticket to get support quickly.
23
 
 
 
 
 
24
  = Key Features =
25
 
26
  + Upload, Download and Delete operations
27
+ + All operations with files and folders (copy, move, upload, create folder/file, rename, archive, extract, edit, etc.)
28
  + Light and Elegant client UI
29
  + Drag & Drop file upload support
30
  + List and Icons view available
31
  + Alternative to FTP
32
+ + Archives create/extract (zip, rar, 7z, tar, gzip, bzip2)
33
+ + Image and File Edit Support
34
  + Quicklook, preview for common file types
35
  + Calculate directory sizes
36
+ + Video and audio preview/play
37
  + Support file search and sort
38
 
39
  = Extended Features =
163
  = 4.1.1 (14 December, 2016) =
164
 
165
  * Minor UI changes
166
+
167
+ = 4.1.2 (5 January, 2016) =
168
+
169
+ * Extra slash issue solved
views/admin/files.php CHANGED
@@ -9,7 +9,7 @@ if( !current_user_can('manage_options') ) die();
9
 
10
  ?>
11
 
12
- <div id='file-manager-wrapper'>
13
 
14
  </div>
15
 
@@ -18,7 +18,7 @@ if( !current_user_can('manage_options') ) die();
18
  PLUGINS_URL = '<?php echo plugins_url();?>';
19
 
20
  jQuery(document).ready(function(){
21
- jQuery('#file-manager-wrapper').elfinder({
22
  url: ajaxurl,
23
  customData:{action: 'connector'}
24
  });
9
 
10
  ?>
11
 
12
+ <div id='file-manager'>
13
 
14
  </div>
15
 
18
  PLUGINS_URL = '<?php echo plugins_url();?>';
19
 
20
  jQuery(document).ready(function(){
21
+ jQuery('#file-manager').elfinder({
22
  url: ajaxurl,
23
  customData:{action: 'connector'}
24
  });
views/admin/index.php CHANGED
@@ -23,26 +23,7 @@ $this->admin_assets();
23
 
24
  <div class='row'>
25
 
26
- <?php if( current_user_can('manage_options') ): ?>
27
-
28
- <!-- Loading file manager here -->
29
- <div id='file-manager'></div>
30
-
31
- <script>
32
-
33
- // This is necessary for elfiner file.
34
- PLUGINS_URL = '<?php echo plugins_url();?>';
35
-
36
- jQuery(document).ready(function(){
37
- jQuery('#file-manager').elfinder({
38
- url: ajaxurl,
39
- customData:{action: 'connector'}
40
- });
41
- });
42
-
43
- </script>
44
-
45
- <?php endif; ?>
46
 
47
  </div>
48
 
23
 
24
  <div class='row'>
25
 
26
+ <?php include 'files.php'; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
 
28
  </div>
29
 
views/admin/permission_system.php ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ *
4
+ * @file index.php The manin admin view file that will show the actual file manager
5
+ *
6
+ * */
7
+
8
+ // Security check
9
+ if( !defined('ABSPATH') ) die();
10
+ ?>
11
+
12
+ <?php
13
+ // Loading admin assets
14
+ $this->admin_assets();
15
+
16
+ ?>
17
+
18
+ <?php require_once( 'header.php' ); ?>
19
+
20
+ <div class='fm-container'>
21
+
22
+ <div class='col-main'>
23
+ <div class='fmp-demo-notice'>
24
+ This is a demo of <a href='http://giribaz.com/wordpress-file-manager-plugin/'>File Manager Permission System(Pro)</a> Extension.
25
+ <button onClick="window.location = 'http://giribaz.com/wordpress-file-manager-plugin/'">Get It Now!</button>
26
+ </div>
27
+ <div class='row'>
28
+
29
+ <img src='<?php echo plugin_dir_url(__FILE__) . '../../img/File Manager Permission System(Pro).png'?>'>
30
+
31
+ </div>
32
+
33
+ <!--<div class='row fm-data'>
34
+ <?php require_once('utility.php'); ?>
35
+ </div>-->
36
+
37
+ </div>
38
+
39
+ <?php //require_once('sidebar.php'); ?>
40
+
41
+ </div>
42
+
43
+ <?php require_once('footer.php'); ?>
44
+ <style>
45
+ .fmp-demo-notice{
46
+ width: 98%;
47
+ padding-left: 5px;
48
+ text-align: center;
49
+ padding-top: 20px;
50
+ padding-bottom: 20px;
51
+ }
52
+ .fmp-demo-notice button{
53
+ padding: 15px;
54
+ border-radius: 0px;
55
+ color: white;
56
+ background-color: #1CB841;
57
+ font-weight: bold;
58
+ border: 0px;
59
+ }
60
+ .fmp-demo-notice button:hover{
61
+ color: #1CB841;
62
+ padding: 14px;
63
+ background-color: #F1F1F1;
64
+ border: 1px solid #1CB841;
65
+ cursor: pointer;
66
+ }
67
+ </style>
views/admin/sales.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- *
4
  * @file sales.php Donate links will go here
5
- *
6
  * */
7
 
8
  // Security Check
@@ -11,6 +11,6 @@ if( !defined('ABSPATH') ) die();
11
 
12
  <div class='fm-donate'>
13
  <a href='http://www.giribaz.com'>
14
- <img style='width:100%;' src='<?php echo plugin_dir_url(__FILE__) . '..' . DS . '..' . DS . 'img' . DS . '70_percent_off.png'; ?>' >
15
  </a>
16
  </div>
1
  <?php
2
  /**
3
+ *
4
  * @file sales.php Donate links will go here
5
+ *
6
  * */
7
 
8
  // Security Check
11
 
12
  <div class='fm-donate'>
13
  <a href='http://www.giribaz.com'>
14
+ <img style='width:100%;' src='<?php echo plugin_dir_url(__FILE__) . '..' . '/' . '..' . '/' . 'img' . '/' . 'new_year_sales_60_percent_off.png'; ?>' >
15
  </a>
16
  </div>
views/admin/sidebar.php CHANGED
@@ -11,7 +11,9 @@ if( !defined('ABSPATH') ) die();
11
  <div class='col-sidebar'>
12
 
13
  <?php if(!defined('FILE_MANAGER_PREMIUM') || !defined('FILE_MANAGER_THEMEPACK')): ?>
 
14
  <div class='row'><?php require_once( 'sales.php' ); ?></div>
 
15
 
16
  <div class='row'><?php require_once( 'donate.php' ); ?></div>
17
  <?php endif; ?>
11
  <div class='col-sidebar'>
12
 
13
  <?php if(!defined('FILE_MANAGER_PREMIUM') || !defined('FILE_MANAGER_THEMEPACK')): ?>
14
+ <!--
15
  <div class='row'><?php require_once( 'sales.php' ); ?></div>
16
+ -->
17
 
18
  <div class='row'><?php require_once( 'donate.php' ); ?></div>
19
  <?php endif; ?>