- * The mode determines the main kind of output from the element browser.

- * There are these options for values: rte, db, file, filedrag, wizard.

- * "rte" will show the link selector for the Rich Text Editor (see main_rte())

- * "db" will allow you to browse for pages or records in the page tree (for TCEforms, see main_db())

- * "file"/"filedrag" will allow you to browse for files or folders in the folder mounts (for TCEforms, main_file())

- * "wizard" will allow you to browse for links (like "rte") which are passed back to TCEforms (see main_rte(1))

- *

- * @see main()

- */

- var $mode;

-

- /**

- * Link selector action.

- * page,file,url,mail,spec are allowed values.

- * These are only important with the link selector function and in that case they switch between the various menu options.

- */

- var $act;

-

- /**

- * When you click a page title/expand icon to see the content of a certain page, this value will contain that value (the ID of the expanded page). If the value is NOT set, then it will be restored from the module session data (see main(), mode="db")

- */

- var $expandPage;

-

- /**

- * When you click a folder name/expand icon to see the content of a certain file folder, this value will contain that value (the path of the expanded file folder). If the value is NOT set, then it will be restored from the module session data (see main(), mode="file"/"filedrag"). Example value: "/www/htdocs/typo3/32/3dsplm/fileadmin/css/"

- */

- var $expandFolder;

-

-

-

- /**

- * TYPO3 Element Browser, wizard mode parameters. There is a heap of parameters there, better debug() them out if you need something... :-)

- */

- var $P;

-

- /**

- * Active with TYPO3 Element Browser: Contains the name of the form field for which this window opens - thus allows us to make references back to the main window in which the form is.

- * 7: IRRE uniqueness: name of function in opener window that performs action instead of using addElement/insertElement, eg. "inline.importElement"

- *

- * $pArr = explode('|',$this->bparams);

- * $formFieldName = $pArr[0];

- * $allowedTablesOrFileTypes = $pArr[3];

- */

- var $bparams;

-

- /**

- * Used with the Rich Text Editor.

- * Example value: "tt_content:NEW3fba58c969f5c:bodytext:23:text:23:"

- */

- var $RTEtsConfigParams;

-

-

-

-

- /**

- * Plus/Minus icon value. Used by the tree class to open/close notes on the trees.

- */

- var $PM;

-

- /**

- * Pointer, used when browsing a long list of records etc.

- */

- var $pointer;

-

-

-

-

- /**

- * Used with the link selector: Contains the GET input information about the CURRENT link in the RTE/TCEform field. This consists of "href", "target" and "title" keys. This information is passed around in links.

- */

- var $curUrlArray;

-

- /**

- * Used with the link selector: Contains a processed version of the input values from curUrlInfo. This is splitted into pageid, content element id, label value etc. This is used for the internal processing of that information.