git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_Intranet/trunk/src@24 e2b1556b-49f8-d141-9351-52d6861a72d9
31 lines
1014 B
PHP
31 lines
1014 B
PHP
<?php
|
|
|
|
include("seguridad.php");
|
|
include("functions.php");
|
|
// Sólo los administradores y rrhh pueden importar
|
|
if(!$usuario->tieneRol("1")
|
|
&& !$usuario->tieneRol("4")){
|
|
header("Location: aplicacion.php?e=permiso");
|
|
exit;
|
|
}
|
|
include_once("html/cabecera.php");
|
|
|
|
include_once("Objects/HTML.php");
|
|
$html = new HTML($locale);
|
|
|
|
echo $html->menuCandidatos();
|
|
echo "<h2>".$locale["1541"]."</h2>";
|
|
echo '<form action="importa_candidato_infojobs.php" method="POST">';
|
|
echo '<textarea name="contenido" rows="20" cols="100" maxlength="10000" style="overflow: auto;"></textarea><br>';
|
|
echo '<input type="submit" class="button" value="Importar">';
|
|
echo '</form>';
|
|
|
|
echo "<h2>".$locale["1542"]."</h2>";
|
|
echo "Formato: nombre;apellidos;e-mail;tlf móvil<br/>";
|
|
echo '<form action="importa_candidatos_cvs.php" enctype="multipart/form-data" method="POST">';
|
|
echo '<input name="userfile" type="file"><br>';
|
|
echo '<input type="submit" class="button" value="Importar">';
|
|
echo '</form>';
|
|
|
|
?>
|