Example #1
0
</a>
			&nbsp;&nbsp;|&nbsp;&nbsp;
			[<?php 
    echo $PFN_conf->t('arbore_completo');
    ?>
]
		<?php 
} else {
    ?>
			[<?php 
    echo $PFN_conf->t('so_directorios');
    ?>
]
			&nbsp;&nbsp;|&nbsp;&nbsp;
			<a href="<?php 
    echo PFN_cambia_url('completo', 'true');
    ?>
"><?php 
    echo $PFN_conf->t('arbore_completo');
    ?>
</a>
		<?php 
}
?>
	</div>

	<div class="bloque_info">
		<?php 
echo $PFN_arbore->cnt('dir') . ' ' . $PFN_conf->t('dirs');
?>
		<?php 
Example #2
0
        $PFN_indexador = new PFN_Indexador($PFN_conf);
        $PFN_indexador->eliminar_raiz($id_raiz);
        $info_raiz = $PFN_niveles->path_correcto($PFN_paths['info'] . 'raiz' . $id_raiz);
        if (is_dir($info_raiz)) {
            include_once $PFN_paths['include'] . 'class_accions.php';
            $PFN_conf->p(false, 'logs', 'accions');
            $PFN_accions = new PFN_Accions($PFN_conf);
            $PFN_accions->rexistro(false);
            $PFN_accions->eliminar($info_raiz);
        }
        $PFN_usuarios->init('raices');
        $parecida = false;
        for (; $PFN_usuarios->mais(); $PFN_usuarios->seguinte()) {
            if ($PFN_usuarios->get('id') == $id_raiz) {
                continue;
            }
            $este_path = $PFN_usuarios->get('path');
            if (strstr($este_path, $path_raiz) || strstr($path_raiz, $este_path)) {
                $parecida = true;
                break;
            }
        }
        if (!$parecida) {
            include_once $PFN_paths['include'] . 'class_extra.php';
            $PFN_extra->vacia_path($path_raiz, true, true, true);
        }
    }
}
$ok = count($erros) ? false : 2;
Header('Location: ../index.php?' . PFN_cambia_url(array('id_raiz', 'opc', 'erros', 'ok'), array('', 1, implode(',', $erros), $ok), false, true));
exit;
Example #3
0
 " class="boton" />
		</fieldset>
		</form>
		<?php 
if ($hai_pequena) {
    ?>
		<br />

		<div class="aviso_info"><?php 
    echo $PFN_conf->t('eliminar_reducida');
    ?>
</div>
		<br />

		<form action="accion.php?<?php 
    echo PFN_cambia_url(array('cal', 'accion'), array($cal, 'redimensionar'), false);
    ?>
" method="post" onsubmit="return submitonce();">
			<input type="hidden" name="eliminar_peq" value="true" />
			<input type="submit" value="<?php 
    echo $PFN_conf->t('eliminar');
    ?>
" class="boton" />
		</form>
		<?php 
}
?>
		<br /><br />
	</div>

<script type="text/javascript"><!--
Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
defined('OK') && defined('ACCION') or die;
?>

<div id="ver_info">
	<div class="bloque_info"><h1><?php 
echo $PFN_conf->t('accion') . ' &raquo; ' . $PFN_conf->t('multiple_permisos');
?>
</h1></div>
	<div class="bloque_info">
		<form action="accion.php?<?php 
echo PFN_cambia_url('accion', 'multiple_permisos', false);
?>
" method="post" onsubmit="return submitonce();">
		<fieldset>
		<?php 
foreach ($multiple_escollidos as $v) {
    ?>
		<input type="hidden" name="multiple_escollidos[]" value="<?php 
    echo $v;
    ?>
" />
		<?php 
}
?>
		<input type="hidden" name="executa" value="true" />
Example #5
0
" style="width: 50px;" />
			&nbsp;x&nbsp;
			<input type="text" id="alto" name="alto" value="<?php 
echo $editar_alto;
?>
" style="width: 50px;" />
			&nbsp;&nbsp;
			<input type="submit" name="cambiar_tamano" value="<?php 
echo $PFN_conf->t('enviar');
?>
" />
			<input type="hidden" name="texto2" id="texto2" value="" />
			</fieldset>
			</form>
			<form id="form_datos" action="accion.php?<?php 
echo PFN_cambia_url('accion', 'editar', false);
?>
" method="post" onsubmit="return submitonce();">
			<fieldset>
			<input type="hidden" name="executa" value="true" />
			<input type="hidden" name="cal" value="<?php 
echo $cal;
?>
" />
			<br />
			<textarea id="texto" name="texto" style="width: <?php 
