eXtplorer

Jump to: navigation, search
Categories » Bookmarks » EXtplorer
Categories » Programming » Web Programming » PHP » EXtplorer

Official Site

eXtplorer is a web-based file management system I am using on http://files.ike.to/.

Contents

ToDo

Modifications

Syntax Highlighting

eXtplorer uses GeSHi for syntax highlighting, just like the <source>...</source> tags on this wiki. Unfortunately, it wasn't highlighting all the file types I wanted it to.

/include/view.php

It looks like there was a simple typing error in this file.

Look for the following line:

if( is_callable( array($geshi,'getlanguagesuage_name_from_extension'))) {
	$lang = $geshi->getlanguagesuage_name_from_extension( $pathinfo['extension'] );
}

I changed these lines to:

if( is_callable( array($geshi,'get_language_name_from_extension'))) {
	$lang = $geshi->get_language_name_from_extension( $pathinfo['extension'] );
}

/libraries/geshi/geshi.php

I updated the included version of GeSHi with the current one from their site. It includes more language definitions than the one provided with eXtplorer.

geshi.php provides a lookup array of file extensions → language definitions. I modified it to include support for .aspx, .ashx, and .cs files as follows:


include/list.php

The ExtJS library that eXtplorer uses supports (and includes) multiple themes. By default it includes the xtheme-aero.css file. I changed it to include xtheme-vista.css.

scripts/extjs/css/ext-all.css

Long filenames caused ugly wrapping in the file list. I modified this file as follows:

.x-grid-cell-text,.x-grid-hd-text {
        display: block;
        padding: 3px 5px 3px 5px;
        -moz-user-select: none;
        -khtml-user-select: none;
        color:black;
 
        /* next line added by ike */
        white-space:nowrap;
}
Personal tools
Namespaces
Variants
Actions
Navigation
Categories
Toolbox