[ Index ]

PHP Cross Reference of Mambo 4.6.5

[ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/components/com_mostlyce_frontend/ -> mostlyce_frontend.php (summary)

(no description)

Author: Mambo Foundation Inc see README.php
Copyright: (C) 2000 - 2009 Mambo Foundation Inc.
License: GNU/GPL Version 2, see LICENSE.php
File Size: 245 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 mambots/editors/mostlyce/jscripts/tiny_mce/auth_check.php

Defines 3 functions


Functions that are not part of a class:

getImageList()   X-Ref
Purpose: This function creates a list of images to be displayed as a dropdown in all image dialogs
if the "external_link_image_url" option is defined in TinyMCE init.

Expected output:
var tinyMCEImageList = new Array(
// Name, URL
["Logo 1", "media/logo.jpg"],
["Logo 2 Over", "media/logo_over.jpg"]
);

getContentList()   X-Ref
Purpose: This function creates a list of content items to be displayed as a dropdown in all link dialogs if
the "external_link_list_url" option is defined in TinyMCE init.

var tinyMCELinkList = new Array(
// Name, URL
["Moxiecode", "http://www.moxiecode.com"],
["Freshmeat", "http://www.freshmeat.com"],
["Sourceforge", "http://www.sourceforge.com"]
);

scan_directory_recursively($directory, $filter=FALSE)   X-Ref
Purpose: Used to recurse through the images dir/sub-dir structure and build a
list that can be used to hand back a JS array to TinyMCE's image list parameter

Note: Based on lixlpixel recursive PHP function (http://lixlpixel.org/recursive_function/php/recursive_directory_scan/)