Beispiel #1
0
                $i_destino = $PFN_accions->path_correcto($PFN_vars->post('escollido') . '/');
                $PFN_indexador->mover("{$dir}/", "{$i_destino}/", $cal);
            }
        }
    }
    include $PFN_paths['web'] . 'navega.inc.php';
} else {
    if (file_exists($arquivo)) {
        include_once $PFN_paths['include'] . 'class_arbore.php';
        $PFN_arbore = new PFN_Arbore($PFN_conf);
        $PFN_arbore->imaxes($PFN_imaxes);
        $PFN_arbore->pon_radio('escollido');
        $PFN_arbore->pon_enlaces(false);
        if ($PFN_accions->e_dir($arquivo)) {
            $contido = $PFN_accions->get_contido($arquivo);
            $PFN_arbore->pon_copia($arquivo);
            if (count($contido['dir']['nome']) || count($contido['arq']['nome'])) {
                $adv = $PFN_conf->t('estado.mover_dir', 2);
            } else {
                $adv = $PFN_conf->t('estado.mover_dir', 3);
            }
        } else {
            $adv = $PFN_conf->t('estado.mover_arq', 2);
        }
        $PFN_arbore->carga_arbore($PFN_conf->g('raiz', 'path'), './', false);
        include $PFN_paths['plantillas'] . 'posicion.inc.php';
        include $PFN_paths['plantillas'] . 'info_cab.inc.php';
        include $PFN_paths['plantillas'] . 'mover.inc.php';
    } else {
        include $PFN_paths['web'] . 'navega.inc.php';
    }