echo $editar_ancho;
?>
px; height: <?php 
echo $editar_alto;
?>
Example #6
0
*******************************************************************************/
defined('OK') or die;
?>
<h1 id="cab_menu"> <?php 
echo $PFN_conf->t('PFN');
?>
 </h1>
<div id="menu_raices">
	<?php 
echo $PFN_conf->t('listado_menu');
?>
	<ul>
	<?php 
for (; $PFN_usuarios->mais(); $PFN_usuarios->seguinte()) {
    $ultima = $PFN_usuarios->get('id');
    echo '<li><a href="navega.php?' . PFN_cambia_url('id', $PFN_usuarios->get('id'), false) . '">' . $PFN_usuarios->get('nome') . '</a></li>';
}
?>
	</ul>
</div>
<div id="pe_menu"><a href="sair.php?id=<?php 
echo $ultima;
?>
&amp;<?php 
echo PFN_get_url(false);
?>
"><?php 
echo $PFN_conf->t('sair');
?>
</a></div>
Example #7
0
if ($PFN_conf->g('permisos', 'buscador')) {
    $menu_opc['buscador'] = 'accion.php?' . PFN_cambia_url(array('dir', 'accion'), array($dir, 'buscador'), false);
}
if ($PFN_conf->g('permisos', 'axuda')) {
    $menu_opc['axuda'] = 'axuda.php?' . PFN_get_url(false);
}
if ($PFN_conf->g('permisos', 'crear_dir')) {
    $menu_opc['crear_dir'] = 'accion.php?' . PFN_cambia_url(array('dir', 'accion'), array($dir, 'crear_dir'), false);
}
if ($PFN_conf->g('permisos', 'novo_arq')) {
    $menu_opc['novo_arq'] = 'accion.php?' . PFN_cambia_url(array('dir', 'accion'), array($dir, 'novo_arq'), false);
}
if ($PFN_conf->g('permisos', 'subir_arq')) {
    $menu_opc['subir_arq'] = 'accion.php?' . PFN_cambia_url(array('dir', 'accion'), array($dir, 'subir_arq'), false);
}
if ($PFN_conf->g('permisos', 'subir_url')) {
    $menu_opc['subir_url'] = 'accion.php?' . PFN_cambia_url(array('dir', 'accion'), array($dir, 'subir_url'), false);
}
if ($PFN_conf->g('permisos', 'ver_imaxes')) {
    $menu_opc['ver_imaxes'] = PFN_cambia_url(array('dir', 'ver_imaxes', 'completo'), array($dir, $ver_imaxes ? '' : 'true', $PFN_vars->get('completo')));
}
if ($PFN_conf->g('usuario', 'cambiar_datos')) {
    $menu_opc['preferencias'] = 'preferencias.php?' . PFN_get_url(false);
}
if ($PFN_conf->g('permisos', 'arbore')) {
    $menu_opc['arbore'] = 'arbore.php?' . PFN_get_url(false);
}
if ($PFN_conf->g('permisos', 'sair')) {
    $menu_opc['sair'] = 'sair.php?' . PFN_get_url(false);
}
include $PFN_paths['plantillas'] . 'opcions.inc.php';
Example #8
0
    } elseif ($PFN_vars->post('formulario') == 'protexer' && in_array('protexer', $capas) && $PFN_conf->g('usuario', 'admin') && $tipo == 'dir') {
        if (trim($PFN_vars->post('ht_usuario')) == '') {
            $PFN_arquivos->eliminar_htpasswd("{$arquivo}/");
        } else {
            $PFN_arquivos->crear_htpasswd("{$arquivo}/");
        }
    }
}
$ahref = '<a href="' . $PFN_niveles->enlace($dir, $PFN_vars->get('cal') . $fin) . '" target="_blank" class="ao14">' . $PFN_vars->get('cal') . '</a>';
if ($tipo == 'dir') {
    if ($PFN_vars->get('calcula_tamano')) {
        $tamano_real = $PFN_niveles->get_tamano("{$arquivo}/");
        $tamano_disco = PFN_peso(PFN_espacio_disco($tamano_real));
        $tamano_real .= ' Bytes';
    } else {
        $tamano_real = '<a href="accion.php?' . PFN_cambia_url(array('cal', 'accion', 'calcula_tamano'), array($cal, 'info', true), false) . '">' . $PFN_conf->t('calcular_tamano') . '</a>';
        $tamano_disco = '&nbsp;';
    }
} else {
    $tamano_real = PFN_espacio_disco($arquivo, true);
    $tamano_disco = PFN_peso(PFN_espacio_disco($tamano_real));
    $tamano_real .= ' Bytes';
}
$permisos = PFN_permisos(fileperms($arquivo . $fin));
if ($PFN_conf->g('inc', 'estado')) {
    $PFN_inc->carga_datos($arquivo . $fin);
    if (in_array('descricion', $capas)) {
        $datos_inc['desc'] = $PFN_inc->crea_descricion($tipo);
    }
    if (in_array('formulario', $capas)) {
        $datos_inc['form'] = $PFN_inc->crea_formulario($tipo);
					<th><a href="accion.php?<?php 
echo PFN_cambia_url(array('accion', 'orde_comprimido', 'pos_comprimido', 'cal'), array($accion, 'propietario', $orde == 'propietario' ? $pos : 'ASC', $cal), false);
?>
"><?php 
echo $PFN_conf->t('propietario');
?>
</a></th>
					<th><a href="accion.php?<?php 
echo PFN_cambia_url(array('accion', 'orde_comprimido', 'pos_comprimido', 'cal'), array($accion, 'grupo', $orde == 'grupo' ? $pos : 'ASC', $cal), false);
?>
"><?php 
echo $PFN_conf->t('grupo');
?>
</a></th>
					<th><a href="accion.php?<?php 
echo PFN_cambia_url(array('accion', 'orde_comprimido', 'pos_comprimido', 'cal'), array($accion, 'permisos', $orde == 'permisos' ? $pos : 'ASC', $cal), false);
?>
"><?php 
echo $PFN_conf->t('permisos');
?>
</a></th>
				</tr>
				</thead>
				<tfoot>
				<tr>
					<td>
						<?php 
echo ($cnt_cantos['dir'] > 0 ? $cnt_cantos['dir'] . ' ' . $PFN_conf->t($cnt_cantos['dir'] == 1 ? 'dir' : 'dirs') : '') . ($cnt_cantos['arq'] > 0 ? ($cnt_cantos['dir'] > 0 ? ' - ' : '') . $cnt_cantos['arq'] . ' ' . $PFN_conf->t($cnt_cantos['arq'] == 1 ? 'arq' : 'arqs') : '');
?>
					</td>
					<td><?php 
Example #10
0
					</td>
					<td>
						<a href="configuracions/ver.php?<?php 
    echo PFN_cambia_url('id_conf', $PFN_usuarios->get('id'), false);
    ?>
"><?php 
    echo $PFN_conf->t('Xdetalle');
    ?>
</a>
					</td>
					<td>
						<?php 
    if (is_writable($PFN_paths['conf'] . $PFN_usuarios->get('conf') . '.inc.php')) {
        ?>
						<a href="configuracions/modi.php?<?php 
        echo PFN_cambia_url('id_conf', $PFN_usuarios->get('id'), false);
        ?>
"><?php 
        echo $PFN_conf->t('editar');
        ?>
</a>
						<?php 
    } else {
        ?>
						&nbsp;
						<?php 
    }
    ?>
					</td>
				</tr>
				<?php 
Example #11
0
} elseif (!is_writable($nome_arq)) {
    $erros[] = 19;
}
$test = '';
$alertas = array();
$estado_accion = '';
include_once $PFN_paths['include'] . 'class_arquivos.php';
$PFN_arquivos = new PFN_Arquivos($PFN_conf);
$texto = trim($PFN_vars->post('texto'));
if (count($erros) == 0 && $PFN_vars->post('executa')) {
    $alertas = $PFN_arquivos->comprobar_sintaxis($texto);
    if (empty($alertas)) {
        $PFN_conf->textos('estado');
        $estado = $PFN_arquivos->abre_escribe($nome_arq, $texto);
        $estado_accion = $PFN_conf->t('estado.editar', intval($estado));
        $ok = 5;
    } else {
        $erros[] = 28;
    }
}
if (count($erros) == 0) {
    Header('Location: index.php?' . PFN_cambia_url(array('id_conf', 'ok'), array($id_conf, $ok), false, true));
    exit;
}
$PFN_tempo->rexistra('precarga');
include $PFN_paths['plantillas'] . 'cab.inc.php';
include $PFN_paths['xestion'] . 'Xopcions.inc.php';
$PFN_tempo->rexistra('precodigo');
include $PFN_paths['plantillas'] . 'Xconfiguracions_modi.inc.php';
$PFN_tempo->rexistra('postcodigo');
include $PFN_paths['plantillas'] . 'pe.inc.php';
Example #12
0
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
defined('OK') && defined('ACCION') or die;
?>

		<div class="bloque_info"><h1><?php 
echo $PFN_conf->t('accion') . ' &raquo; ' . $PFN_conf->t('permisos');
?>
</h1></div>
		<form action="accion.php?<?php 
echo PFN_cambia_url('accion', 'permisos', false);
?>
" method="post" onsubmit="return submitonce();">
		<fieldset>
		<input type="hidden" name="executa" value="true" />
		<input type="hidden" name="cal" value="<?php 
echo $cal;
?>
" />

		<table class="tabla_info" summary="" style="text-align: center;">
			<tr>
				<th><?php 
echo $PFN_conf->t('escritura');
?>
</th>
Example #13
0
GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
defined('OK') && defined('ACCION') or die;
?>
		<div class="bloque_info"><h1><?php 
echo $PFN_conf->t('accion') . ' &raquo; ' . $PFN_conf->t('copiar_' . $tipo);
?>
</h1></div>
		<form action="accion.php?<?php 
echo PFN_cambia_url('accion', 'copiar', false);
?>
" method="post" onsubmit="return submitonce();">
		<fieldset>
		<input type="hidden" name="executa" value="true" />
		<input type="hidden" name="cal" value="<?php 
echo $cal;
?>
" />
		<div class="aviso_info"><?php 
echo $adv;
?>
</div>

		<div style="width: 100%; text-align: center;">
			<table summary=""><tr><td style="text-align: left;"><?php 
Example #14
0
    foreach ($idiomas_arquivos as $v) {
        $txt_informe .= '<td style="background: #' . ($cnt_base[$v] > 0 ? '6C6' : '000; color: #FFF') . ';">' . $cnt_base[$v] . '</td>';
    }
    $txt_informe .= '<td><ul class="accions"><li class="descargar"><a href="descargar.php?' . PFN_cambia_url('idioma', $tr_idioma_base, false) . '" title="' . $PFN_conf->t('descargar') . '"><span class="oculto">' . $PFN_conf->t('descargar') . '</span></a></li></ul></td></tr>';
    foreach ($idiomas_valen as $k => $v) {
        if ($k == $tr_idioma_base) {
            continue;
        }
        $txt_informe .= "\n" . '<tr style="text-align: right;"><td>' . $PFN_conf->t('lista_idiomas', $k) . '</td>';
        foreach ($idiomas_arquivos as $v2) {
            $cnt_este = 0;
            if (is_file($PFN_paths['idiomas'] . $k . '/' . $v2 . '.inc.php')) {
                $datos_este = (include $PFN_paths['idiomas'] . $k . '/' . $v2 . '.inc.php');
                foreach ($datos_este as $tmp_v1) {
                    if (is_array($tmp_v1)) {
                        foreach ($tmp_v1 as $tmp_v2) {
                            $cnt_este += empty($tmp_v2) ? 0 : 1;
                        }
                    } else {
                        $cnt_este += empty($tmp_v1) ? 0 : 1;
                    }
                }
                $txt_informe .= '<td style="background: #' . ($cnt_este > $cnt_base[$v2] ? '69E' : ($cnt_este < $cnt_base[$v2] ? 'E66' : '6C6')) . ';"> ' . $cnt_este . ' </td>';
            } else {
                $txt_informe .= '<td style="background: #000; color: #FFF"> 0 </td>';
            }
        }
        $txt_informe .= '<td><ul class="accions"><li class="descargar"><a href="descargar.php?' . PFN_cambia_url('idioma', $k, false) . '" title="' . $PFN_conf->t('descargar') . '"><span class="oculto">' . $PFN_conf->t('descargar') . '</span></a></li></ul></td></tr>';
    }
    $txt_informe .= '</table>';
}
Example #15
0
 /**
  * function imprime_arqs (string $web, array &$lista)
  *
  * $web: ruta para la visualización en web
  * &$lista: contiene la lista de archivos y directorios de un nivel
  *
  * imprime los ficheros de un nivel
  */
 function imprime_arqs($web, &$lista)
 {
     if (is_array($lista['arq']['nome']) && ($max = count($lista['arq']['nome']))) {
         foreach ($lista['arq']['nome'] as $k => $v) {
             for ($i = 0; $i < $this->fondo; $i++) {
                 if ($this->fin[$i] == 1) {
                     $this->arbore_txt .= '<img src="' . $this->conf->g('estilo') . 'imx/0.png" style="width: 32px;" alt=" " />';
                 } else {
                     $this->arbore_txt .= '<img src="' . $this->conf->g('estilo') . 'imx/barra.png" alt=" | " />';
                 }
             }
             if ($k + 1 == $max) {
                 $this->arbore_txt .= '<img src="' . $this->conf->g('estilo') . 'imx/esquina.png" alt=" |_ " />';
                 $this->fin[$this->fondo] = 1;
             } else {
                 $this->arbore_txt .= '<img src="' . $this->conf->g('estilo') . 'imx/cruce.png" alt=" + " />';
                 $this->fin[$this->fondo] = 0;
             }
             if ($this->conf->g('permisos', 'info')) {
                 $this->arbore_txt .= '<a href="accion.php?' . PFN_cambia_url(array('dir', 'cal', 'accion'), array($web, $v, 'info'), false) . '">';
             } elseif ($this->conf->g('permisos', 'descargar')) {
                 $this->arbore_txt .= '<a href="accion.php?' . PFN_cambia_url(array('dir', 'cal', 'accion'), array($dir, $v, 'descargar'), false) . '" onclick="window.open(this.href); return false;">';
             } else {
                 $this->arbore_txt .= '<a href="#">';
             }
             if ($this->vars->get('ver_imaxes')) {
                 $this->arbore_txt .= '<img src="' . $this->imaxes->sello("{$web}{$v}", false) . '" height="32" ';
             } else {
                 $this->arbore_txt .= '<img src="' . $this->imaxes->icono($v) . '" ';
             }
             $this->arbore_txt .= 'alt="' . $v . '" /> ' . $v . '</a><br />' . "\n";
             $this->cnt_arbore['arq']++;
         }
     }
 }
