A enhanced (passive) filebrowser with several display options. (For people who want a quick and compact overview).
This can be useful if, for example, the ID or the hash value is used in TAGs like [download=ID]...[/download] or [img=ID]...[/img] … .
Docu: –
Forum: –
Author: K.Heermann (flip-flop) http://planmatrix.de
CMS Version: >= 1.4x
Version: V0.9 (09.04.2010)
Update: V1.0 (11.11.2010)
Folder: / *
File: filebrowserX.php
Condition: –
The JavaScript call:
image browser:
onclick="tmt_winOpen('filebrowserX.php?opt=0','imageBrowser','width=720,height=550,left=8,top=8,scrollbars=yes,resizable=yes,status=yes',1)"
media browser:
onclick="tmt_winOpen('filebrowserX.php?opt=2','imageBrowser','width=720,height=550,left=8,top=8,scrollbars=yes,resizable=yes,status=yes',1)"
file browser:
onclick="tmt_winOpen('filebrowserX.php?opt=4','imageBrowser','width=720,height=550,left=8,top=8,scrollbars=yes,resizable=yes,status=yes',1)"
A comfortable call is done from the file startup.php. → Custom links in "home"
The simple variant in startup.php:
<a href="javascript:;" title="<?php echo $BL['be_cnt_openimagebrowser'];?>" onclick="tmt_winOpen('filebrowserX.php?opt=0','imageBrowser','width=720,height=550,left=8,top=8,scrollbars=yes,resizable=yes,status=yes',1)"> <img src="img/button/open_image_button.gif" alt="" border="0" /> <?php echo $BL['be_cnt_openimagebrowser'];?></a> <a href="javascript:;" title="<?php echo $BL['be_cnt_openmediabrowser'];?>" onclick="tmt_winOpen('filebrowserX.php?opt=2','imageBrowser','width=720,height=550,left=8,top=8,scrollbars=yes,resizable=yes,status=yes',1)"> <img src="img/button/open_image_button.gif" alt="" border="0" /> <?php echo $BL['be_cnt_openmediabrowser'];?></a> <a href="javascript:;" title="<?php echo $BL['be_cnt_openfilebrowser'];?>" onclick="tmt_winOpen('filebrowserX.php?opt=4','imageBrowser','width=720,height=550,left=8,top=8,scrollbars=yes,resizable=yes,status=yes',1)"> <img src="img/button/open_image_button.gif" alt="" border="0" /> <?php echo $BL['be_cnt_openfilebrowser'];?></a><br />
File: filebrowserx.zip