Пример #1
0
/**
 * lg_admin_list_folders()
 * Displays an unordered list of folders and subfolders
 * 
 * @since 1.1.0
 * @return void
 */
function lg_admin_list_folders()
{
    global $lg_gallery;
    if (isset($_POST['folder'])) {
        $folder = new LazyestFolder(urldecode($_POST['folder']));
        if ($folder->valid()) {
            $folder->list_folders('hidden', 'dirname', 'admin');
            die;
        }
    }
    echo ' ';
    die;
}