Toggle kind of branch view

Features wanted...
Post Reply
romero
Posts: 23
Joined: 10 Mar 2009 16:01

Toggle kind of branch view

Post by romero »

I know you have a button to toggle between normal view and branch view, but branch view has three main modes: view files, view folders, or both. Currently you can only change between the three by typing in the address bar (or changing the default branch view view). What I would like is a faster way to select the specific kind of branch view I want, for example a button (or menu entry) for branch view "folders", a button for branch view "files", one for "both".

I'm sure there's a simple script that can do this, but I've no idea how to write it.

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Toggle kind of branch view

Post by highend »

Code: Select all

	$selection = popupmenu("Normal view;<curpath>|Branch view;<curpath> ? /:flat|Branch view (files);<curpath> ? /:flatfiles|Branch view (folders);<curpath> ? /:flatdirs");
	if($selection == "<curpath>") { #311; } else { goto $selection; }
One of my scripts helped you out? Please donate via Paypal

Post Reply