diff --git a/src/config.php b/src/config.php index 206d47f..fd14ccc 100644 --- a/src/config.php +++ b/src/config.php @@ -6,7 +6,7 @@ * License: This project is provided under the terms of the MIT LICENSE * http://github.com/misterunknown/ifm/blob/master/LICENSE * ======================================================================= - * + * * config */ @@ -35,7 +35,7 @@ class IFMConfig { const showowner = 1; // show file owner? const showgroup = 1; // show file group? const showpath = 0; // show real path of directory (not only root)? - const showrights = 2; // show permissions 0 -> not; 1 -> octal, 2 -> human readable + const showrights = 1; // show permissions 0 -> not; 1 -> octal, 2 -> human readable const showhtdocs = 1; // show .htaccess and .htpasswd const showhiddenfiles = 1; // show files beginning with a dot (e.g. ".bashrc") diff --git a/src/ifm.js b/src/ifm.js index 4dc29a8..5f5fb15 100644 --- a/src/ifm.js +++ b/src/ifm.js @@ -139,9 +139,9 @@ if(!ifm) { \ '; if( data[i].name == "." ) - newrow += 'download current directory'; + //newrow += 'download current directory'; newrow += '\ \ '; diff --git a/src/main.php b/src/main.php index 37be4c4..ed7c1ab 100644 --- a/src/main.php +++ b/src/main.php @@ -6,7 +6,7 @@ * License: This project is provided under the terms of the MIT LICENSE * http://github.com/misterunknown/ifm/blob/master/LICENSE * ======================================================================= - * + * * main */ @@ -55,28 +55,28 @@ class IFM {
'; // refresh button - always shows print ''; // upload button if(IFMConfig::upload == 1) { print ''; } // create file button if(IFMConfig::createfile == 1) { print ''; } // create directory button if(IFMConfig::createdir == 1) { print ''; } // create options button - print '
options