Se arregla el poder añadir y borrar curriculums
git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_Intranet/trunk/src@91 e2b1556b-49f8-d141-9351-52d6861a72d9
This commit is contained in:
parent
08af5e477c
commit
5f480ca2b3
@ -83,6 +83,8 @@ class Candidato extends Persona {
|
|||||||
* Otro - Excepción
|
* Otro - Excepción
|
||||||
*/
|
*/
|
||||||
$sesion = $this->usuario->getValor("oid");
|
$sesion = $this->usuario->getValor("oid");
|
||||||
|
echo $this->usuario->tieneRol(1);
|
||||||
|
echo $this->usuario->tieneRol(4);
|
||||||
if ($this->usuario->tieneRol(1) || $this->usuario->tieneRol(4)) {
|
if ($this->usuario->tieneRol(1) || $this->usuario->tieneRol(4)) {
|
||||||
parent::removeCurriculum($curriculum, $fecha, $this->usuario->getValor("nombre"));
|
parent::removeCurriculum($curriculum, $fecha, $this->usuario->getValor("nombre"));
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -391,6 +391,7 @@ echo '<tr><td colspan="6">';
|
|||||||
echo '</td></tr><tr>';
|
echo '</td></tr><tr>';
|
||||||
echo '<input type="hidden" name="MAX_FILE_SIZE" value="10000000"><td colspan="6" textalign="right">'.$locale['125'].'<br>';
|
echo '<input type="hidden" name="MAX_FILE_SIZE" value="10000000"><td colspan="6" textalign="right">'.$locale['125'].'<br>';
|
||||||
echo '<input name="userfile" type="file">';
|
echo '<input name="userfile" type="file">';
|
||||||
|
echo '<input value="Subir" type="submit">';
|
||||||
echo '</td></tr></table>';
|
echo '</td></tr></table>';
|
||||||
echo '<input type="submit" value="'.$locale['802'].'" class="button">';
|
echo '<input type="submit" value="'.$locale['802'].'" class="button">';
|
||||||
|
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
include("seguridad.php");
|
include("seguridad.php");
|
||||||
include("functions.php");
|
include("functions.php");
|
||||||
|
include_once("Objects/Candidato.php");
|
||||||
|
|
||||||
$oid = stripinput($_GET["oid"]);
|
$oid = stripinput($_GET["oid"]);
|
||||||
$curriculum = stripinput($_GET["curriculum"]);
|
$curriculum = stripinput($_GET["curriculum"]);
|
||||||
|
|||||||
@ -474,6 +474,7 @@ echo '<tr><td colspan="6">';
|
|||||||
echo '</td></tr><tr>';
|
echo '</td></tr><tr>';
|
||||||
echo '<input type="hidden" name="MAX_FILE_SIZE" value="10000000"><td colspan="6" textalign="right">'.$locale['125'].'<br>';
|
echo '<input type="hidden" name="MAX_FILE_SIZE" value="10000000"><td colspan="6" textalign="right">'.$locale['125'].'<br>';
|
||||||
echo '<input name="userfile" type="file">';
|
echo '<input name="userfile" type="file">';
|
||||||
|
echo '<input value="Subir" type="submit">';
|
||||||
echo '</td></tr></table>';
|
echo '</td></tr></table>';
|
||||||
|
|
||||||
echo '<input type="submit" value="'.$locale['1580'].'" class="button">';
|
echo '<input type="submit" value="'.$locale['1580'].'" class="button">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user