Example #16
0
" style="width: 50px;" />
		&nbsp;x&nbsp;
		<input type="text" id="alto" name="alto" value="<?php 
echo $editar_alto;
?>
" style="width: 50px;" />
		<input type="hidden" id="texto2" name="texto2" value="" />
		&nbsp;&nbsp;
		<input type="submit" name="cambiar_tamano" value="<?php 
echo $PFN_conf->t('cambiar');
?>
" />
		</fieldset>
		</form>
		<form id="form_datos" action="accion.php?<?php 
echo PFN_cambia_url('accion', 'novo_arq', false);
?>
" method="post" onsubmit="return submitonce();">
		<fieldset>
		<input type="hidden" name="executa" value="true" />
		<input type="hidden" name="cal" value="<?php 
echo $cal;
?>
" />
		<br />
		<textarea id="texto" name="texto" style="width: <?php 
echo $editar_ancho;
?>
px; height: <?php 
echo $editar_alto;
?>
Example #17
0
        $actual = (include $PFN_paths['info'] . 'usuario' . $PFN_usuarios->get('id') . '/descargas.' . $ab_ano . $ab_mes . '.php');
        $listado['actual'][] = $actual;
        $listado['limite'][] = $limite;
        if ($limite === -1) {
            $listado['libre'][] = 100;
        } else {
            $listado['libre'][] = intval(($limite - $actual) / $limite * 100);
        }
    } else {
        $listado['actual'][] = $listado['limite'][] = $listado['libre'][] = false;
    }
}
if ($ab_modo == 'ASC') {
    asort($listado[$ab_ordenar]);
} else {
    arsort($listado[$ab_ordenar]);
}
$b = 1;
$txt = '<table class="tabla_informes" summary="">' . '<tr><th style="text-align: left;">' . '<a href="' . PFN_cambia_url(array('ab_ordenar', 'ab_modo', 'ab_mes', 'ab_ano', 'executa'), array('id', $ab_modo == 'ASC' ? 'DESC' : 'ASC', $ab_mes, $ab_ano, 'ancho_banda')) . '">' . $PFN_conf->t('Xcol_id') . '</a></th>' . '<th style="text-align: left;">' . '<a href="' . PFN_cambia_url(array('ab_ordenar', 'ab_modo', 'ab_mes', 'ab_ano', 'executa'), array('nome', $ab_modo == 'ASC' ? 'DESC' : 'ASC', $ab_mes, $ab_ano, 'ancho_banda')) . '">' . $PFN_conf->t('Xcol_nome') . '</a></th>' . '<th style="text-align: left;">' . '<a href="' . PFN_cambia_url(array('ab_ordenar', 'ab_modo', 'ab_mes', 'ab_ano', 'executa'), array('limite', $ab_modo == 'ASC' ? 'DESC' : 'ASC', $ab_mes, $ab_ano, 'ancho_banda')) . '">' . $PFN_conf->t('Xcol_ancho_banda_limite') . '</a></th>' . '<th style="text-align: left;">' . '<a href="' . PFN_cambia_url(array('ab_ordenar', 'ab_modo', 'ab_mes', 'ab_ano', 'executa'), array('actual', $ab_modo == 'ASC' ? 'DESC' : 'ASC', $ab_mes, $ab_ano, 'ancho_banda')) . '">' . $PFN_conf->t('Xcol_ancho_banda_actual') . '</a></th>' . '<th style="text-align: left;">' . '<a href="' . PFN_cambia_url(array('ab_ordenar', 'ab_modo', 'ab_mes', 'ab_ano', 'executa'), array('libre', $ab_modo == 'ASC' ? 'DESC' : 'ASC', $ab_mes, $ab_ano, 'ancho_banda')) . '">' . $PFN_conf->t('Xcol_porcent_libre') . '</a></th></tr>';
foreach ((array) $listado[$ab_ordenar] as $k => $v) {
    $b++;
    $txt .= '<tr' . ($b % 2 == 0 ? ' class="tr_par"' : '') . '><td>' . $listado['id'][$k] . '</td>' . '<td><a href="../usuarios/index.php?' . PFN_cambia_url('id_usuario', $listado['id'][$k], false) . '">' . $listado['nome'][$k] . '</a></td>';
    if ($listado['limite'][$k]) {
        $libre = $listado['libre'][$k];
        $cor_libre = $libre > 50 ? '0C0' : ($libre > 25 ? 'FC6' : ($libre > 10 ? 'F60' : 'F00'));
        $txt .= '<td>' . ($listado['limite'][$k] === -1 ? $PFN_conf->t('sen_limite') : PFN_peso($listado['limite'][$k])) . '</td>' . '<td>' . PFN_peso($listado['actual'][$k]) . '</td>' . '<td style="border: 1px solid #000;"><span style="display: block; border: 1px solid #CCC; width: ' . $libre . '%; height: 15px; background-color: #' . $cor_libre . '; font-weight: bold;">' . $libre . '%</span></td></tr>';
    } else {
        $txt .= '<td colspan="3">' . $PFN_conf->t('sen_datos') . '</td></tr>';
    }
}
$txt .= '</table>';
		</div>
		<br /><input type="reset" value=" <?php 
