Exemple #1
0
function openDialogChooseFile()
{
    global $dialogOpen;
    $_fileChooser = $dialogOpen->get_widget('_fileChooser');
    if (isset($_fileChooser->get_filenames()[0]) && file_exists($_fileChooser->get_filenames()[0])) {
        readSVG($_fileChooser->get_filenames()[0]);
        $_fileChooser->destroy();
    }
}
Exemple #2
0
function navBarClick($type)
{
    global $fileList;
    readSVG($fileList['nav'][$type]);
}