echo $PFN_conf->t('voltar');
?>
 " class="boton" onclick="enlace('index.php?<?php 
echo PFN_cambia_url('id_conf', $id_conf, false);
?>
');" />
		<?php 
if ($editar) {
    ?>
		<input type="button" value=" <?php 
    echo $PFN_conf->t('editar');
    ?>
 " class="boton" style="margin-left: 40px;" onclick="enlace('modi.php?<?php 
    echo PFN_cambia_url('id_conf', $id_conf, false);
    ?>
');" />
		<?php 
    if ($PFN_usuarios->get('vale')) {
        ?>
		<input type="button" value=" <?php 
        echo $PFN_conf->t('eliminar');
        ?>
 " class="boton" style="margin-left: 40px;" onclick="eliminar();" />
		<?php 
    }
    ?>
		<?php 
}
?>
    echo $PFN_conf->t('Xok', intval($ok)) . '<br />';
}
?>
</div>

<br />
<?php 
if (count($erros) > 0) {
    ?>
<input type="button" value=" <?php 
    echo $PFN_conf->t('voltar');
    ?>
 " class="boton" onclick="enlace('index.php?<?php 
    echo PFN_cambia_url('id_conf', $id_conf, false);
    ?>
');">
<?php 
} else {
    ?>
<input type="button" value=" <?php 
    echo $PFN_conf->t('voltar');
    ?>
 " class="boton" onclick="enlace('../index.php?<?php 
    echo PFN_cambia_url(array('id_conf', 'opc'), array('', 4), false);
    ?>
');">
<?php 
}
?>
<br />
Example #20
0
GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
defined('OK') && defined('ACCION') or die;
?>
		<div class="bloque_info"><h1><?php 
echo $PFN_conf->t('accion') . ' &raquo; ' . $PFN_conf->t('mover_' . $tipo);
?>
</h1></div>
		<form action="accion.php?<?php 
echo PFN_cambia_url('accion', 'mover', false);
?>
" method="post" onsubmit="return submitonce();">
		<input type="hidden" name="executa" value="true" />
		<input type="hidden" name="cal" value="<?php 
echo $cal;
?>
" />
		<div class="aviso_info"><?php 
echo $adv;
?>
</div>

		<div style="text-align: center; width: 100%;">
			<table summary=""><tr><td style="text-align: left;"><?php 
echo $PFN_arbore->arbore_txt;
Example #21
0
GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
defined('OK') && defined('ACCION') or die;
?>
		<div class="bloque_info"><h1><?php 
echo $PFN_conf->t('accion') . ' &raquo; ' . $PFN_conf->t('renomear');
?>
</h1></div>
		<form id="formulario" action="accion.php?<?php 
echo PFN_cambia_url('accion', 'renomear', false);
?>
" method="post" onsubmit="return submitonce();">
		<fieldset>
		<input type="hidden" name="executa" value="true" />
		<input type="hidden" name="cal" value="<?php 
echo $cal;
?>
" />

		<table class="tabla_info" summary="">
			<tr>
				<th><label for="antigo"><?php 
echo $PFN_conf->t('orixinal');
?>
:</label></th>
Example #22
0
*******************************************************************************/
defined('OK') or die;
?>
<div id="utilidades_superior">
	<div id="navegacion">
<?php 
echo $PFN_conf->t('estasen') . '&nbsp;';
$acum = '';
$partes = explode('/', $dir);
foreach ($partes as $k => $v) {
    if (!empty($v)) {
        $acum .= "{$v}/";
        if ($v == '.') {
            echo ' <a href="navega.php?' . PFN_cambia_url('dir', '.', false) . '">' . $PFN_conf->t('comezo') . '</a> /';
        } else {
            echo ' <a href="navega.php?' . PFN_cambia_url('dir', substr($acum, 0, -1), false) . '">' . $v . '</a> /';
        }
    }
}
?>
	</div>
	<?php 
if (!empty($menu_opc['buscador'])) {
    ?>
	<script type="text/javascript"><!--

	function envia_busca (obx_form) {
		obx_palabra = obx_form.palabra_buscar.value;

		if (obx_palabra == "" || obx_palabra == "<?php 
    echo $PFN_conf->t('busca');
Example #23
0
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
defined('OK') && defined('ACCION') or die;
?>

		<div class="bloque_info"><h1><?php 
echo $PFN_conf->t('accion') . ' &raquo; ' . $PFN_conf->t('eliminar_arq');
?>
</h1></div>
		<form action="accion.php?<?php 
echo PFN_cambia_url('accion', 'eliminar', false);
?>
" method="post" onsubmit="return submitonce();">
		<fieldset>
		<input type="hidden" name="executa" value="true" />
		<input type="hidden" name="cal" value="<?php 
echo $cal;
?>
" />
		<div class="aviso_info"><?php 
echo $PFN_conf->t('estado.eliminar_arq', 2);
?>
</div>

		<div style="text-align: center; margin-top: 10px;">
			<input type="reset" value=" <?php 
Example #24
0
		<div class="bloque_info">
			<h1><?php 
    echo $PFN_conf->t('protexer');
    ?>
</h1>
			<?php 
    if ($protexido) {
        ?>
			<div class="aviso"><?php 
        echo $PFN_conf->t('directorio_protexido');
        ?>
			<?php 
    }
    ?>
			<form id="form_protexer" action="accion.php?<?php 
    echo PFN_cambia_url(array('dir', 'arq', 'accion'), array($dir, $arq, 'info'), false);
    ?>
" method="post" onsubmit="return submitonce();">
			<fieldset>
			<input type="hidden" name="executa" value="true" />
			<input type="hidden" name="formulario" value="protexer" />
			<input type="hidden" name="cal" value="<?php 
    echo $cal;
    ?>
" />
			<table class="tabla_info" summary="">
				<tr>
					<th><?php 
    echo $PFN_conf->t('usuario');
    ?>
</th>
Example #25
0
$relativo = '../../';
include $relativo . 'paths.php';
include_once $PFN_paths['include'] . 'basicweb.php';
include_once $PFN_paths['include'] . 'Xusuarios.php';
PFN_quita_url_SERVER('id_conf');
session_write_close();
$ok = 0;
$erros = array();
$id_conf = $PFN_vars->get('id_conf');
$existe = $PFN_usuarios->init('configuracion', $id_conf);
$nome_arq = $PFN_niveles->path_correcto($PFN_paths['conf'] . $PFN_usuarios->get('conf') . '.inc.php');
if (!$existe) {
    $erros[] = 18;
} elseif ($PFN_usuarios->get('vale') != 1) {
    $erros[] = 25;
} elseif ($PFN_usuarios->init('configuracion_raices', $id_conf)) {
    $erros[] = 26;
} elseif ($PFN_usuarios->init('configuracion_grupos', $id_conf)) {
    $erros[] = 27;
}
if (count($erros) == 0) {
    $PFN_usuarios->accion('conf_eliminar', $id_conf);
    @unlink($nome_arq);
}
$ok = count($erros) ? false : 4;
if ($ok) {
    Header('Location: ../index.php?' . PFN_cambia_url(array('id_conf', 'opc', 'ok'), array('', 4, $ok), false, true));
} else {
    Header('Location: index.php?' . PFN_cambia_url(array('id_conf', 'erros'), array($id_conf, implode(',', $erros)), false, true));
}
exit;
				new ajax(0, {update: $('resultado_ajax')});

				document.getElementById('resultado_ajax').innerHTML += '<br class="nada" />';

				return false;
			}

			//--></script>

			<p><?php 
    echo $PFN_conf->t('redimensionar_dir_txt');
    ?>
</p>
			<form id="formulario" action="accion.php?<?php 
    echo PFN_cambia_url('accion', 'redimensionar_dir', false);
    ?>
" method="post" onsubmit="return procesa_imaxes();">
			<fieldset>

			<br /><input type="checkbox" name="sobreescribir" id="sobreescribir" value="si" />
			&nbsp;&nbsp;<label for="sobreescribir"><?php 
    echo $PFN_conf->t('sobreescribir_reducidas');
    ?>
</label>

			<br /><input type="checkbox" name="previsualizar" id="previsualizar" value="si" />
			&nbsp;&nbsp;<label for="previsualizar"><?php 
    echo $PFN_conf->t('amosar_previsualizacions');
    ?>
</label>
Example #27
0
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
defined('OK') && defined('ACCION') or die;
?>
<div id="ver_info">
	<div class="bloque_info"><h1><?php 
echo $PFN_conf->t('accion') . ' &raquo; ' . $PFN_conf->t($accion);
?>
</h1></div>
	<div class="bloque_info">
		<form action="accion.php?<?php 
echo PFN_cambia_url('accion', $accion, false);
?>
" method="post" onsubmit="return submitonce();">
		<fieldset>
		<input type="hidden" name="executa" value="true" />
		<?php 
foreach ($multiple_escollidos as $v) {
    ?>
		<input type="hidden" name="multiple_escollidos[]" value="<?php 
    echo $v;
    ?>
" />
		<?php 
}
?>
Example #28
0
/****************************************************************************
* data/xestion/Xopcions.inc.php
*
* Carga lo necesario para la visualización del menú superior de opciones en la
* administración
*

PHPfileNavigator versión 2.2.0

Copyright (C) 2004-2005 Lito <*****@*****.**>

http://phpfilenavigator.litoweb.net/

Este programa es software libre. Puede redistribuirlo y/o modificarlo bajo los
términos de la Licencia Pública General de GNU según es publicada por la Free
Software Foundation, bien de la versión 2 de dicha Licencia o bien (según su
elección) de cualquier versión posterior. 

Este programa se distribuye con la esperanza de que sea útil, pero SIN NINGUNA
GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
defined('OK') && defined('XESTION') or die;
$quita_url = PFN_quita_url(array('id_raiz', 'id_usuario', 'id_grupo', 'id_conf'), false);
$Xopcions = array('m_comezo' => $relativo . 'navega.php?' . PFN_cambia_url('dir', './', false), 'm_admin' => $relativo . 'xestion/index.php?' . session_name() . '=' . session_id(), 'm_actualizar' => PFN_get_url(), 'Xm_crear_raiz' => $relativo . 'xestion/raices/index.php?' . $quita_url, 'Xm_crear_usuario' => $relativo . 'xestion/usuarios/index.php?' . $quita_url, 'Xm_crear_grupo' => $relativo . 'xestion/grupos/index.php?' . $quita_url, 'Xm_varios' => $relativo . 'xestion/varios/index.php?' . $quita_url, 'Xm_informes' => $relativo . 'xestion/informes/index.php?' . $quita_url, 'Xm_traduccion' => $relativo . 'xestion/traduccion/index.php?' . $quita_url, 'Xm_doazon' => $relativo . 'xestion/doazon.php?' . $quita_url, 'm_sair' => $relativo . 'sair.php?' . $quita_url);
include $PFN_paths['plantillas'] . 'Xopcions.inc.php';
Example #29
0
		</table>
		<br />

		<div style="width: 100%; text-align: center;">
			<?php 
if (!empty($id_usuario)) {
    ?>
			<input type="reset" value=" <?php 
    echo $PFN_conf->t('eliminar');
    ?>
 " class="boton" style="margin-right: 40px;" onclick="eliminar();" tabindex="110" />
			<?php 
}
?>
			<input type="reset" value=" <?php 
echo $PFN_conf->t('voltar');
?>
 " class="boton" style="margin-right: 40px;" onclick="enlace('../index.php?<?php 
echo PFN_cambia_url('opc', 2, false);
?>
');" tabindex="120" />
			<input type="submit" value="<?php 
echo $PFN_conf->t('aceptar');
?>
" class="boton" tabindex="130" /><br />
		</div>
		</fieldset>
		</form>
	</div>
</div>
Example #30
0
echo $PFN_conf->t('accion') . ' &raquo; ' . $PFN_conf->t('enviar_correo');
?>
</h1></div>
		<?php 
if (strlen($estado_accion)) {
    ?>
		<div class="aviso"><?php 
    echo $estado_accion;
    ?>
</div>
		<?php 
}
if ($estado === true) {
    ?>
		<form id="formulario" action="accion.php?<?php 
    echo PFN_cambia_url('accion', 'correo', false);
    ?>
" method="post" onsubmit="return submitonce();">
		<fieldset>
		<input type="hidden" name="executa" value="true" />
		<input type="hidden" name="cal" value="<?php 
    echo $cal;
    ?>
" />

		<table class="tabla_info" summary="">
			<tr>
				<th><label for="para"><?php 
    echo $PFN_conf->t('para');
    ?>
:</label></th>