From 8a721531e49ff52d13af967bb999e0146bed8ab6 Mon Sep 17 00:00:00 2001 From: nosolored Date: Tue, 23 May 2017 13:36:05 +0200 Subject: [PATCH] Delete unnecessary SEPE plugin files --- plugin/sepe/src/accion-formativa.php | 60 --- plugin/sepe/src/configuracion.php | 41 -- plugin/sepe/src/datos-identificativos.php | 37 -- plugin/sepe/src/editar-accion-formativa.php | 112 ---- .../sepe/src/editar-datos-identificativos.php | 67 --- .../sepe/src/editar-especialidad-accion.php | 145 ------ .../src/editar-especialidad-classroom.php | 123 ----- .../src/editar-especialidad-participante.php | 170 ------- plugin/sepe/src/editar-especialidad-tutor.php | 146 ------ .../src/editar-especialidad-tutorials.php | 112 ---- .../sepe/src/editar-participante-accion.php | 171 ------- .../sepe/src/listado-acciones-formativas.php | 53 -- plugin/sepe/src/menu_sepe_administracion.php | 59 --- plugin/sepe/view/accion_formativa.tpl | 267 ---------- plugin/sepe/view/configuracion.tpl | 40 -- plugin/sepe/view/datos_identificativos.tpl | 95 ---- plugin/sepe/view/editar_accion_formativa.tpl | 357 ------------- .../view/editar_datos_identificativos.tpl | 89 ---- .../sepe/view/editar_especialidad_accion.tpl | 435 ---------------- .../view/editar_especialidad_classroom.tpl | 95 ---- .../view/editar_especialidad_participante.tpl | 480 ------------------ .../sepe/view/editar_especialidad_tutor.tpl | 299 ----------- .../view/editar_especialidad_tutorials.tpl | 199 -------- .../sepe/view/editar_participante_accion.tpl | 410 --------------- .../sepe/view/listado_acciones_formativas.tpl | 72 --- plugin/sepe/view/menu_sepe_administracion.tpl | 5 - 26 files changed, 4139 deletions(-) delete mode 100644 plugin/sepe/src/accion-formativa.php delete mode 100644 plugin/sepe/src/configuracion.php delete mode 100644 plugin/sepe/src/datos-identificativos.php delete mode 100644 plugin/sepe/src/editar-accion-formativa.php delete mode 100644 plugin/sepe/src/editar-datos-identificativos.php delete mode 100644 plugin/sepe/src/editar-especialidad-accion.php delete mode 100644 plugin/sepe/src/editar-especialidad-classroom.php delete mode 100644 plugin/sepe/src/editar-especialidad-participante.php delete mode 100644 plugin/sepe/src/editar-especialidad-tutor.php delete mode 100644 plugin/sepe/src/editar-especialidad-tutorials.php delete mode 100644 plugin/sepe/src/editar-participante-accion.php delete mode 100644 plugin/sepe/src/listado-acciones-formativas.php delete mode 100644 plugin/sepe/src/menu_sepe_administracion.php delete mode 100644 plugin/sepe/view/accion_formativa.tpl delete mode 100644 plugin/sepe/view/configuracion.tpl delete mode 100644 plugin/sepe/view/datos_identificativos.tpl delete mode 100644 plugin/sepe/view/editar_accion_formativa.tpl delete mode 100644 plugin/sepe/view/editar_datos_identificativos.tpl delete mode 100644 plugin/sepe/view/editar_especialidad_accion.tpl delete mode 100644 plugin/sepe/view/editar_especialidad_classroom.tpl delete mode 100644 plugin/sepe/view/editar_especialidad_participante.tpl delete mode 100644 plugin/sepe/view/editar_especialidad_tutor.tpl delete mode 100644 plugin/sepe/view/editar_especialidad_tutorials.tpl delete mode 100644 plugin/sepe/view/editar_participante_accion.tpl delete mode 100644 plugin/sepe/view/listado_acciones_formativas.tpl delete mode 100644 plugin/sepe/view/menu_sepe_administracion.tpl diff --git a/plugin/sepe/src/accion-formativa.php b/plugin/sepe/src/accion-formativa.php deleted file mode 100644 index 23034e8071..0000000000 --- a/plugin/sepe/src/accion-formativa.php +++ /dev/null @@ -1,60 +0,0 @@ -get_lang('accion_formativa'); - $interbreadcrumb[] = array("url" => "/plugin/sepe/src/menu_sepe_administracion.php", "name" => $plugin->get_lang('menu_sepe')); - $interbreadcrumb[] = array("url" => "listado-acciones-formativas.php", "name" => $plugin->get_lang('listado_acciones_formativas')); - $tpl = new Template($templateName); - - if (isset($_SESSION['sepe_message_info'])) { - $tpl->assign('message_info', $_SESSION['sepe_message_info']); - unset($_SESSION['sepe_message_info']); - } - if (isset($_SESSION['sepe_message_error'])) { - $tpl->assign('message_error', $_SESSION['sepe_message_error']); - unset($_SESSION['sepe_message_error']); - } - - $tpl->assign('info', $info); - $tpl->assign('fecha_start', date("d/m/Y",strtotime($info['FECHA_INICIO']))); - $tpl->assign('fecha_end', date("d/m/Y",strtotime($info['FECHA_FIN']))); - $tpl->assign('cod_action', $cod_action); - $listSpecialty = listSpecialty($cod_action); - $tpl->assign('listSpecialty', $listSpecialty); - $listParticipant = listParticipant($cod_action); - $tpl->assign('listParticipant', $listParticipant); - - - $listing_tpl = 'sepe/view/accion_formativa.tpl'; - $content = $tpl->fetch($listing_tpl); - $tpl->assign('content', $content); - $tpl->display_one_col_template(); - -} else { - header("location: http://".$_SERVER['SERVER_NAME']); -} diff --git a/plugin/sepe/src/configuracion.php b/plugin/sepe/src/configuracion.php deleted file mode 100644 index ca2f93ef5a..0000000000 --- a/plugin/sepe/src/configuracion.php +++ /dev/null @@ -1,41 +0,0 @@ - 0) - { - $tmp = Database::fetch_assoc($result); - $info = $tmp['api']; - - } else { - $info = ''; - } - $templateName = $plugin->get_lang('configuracion_sepe'); - $interbreadcrumb[] = array("url" => "/plugin/sepe/src/menu_sepe_administracion.php", "name" => $plugin->get_lang('menu_sepe')); - $tpl = new Template($templateName); - - $tpl->assign('info', $info); - - $listing_tpl = 'sepe/view/configuracion.tpl'; - $content = $tpl->fetch($listing_tpl); - $tpl->assign('content', $content); - $tpl->display_one_col_template(); - -} else { - header("location: http://".$_SERVER['SERVER_NAME']); -} diff --git a/plugin/sepe/src/datos-identificativos.php b/plugin/sepe/src/datos-identificativos.php deleted file mode 100644 index 6da0eb22fd..0000000000 --- a/plugin/sepe/src/datos-identificativos.php +++ /dev/null @@ -1,37 +0,0 @@ -get_lang('datos_centro'); - $interbreadcrumb[] = array("url" => "/plugin/sepe/src/menu_sepe_administracion.php", "name" => $plugin->get_lang('menu_sepe')); - $tpl = new Template($templateName); - - if (isset($_SESSION['sepe_message_info'])) { - $tpl->assign('message_info', $_SESSION['sepe_message_info']); - unset($_SESSION['sepe_message_info']); - } - if (isset($_SESSION['sepe_message_error'])) { - $tpl->assign('message_error', $_SESSION['sepe_message_error']); - unset($_SESSION['sepe_message_error']); - } - - $tpl->assign('info', $info); - - $listing_tpl = 'sepe/view/datos_identificativos.tpl'; - $content = $tpl->fetch($listing_tpl); - $tpl->assign('content', $content); - $tpl->display_one_col_template(); - -} else { - header("location: http://".$_SERVER['SERVER_NAME']); -} - diff --git a/plugin/sepe/src/editar-accion-formativa.php b/plugin/sepe/src/editar-accion-formativa.php deleted file mode 100644 index eeb09072ce..0000000000 --- a/plugin/sepe/src/editar-accion-formativa.php +++ /dev/null @@ -1,112 +0,0 @@ -get_lang('new_accion_formativa'); - $interbreadcrumb[] = array("url" => "/plugin/sepe/src/menu_sepe_administracion.php", "name" => $plugin->get_lang('menu_sepe')); - $interbreadcrumb[] = array("url" => "listado-acciones-formativas.php", "name" => $plugin->get_lang('listado_acciones_formativas')); - $tpl = new Template($templateName); - $inicio_anio = $fin_anio = date("Y"); - $tpl->assign('info', $info); - $tpl->assign('new_action', 'SI'); - $tpl->assign('id_course', $_GET['cid']); - } else { - $id_course = obtener_course($_GET['cod_action']); - $interbreadcrumb[] = array("url" => "/plugin/sepe/src/menu_sepe_administracion.php", "name" => $plugin->get_lang('menu_sepe')); - $interbreadcrumb[] = array("url" => "listado-acciones-formativas.php", "name" => $plugin->get_lang('listado_acciones_formativas')); - $interbreadcrumb[] = array("url" => "accion-formativa.php?cid=".$id_course, "name" => $plugin->get_lang('accion_formativa')); - $info = accion_formativa($_GET['cod_action']); - $templateName = $plugin->get_lang('editar_accion_formativa'); - $tpl = new Template($templateName); - $tpl->assign('info', $info); - $tpl->assign('day_start', date("j",strtotime($info['FECHA_INICIO']))); - $tpl->assign('month_start', date("n",strtotime($info['FECHA_INICIO']))); - $tpl->assign('year_start', date("Y",strtotime($info['FECHA_INICIO']))); - $tpl->assign('day_end', date("j",strtotime($info['FECHA_FIN']))); - $tpl->assign('month_end', date("n",strtotime($info['FECHA_FIN']))); - $tpl->assign('year_end', date("Y",strtotime($info['FECHA_FIN']))); - $tpl->assign('new_action', 'NO'); - $inicio_anio = date("Y",strtotime($info['FECHA_INICIO'])); - $fin_anio = date("Y",strtotime($info['FECHA_FIN'])); - } - - $lista_anio = array(); - if ($inicio_anio > $fin_anio) { - $tmp = $inicio_anio; - $inicio_anio = $fin_anio; - $fin_anio = $tmp; - } - $inicio_anio -= 5; - $fin_anio += 5; - $fin_rango_anio = (($inicio_anio + 15) < $fin_anio) ? ($fin_anio+1):($inicio_anio +15); - while ($inicio_anio <= $fin_rango_anio) { - $lista_anio[] = $inicio_anio; - $inicio_anio++; - } - $tpl->assign('list_year', $lista_anio); - - $listing_tpl = 'sepe/view/editar_accion_formativa.tpl'; - $content = $tpl->fetch($listing_tpl); - $tpl->assign('content', $content); - $tpl->display_one_col_template(); - -} else { - header("location: http://".$_SERVER['SERVER_NAME']); -} diff --git a/plugin/sepe/src/editar-datos-identificativos.php b/plugin/sepe/src/editar-datos-identificativos.php deleted file mode 100644 index 5c06a136b6..0000000000 --- a/plugin/sepe/src/editar-datos-identificativos.php +++ /dev/null @@ -1,67 +0,0 @@ - "/plugin/sepe/src/menu_sepe_administracion.php", "name" => $plugin->get_lang('menu_sepe')); - $interbreadcrumb[] = array("url" => "datos-identificativos.php", "name" => $plugin->get_lang('datos_centro')); - - - $info = datos_identificativos(); - $templateName = $plugin->get_lang('editar_datos_centro'); - $tpl = new Template($templateName); - - $tpl->assign('info', $info); - - $listing_tpl = 'sepe/view/editar_datos_identificativos.tpl'; - $content = $tpl->fetch($listing_tpl); - $tpl->assign('content', $content); - $tpl->display_one_col_template(); - -} else { - header("location: http://".$_SERVER['SERVER_NAME']); -} - diff --git a/plugin/sepe/src/editar-especialidad-accion.php b/plugin/sepe/src/editar-especialidad-accion.php deleted file mode 100644 index b53c040781..0000000000 --- a/plugin/sepe/src/editar-especialidad-accion.php +++ /dev/null @@ -1,145 +0,0 @@ - "/plugin/sepe/src/menu_sepe_administracion.php", "name" => $plugin->get_lang('menu_sepe')); - $interbreadcrumb[] = array("url" => "listado-acciones-formativas.php", "name" => $plugin->get_lang('listado_acciones_formativas')); - $interbreadcrumb[] = array("url" => "accion-formativa.php?cid=".$id_course, "name" => $plugin->get_lang('accion_formativa')); - if (isset($_GET['new_specialty']) && $_GET['new_specialty']=="SI") { - $templateName = $plugin->get_lang('new_specialty_accion'); - $tpl = new Template($templateName); - $tpl->assign('cod_action', $_GET['cod_action']); - $info = array(); - $tpl->assign('info', $info); - $tpl->assign('new_action', 'SI'); - $inicio_anio = $fin_anio = date("Y"); - } else { - $templateName = $plugin->get_lang('edit_specialty_accion'); - $tpl = new Template($templateName); - $tpl->assign('cod_action', $_GET['cod_action']); - $info = especialidad_accion($_GET['cod_specialty']); - $tpl->assign('info', $info); - if ($info['FECHA_INICIO']!='0000-00-00' && $info['FECHA_INICIO']!=NULL) { - $tpl->assign('day_start', date("j",strtotime($info['FECHA_INICIO']))); - $tpl->assign('month_start', date("n",strtotime($info['FECHA_INICIO']))); - $tpl->assign('year_start', date("Y",strtotime($info['FECHA_INICIO']))); - $inicio_anio = date("Y",strtotime($info['FECHA_INICIO'])); - } else { - $inicio_anio = date("Y"); - } - if ($info['FECHA_FIN']!='0000-00-00' && $info['FECHA_FIN']!=NULL) { - $tpl->assign('day_end', date("j",strtotime($info['FECHA_FIN']))); - $tpl->assign('month_end', date("n",strtotime($info['FECHA_FIN']))); - $tpl->assign('year_end', date("Y",strtotime($info['FECHA_FIN']))); - $fin_anio = date("Y",strtotime($info['FECHA_FIN'])); - } else { - $fin_anio = date("Y"); - } - $tpl->assign('new_action', 'NO'); - $tpl->assign('cod_specialty', $_GET['cod_specialty']); - - $listClassroom = listClassroom($_GET['cod_specialty']); - $tpl->assign('listClassroom', $listClassroom); - $listTutors = listTutors($_GET['cod_specialty']); - $tpl->assign('listTutors', $listTutors); - } - - $lista_anio = array(); - if ($inicio_anio > $fin_anio) { - $tmp = $inicio_anio; - $inicio_anio = $fin_anio; - $fin_anio = $tmp; - } - $inicio_anio -= 5; - $fin_anio += 5; - $fin_rango_anio = (($inicio_anio + 15) < $fin_anio) ? ($fin_anio+1):($inicio_anio +15); - while ($inicio_anio <= $fin_rango_anio) { - $lista_anio[] = $inicio_anio; - $inicio_anio++; - } - $tpl->assign('list_year', $lista_anio); - - if (isset($_SESSION['sepe_message_info'])) { - $tpl->assign('message_info', $_SESSION['sepe_message_info']); - unset($_SESSION['sepe_message_info']); - } - if (isset($_SESSION['sepe_message_error'])) { - $tpl->assign('message_error', $_SESSION['sepe_message_error']); - unset($_SESSION['sepe_message_error']); - } - - - $listing_tpl = 'sepe/view/editar_especialidad_accion.tpl'; - $content = $tpl->fetch($listing_tpl); - $tpl->assign('content', $content); - $tpl->display_one_col_template(); - -} else { - header("location: http://".$_SERVER['SERVER_NAME']); -} diff --git a/plugin/sepe/src/editar-especialidad-classroom.php b/plugin/sepe/src/editar-especialidad-classroom.php deleted file mode 100644 index b40e18775e..0000000000 --- a/plugin/sepe/src/editar-especialidad-classroom.php +++ /dev/null @@ -1,123 +0,0 @@ -0) { - $aux = Database::fetch_assoc($rs_tmp); - $cod_centro = $aux['cod']; - } else { - $params = array( - 'ORIGEN_CENTRO' => $ORIGEN_CENTRO, - 'CODIGO_CENTRO' => $CODIGO_CENTRO, - ); - $cod_centro = Database::insert('plugin_sepe_centros', $params); - } - - if (isset($new_classroom) && $new_classroom!="SI") { - $sql = "UPDATE plugin_sepe_specialty_classroom SET cod_centro='".$cod_centro."' WHERE cod='".$cod_classroom."';"; - } else { - $sql = "INSERT INTO plugin_sepe_specialty_classroom (cod_specialty, cod_centro) VALUES ('".$cod_specialty."','".$cod_centro."');"; - } - //echo $sql; - //exit; - - $res = Database::query($sql); - if (!$res) { - echo Database::error(); - $_SESSION['sepe_message_error'] = "No se ha guardado los cambios"; - } else { - $_SESSION['sepe_message_info'] = "Se ha guardado los cambios"; - if ($new_classroom=="SI") { - $cod_classroom = Database::insert_id(); - } - } - } - session_write_close(); - $id_course = obtener_course($cod_action); - header("Location: editar-especialidad-accion.php?new_specialty=NO&cod_specialty=".$cod_specialty."&cod_action=".$cod_action); - -} - - - -if (api_is_platform_admin()) { - $id_course = obtener_course($_GET['cod_action']); - $interbreadcrumb[] = array("url" => "/plugin/sepe/src/menu_sepe_administracion.php", "name" => $plugin->get_lang('menu_sepe')); - $interbreadcrumb[] = array("url" => "listado-acciones-formativas.php", "name" => $plugin->get_lang('listado_acciones_formativas')); - $interbreadcrumb[] = array("url" => "accion-formativa.php?cid=".$id_course, "name" => $plugin->get_lang('accion_formativa')); - $interbreadcrumb[] = array("url" => "editar-especialidad-accion.php?new_specialty=NO&cod_specialty=".$_GET['cod_specialty']."&cod_action=".$_GET['cod_action'], "name" => $plugin->get_lang('especialidad_accion_formativa')); - if (isset($_GET['new_classroom']) && $_GET['new_classroom']=="SI") { - $templateName = $plugin->get_lang('new_specialty_classroom'); - $tpl = new Template($templateName); - $tpl->assign('cod_action', $_GET['cod_action']); - $tpl->assign('cod_specialty', $_GET['cod_specialty']); - $info = array(); - $tpl->assign('info', $info); - $tpl->assign('new_classroom', 'SI'); - } else { - $templateName = $plugin->get_lang('edit_specialty_classroom'); - $tpl = new Template($templateName); - $tpl->assign('cod_action', $_GET['cod_action']); - $tpl->assign('cod_specialty', $_GET['cod_specialty']); - $tpl->assign('cod_classroom', $_GET['cod_classroom']); - $info = especialidad_classroom($_GET['cod_classroom']); - $tpl->assign('info', $info); - $tpl->assign('new_classroom', 'NO'); - - } - $listCentros = listado_centros(); - - $tpl->assign('listCentrosExistentes', $listCentros); - - if (isset($_SESSION['sepe_message_info'])) { - $tpl->assign('message_info', $_SESSION['sepe_message_info']); - unset($_SESSION['sepe_message_info']); - } - if (isset($_SESSION['sepe_message_error'])) { - $tpl->assign('message_error', $_SESSION['sepe_message_error']); - unset($_SESSION['sepe_message_error']); - } - - $listing_tpl = 'sepe/view/editar_especialidad_classroom.tpl'; - $content = $tpl->fetch($listing_tpl); - $tpl->assign('content', $content); - $tpl->display_one_col_template(); - -} else { - header("location: http://".$_SERVER['SERVER_NAME']); -} diff --git a/plugin/sepe/src/editar-especialidad-participante.php b/plugin/sepe/src/editar-especialidad-participante.php deleted file mode 100644 index 86fd64d8bf..0000000000 --- a/plugin/sepe/src/editar-especialidad-participante.php +++ /dev/null @@ -1,170 +0,0 @@ - "/plugin/sepe/src/menu_sepe_administracion.php", "name" => $plugin->get_lang('menu_sepe')); - $interbreadcrumb[] = array("url" => "listado-acciones-formativas.php", "name" => $plugin->get_lang('listado_acciones_formativas')); - $interbreadcrumb[] = array("url" => "accion-formativa.php?cid=".$id_course, "name" => $plugin->get_lang('accion_formativa')); - $interbreadcrumb[] = array("url" => "editar-participante-accion.php?new_participant=NO&cod_participant=".$_GET['cod_participant']."&cod_action=".$_GET['cod_action'], "name" => $plugin->get_lang('participante_accion_formativa')); - if (isset($_GET['new_specialty']) && $_GET['new_specialty']=="SI") { - $templateName = $plugin->get_lang('new_specialty_participant'); - $tpl = new Template($templateName); - $tpl->assign('cod_action', $_GET['cod_action']); - $tpl->assign('cod_participant', $_GET['cod_participant']); - $info = array(); - $tpl->assign('info', $info); - $tpl->assign('new_specialty', 'SI'); - $inicio_anio = $fin_anio = date("Y"); - $alta_anio = $baja_anio = date("Y"); - } else { - $templateName = $plugin->get_lang('edit_specialty_participant'); - $tpl = new Template($templateName); - $tpl->assign('cod_action', $_GET['cod_action']); - $tpl->assign('cod_specialty', $_GET['cod_specialty']); - $tpl->assign('cod_participant', $_GET['cod_participant']); - $info = especialidad_participante($_GET['cod_specialty']); - //error_log(print_r($info,true)); - $tpl->assign('info', $info); - $tpl->assign('new_specialty', 'NO'); - if ($info['FECHA_ALTA']!='0000-00-00' && $info['FECHA_ALTA']!=NULL) { - $tpl->assign('day_alta', date("j",strtotime($info['FECHA_ALTA']))); - $tpl->assign('month_alta', date("n",strtotime($info['FECHA_ALTA']))); - $tpl->assign('year_alta', date("Y",strtotime($info['FECHA_ALTA']))); - $alta_anio = date("Y",strtotime($info['FECHA_ALTA'])); - } else { - $alta_anio = date("Y"); - } - if ($info['FECHA_BAJA']!='0000-00-00' && $info['FECHA_BAJA']!=NULL) { - $tpl->assign('day_baja', date("j",strtotime($info['FECHA_BAJA']))); - $tpl->assign('month_baja', date("n",strtotime($info['FECHA_BAJA']))); - $tpl->assign('year_baja', date("Y",strtotime($info['FECHA_BAJA']))); - $baja_anio = date("Y",strtotime($info['FECHA_BAJA'])); - } else { - $baja_anio = date("Y"); - } - if ($info['FECHA_INICIO']!='0000-00-00' && $info['FECHA_INICIO']!=NULL) { - $tpl->assign('day_start', date("j",strtotime($info['FECHA_INICIO']))); - $tpl->assign('month_start', date("n",strtotime($info['FECHA_INICIO']))); - $tpl->assign('year_start', date("Y",strtotime($info['FECHA_INICIO']))); - $inicio_anio = date("Y",strtotime($info['FECHA_INICIO'])); - } else { - $inicio_anio = date("Y"); - } - if ($info['FECHA_FIN']!='0000-00-00' && $info['FECHA_FIN']!=NULL) { - $tpl->assign('day_end', date("j",strtotime($info['FECHA_FIN']))); - $tpl->assign('month_end', date("n",strtotime($info['FECHA_FIN']))); - $tpl->assign('year_end', date("Y",strtotime($info['FECHA_FIN']))); - $fin_anio = date("Y",strtotime($info['FECHA_FIN'])); - } else { - $fin_anio = date("Y"); - } - $listSpecialtyTutorials = listSpecialtyTutorial($_GET['cod_specialty']); - $tpl->assign('listSpecialtyTutorials', $listSpecialtyTutorials); - } - - - $lista_anio = array(); - if ($alta_anio > $baja_anio) { - $tmp = $alta_anio; - $alta_anio = $baja_anio; - $baja_anio = $tmp; - } - $alta_anio -= 5; - $baja_anio += 5; - $fin_rango_anio = (($alta_anio + 15) < $baja_anio) ? ($baja_anio+1):($alta_anio + 15); - while ($alta_anio <= $fin_rango_anio) { - $lista_anio[] = $alta_anio; - $alta_anio++; - } - $tpl->assign('list_year', $lista_anio); - - $lista_anio = array(); - if ($inicio_anio > $fin_anio) { - $tmp = $inicio_anio; - $inicio_anio = $fin_anio; - $fin_anio = $tmp; - } - $inicio_anio -= 5; - $fin_anio += 5; - $fin_rango_anio = (($inicio_anio + 15) < $fin_anio) ? ($fin_anio+1):($inicio_anio +15); - while ($inicio_anio <= $fin_rango_anio) { - $lista_anio[] = $inicio_anio; - $inicio_anio++; - } - $tpl->assign('list_year_2', $lista_anio); - - if (isset($_SESSION['sepe_message_info'])) { - $tpl->assign('message_info', $_SESSION['sepe_message_info']); - unset($_SESSION['sepe_message_info']); - } - if (isset($_SESSION['sepe_message_error'])) { - $tpl->assign('message_error', $_SESSION['sepe_message_error']); - unset($_SESSION['sepe_message_error']); - } - - $listing_tpl = 'sepe/view/editar_especialidad_participante.tpl'; - $content = $tpl->fetch($listing_tpl); - $tpl->assign('content', $content); - $tpl->display_one_col_template(); - -} else { - header("location: http://".$_SERVER['SERVER_NAME']); -} diff --git a/plugin/sepe/src/editar-especialidad-tutor.php b/plugin/sepe/src/editar-especialidad-tutor.php deleted file mode 100644 index 36efe0d2dd..0000000000 --- a/plugin/sepe/src/editar-especialidad-tutor.php +++ /dev/null @@ -1,146 +0,0 @@ -0) { - //datos identificativos existen se actualizan - $aux = Database::fetch_assoc($rs); - $sql = "UPDATE plugin_sepe_tutors SET - cod_user_chamilo='".$cod_user_chamilo."', - ACREDITACION_TUTOR='".$ACREDITACION_TUTOR."', - EXPERIENCIA_PROFESIONAL='".$EXPERIENCIA_PROFESIONAL."', - COMPETENCIA_DOCENTE='".$COMPETENCIA_DOCENTE."', - EXPERIENCIA_MODALIDAD_TELEFORMACION='".$EXPERIENCIA_MODALIDAD_TELEFORMACION."', - FORMACION_MODALIDAD_TELEFORMACION='".$FORMACION_MODALIDAD_TELEFORMACION."' - WHERE cod='".$aux['cod']."';"; - $res = Database::query($sql); - if (!$res) { - echo Database::error(); - exit; - $_SESSION['sepe_message_error'] = "No se ha guardado los cambios"; - } - $cod_tutor = $aux['cod']; - } else { - //datos identificativos no existen se crea un nuevo registro - Database::query('UPDATE plugin_sepe_tutors SET cod_user_chamilo="" WHERE cod_user_chamilo="'.$cod_user_chamilo.'"'); - $sql = "INSERT INTO plugin_sepe_tutors (cod_user_chamilo,TIPO_DOCUMENTO,NUM_DOCUMENTO,LETRA_NIF,ACREDITACION_TUTOR,EXPERIENCIA_PROFESIONAL,COMPETENCIA_DOCENTE,EXPERIENCIA_MODALIDAD_TELEFORMACION,FORMACION_MODALIDAD_TELEFORMACION) - VALUES - ('".$cod_user_chamilo."','".$TIPO_DOCUMENTO."','".$NUM_DOCUMENTO."','".$LETRA_NIF."','".$ACREDITACION_TUTOR."','".$EXPERIENCIA_PROFESIONAL."','".$COMPETENCIA_DOCENTE."','".$EXPERIENCIA_MODALIDAD_TELEFORMACION."','".$FORMACION_MODALIDAD_TELEFORMACION."');"; - $res = Database::query($sql); - if (!$res) { - echo Database::error(); - $_SESSION['sepe_message_error'] = "No se ha guardado los cambios"; - } - $cod_tutor = Database::insert_id(); - } - - if (isset($new_tutor) && $new_tutor!="SI") { - $sql = "UPDATE plugin_sepe_specialty_tutors SET - cod_tutor='".$cod_tutor."', - ACREDITACION_TUTOR='".$ACREDITACION_TUTOR."', - EXPERIENCIA_PROFESIONAL='".$EXPERIENCIA_PROFESIONAL."', - COMPETENCIA_DOCENTE='".$COMPETENCIA_DOCENTE."', - EXPERIENCIA_MODALIDAD_TELEFORMACION='".$EXPERIENCIA_MODALIDAD_TELEFORMACION."', - FORMACION_MODALIDAD_TELEFORMACION='".$FORMACION_MODALIDAD_TELEFORMACION."' - WHERE cod='".$cod_s_tutor."';"; - } else { - $sql = "INSERT INTO plugin_sepe_specialty_tutors (cod_specialty,cod_tutor,ACREDITACION_TUTOR,EXPERIENCIA_PROFESIONAL,COMPETENCIA_DOCENTE,EXPERIENCIA_MODALIDAD_TELEFORMACION,FORMACION_MODALIDAD_TELEFORMACION) - VALUES - ('".$cod_specialty."','".$cod_tutor."','".$ACREDITACION_TUTOR."','".$EXPERIENCIA_PROFESIONAL."','".$COMPETENCIA_DOCENTE."','".$EXPERIENCIA_MODALIDAD_TELEFORMACION."','".$FORMACION_MODALIDAD_TELEFORMACION."');"; - - $res = Database::query($sql); - if (!$res) { - echo Database::error(); - $_SESSION['sepe_message_error'] = "No se ha guardado los cambios"; - } else { - $_SESSION['sepe_message_info'] = "Se ha guardado los cambios"; - if ($new_tutor=="SI") { - $cod_tutor = Database::insert_id(); - //$sql = "INSERT INTO plugin_sepe_specialty_tutors (cod_specialty, cod_tutor) VALUES ('".$cod_specialty."','".$cod_tutor."');"; - //$res = Database::query($sql); - } - } - } - session_write_close(); - $id_course = obtener_course($cod_action); - header("Location: editar-especialidad-accion.php?new_specialty=NO&cod_specialty=".$cod_specialty."&cod_action=".$cod_action); -} - -if (api_is_platform_admin()) { - $id_course = obtener_course($_GET['cod_action']); - $interbreadcrumb[] = array("url" => "/plugin/sepe/src/menu_sepe_administracion.php", "name" => $plugin->get_lang('menu_sepe')); - $interbreadcrumb[] = array("url" => "listado-acciones-formativas.php", "name" => $plugin->get_lang('listado_acciones_formativas')); - $interbreadcrumb[] = array("url" => "accion-formativa.php?cid=".$id_course, "name" => $plugin->get_lang('accion_formativa')); - $interbreadcrumb[] = array("url" => "editar-especialidad-accion.php?new_specialty=NO&cod_specialty=".$_GET['cod_specialty']."&cod_action=".$_GET['cod_action'], "name" => $plugin->get_lang('especialidad_accion_formativa')); - if (isset($_GET['new_tutor']) && $_GET['new_tutor']=="SI") { - $templateName = $plugin->get_lang('new_specialty_tutor'); - $tpl = new Template($templateName); - $tpl->assign('cod_action', $_GET['cod_action']); - $tpl->assign('cod_specialty', $_GET['cod_specialty']); - $info = array(); - $tpl->assign('info', $info); - $tpl->assign('new_tutor', 'SI'); - $inicio_anio = date("Y"); - $cod_profesor_chamilo = ''; - } else { - $templateName = $plugin->get_lang('edit_specialty_tutor'); - $tpl = new Template($templateName); - $tpl->assign('cod_action', $_GET['cod_action']); - $tpl->assign('cod_specialty', $_GET['cod_specialty']); - $tpl->assign('cod_tutor', $_GET['cod_tutor']); - $info = especialidad_tutor($_GET['cod_tutor']); - $tpl->assign('info', $info); - $tpl->assign('new_tutor', 'NO'); - $cod_profesor_chamilo = $info['cod_user_chamilo']; - } - $listTutores = listado_tutores_specialty($_GET['cod_specialty']); - $tpl->assign('listTutorsExistentes', $listTutores); - - $course_code = obtener_course_code($_GET['cod_action']); - $listProfesor = CourseManager::get_teacher_list_from_course_code($course_code); - $listProfesor = limpiarAsignadosProfesores($listProfesor,$_GET['cod_specialty'],$cod_profesor_chamilo); - $tpl->assign('listProfesor', $listProfesor); - if (isset($_SESSION['sepe_message_info'])) { - $tpl->assign('message_info', $_SESSION['sepe_message_info']); - unset($_SESSION['sepe_message_info']); - } - if (isset($_SESSION['sepe_message_error'])) { - $tpl->assign('message_error', $_SESSION['sepe_message_error']); - unset($_SESSION['sepe_message_error']); - } - - $listing_tpl = 'sepe/view/editar_especialidad_tutor.tpl'; - $content = $tpl->fetch($listing_tpl); - $tpl->assign('content', $content); - $tpl->display_one_col_template(); -} else { - header("location: http://".$_SERVER['SERVER_NAME']); -} diff --git a/plugin/sepe/src/editar-especialidad-tutorials.php b/plugin/sepe/src/editar-especialidad-tutorials.php deleted file mode 100644 index 6bf3b035de..0000000000 --- a/plugin/sepe/src/editar-especialidad-tutorials.php +++ /dev/null @@ -1,112 +0,0 @@ - "/plugin/sepe/src/menu_sepe_administracion.php", "name" => $plugin->get_lang('menu_sepe')); - $interbreadcrumb[] = array("url" => "listado-acciones-formativas.php", "name" => $plugin->get_lang('listado_acciones_formativas')); - $interbreadcrumb[] = array("url" => "accion-formativa.php?cid=".$id_course, "name" => $plugin->get_lang('accion_formativa')); - $interbreadcrumb[] = array("url" => "editar-especialidad-participante.php?new_specialty=NO&cod_participant=".$cod_participant."&cod_specialty=".$_GET['cod_specialty']."&cod_action=".$_GET['cod_action'], "name" => $plugin->get_lang('participante_especialidad_formativa')); - if (isset($_GET['new_tutorial']) && $_GET['new_tutorial']=="SI") { - $templateName = $plugin->get_lang('new_tutorial'); - $tpl = new Template($templateName); - $tpl->assign('cod_action', $_GET['cod_action']); - $tpl->assign('cod_specialty', $_GET['cod_specialty']); - $info = array(); - $tpl->assign('info', $info); - $tpl->assign('new_tutorial', 'SI'); - $inicio_anio = date("Y"); - } else { - $templateName = $plugin->get_lang('edit_tutorial'); - $tpl = new Template($templateName); - $tpl->assign('cod_action', $_GET['cod_action']); - $tpl->assign('cod_specialty', $_GET['cod_specialty']); - $tpl->assign('cod_tutorial', $_GET['cod_tutorial']); - $info = especialidad_tutorial($_GET['cod_tutorial']); - $tpl->assign('info', $info); - $tpl->assign('new_tutorial', 'NO'); - if ($info['FECHA_INICIO']!='0000-00-00' && $info['FECHA_INICIO']!=NULL) { - $tpl->assign('day_start', date("j",strtotime($info['FECHA_INICIO']))); - $tpl->assign('month_start', date("n",strtotime($info['FECHA_INICIO']))); - $tpl->assign('year_start', date("Y",strtotime($info['FECHA_INICIO']))); - $inicio_anio = date("Y",strtotime($info['FECHA_INICIO'])); - } else { - $inicio_anio = date("Y"); - } - if ($info['FECHA_FIN']!='0000-00-00' && $info['FECHA_FIN']!=NULL) { - $tpl->assign('day_end', date("j",strtotime($info['FECHA_FIN']))); - $tpl->assign('month_end', date("n",strtotime($info['FECHA_FIN']))); - $tpl->assign('year_end', date("Y",strtotime($info['FECHA_FIN']))); - } - } - $lista_anio = array(); - $fin_anio = $inicio_anio + 10; - while ($inicio_anio < $fin_anio) { - $lista_anio[] = $inicio_anio; - $inicio_anio++; - } - $tpl->assign('list_year', $lista_anio); - - if (isset($_SESSION['sepe_message_info'])) { - $tpl->assign('message_info', $_SESSION['sepe_message_info']); - unset($_SESSION['sepe_message_info']); - } - if (isset($_SESSION['sepe_message_error'])) { - $tpl->assign('message_error', $_SESSION['sepe_message_error']); - unset($_SESSION['sepe_message_error']); - } - - $listing_tpl = 'sepe/view/editar_especialidad_tutorials.tpl'; - $content = $tpl->fetch($listing_tpl); - $tpl->assign('content', $content); - $tpl->display_one_col_template(); - -} else { - header("location: http://".$_SERVER['SERVER_NAME']); -} diff --git a/plugin/sepe/src/editar-participante-accion.php b/plugin/sepe/src/editar-participante-accion.php deleted file mode 100644 index 8097fed890..0000000000 --- a/plugin/sepe/src/editar-participante-accion.php +++ /dev/null @@ -1,171 +0,0 @@ -"; - echo var_dump($_POST); - echo ""; - */ - reset ($_POST); - while (list ($param, $val) = each ($_POST)) { - $valor = Database::escape_string($_POST[$param]); - $asignacion = "\$" . $param . "='" . $valor . "';"; - //echo $asignacion; - eval($asignacion); - } - - if (isset($cod_tutor_empresa) && $cod_tutor_empresa=="nuevo_tutor_empresa") { - $sql = "SELECT * FROM plugin_sepe_tutors_empresa - WHERE TIPO_DOCUMENTO='".$TE_TIPO_DOCUMENTO."' AND NUM_DOCUMENTO='".$TE_NUM_DOCUMENTO."' AND LETRA_NIF='".$TE_LETRA_NIF."';"; - $rs = Database::query($sql); - if (Database::num_rows($rs)>0) { - $row = Database::fetch_assoc($rs); - $cod_tutor_empresa = $row['cod']; - $sql = "UPDATE plugin_sepe_tutors_empresa SET empresa='SI' WHERE cod='".$cod_tutor_empresa."'"; - Database::query($sql); - } else { - $sql = "INSERT INTO plugin_sepe_tutors_empresa (alias,TIPO_DOCUMENTO,NUM_DOCUMENTO,LETRA_NIF,empresa) - VALUES ('".$TE_alias."','".$TE_TIPO_DOCUMENTO."','".$TE_NUM_DOCUMENTO."','".$TE_LETRA_NIF."','SI');"; - $rs = Database::query($sql); - if (!$rs) { - echo Database::error(); - } else { - $cod_tutor_empresa = Database::insert_id(); - } - } - } - - if (isset($cod_tutor_formacion) && $cod_tutor_formacion=="nuevo_tutor_formacion") { - $sql = "SELECT * FROM plugin_sepe_tutors_empresa - WHERE TIPO_DOCUMENTO='".$TF_TIPO_DOCUMENTO."' AND NUM_DOCUMENTO='".$TF_NUM_DOCUMENTO."' AND LETRA_NIF='".$TF_LETRA_NIF."';"; - $rs = Database::query($sql); - - if (Database::num_rows($rs)>0) { - $row = Database::fetch_assoc($rs); - $cod_tutor_formacion = $row['cod']; - $sql = "UPDATE plugin_sepe_tutors_empresa SET formacion='SI' WHERE cod='".$cod_tutor_formacion."'"; - Database::query($sql); - } else { - $sql = "INSERT INTO plugin_sepe_tutors_empresa (alias,TIPO_DOCUMENTO,NUM_DOCUMENTO,LETRA_NIF,formacion) - VALUES ('".$TF_alias."','".$TF_TIPO_DOCUMENTO."','".$TF_NUM_DOCUMENTO."','".$TF_LETRA_NIF."','SI');"; - $rs = Database::query($sql); - if (!$rs) { - echo Database::error(); - } else { - $cod_tutor_formacion = Database::insert_id(); - } - } - } - - if (isset($new_participant) && $new_participant!="SI") { - $sql = "UPDATE plugin_sepe_participants SET cod_user_chamilo='".$cod_user_chamilo."', TIPO_DOCUMENTO='".$TIPO_DOCUMENTO."', NUM_DOCUMENTO='".$NUM_DOCUMENTO."', LETRA_NIF='".$LETRA_NIF."', INDICADOR_COMPETENCIAS_CLAVE='".$INDICADOR_COMPETENCIAS_CLAVE."', ID_CONTRATO_CFA='".$ID_CONTRATO_CFA."', CIF_EMPRESA='".$CIF_EMPRESA."', cod_tutor_empresa='".$cod_tutor_empresa."', cod_tutor_formacion='".$cod_tutor_formacion."' WHERE cod='".$cod_participant."';"; - } else { - $sql = "INSERT INTO plugin_sepe_participants(cod_action,cod_user_chamilo,TIPO_DOCUMENTO,NUM_DOCUMENTO,LETRA_NIF,INDICADOR_COMPETENCIAS_CLAVE,ID_CONTRATO_CFA,CIF_EMPRESA,cod_tutor_empresa,cod_tutor_formacion) - VALUES ('".$cod_action."','".$cod_user_chamilo."','".$TIPO_DOCUMENTO."','".$NUM_DOCUMENTO."','".$LETRA_NIF."','".$INDICADOR_COMPETENCIAS_CLAVE."','".$ID_CONTRATO_CFA."','".$CIF_EMPRESA."','".$cod_tutor_empresa."','".$cod_tutor_formacion."');"; - } - - $res = Database::query($sql); - if (!$res) { - echo Database::error(); - $_SESSION['sepe_message_error'] = "No se ha guardado los cambios"; - } else { - $_SESSION['sepe_message_info'] = "Se ha guardado los cambios"; - if ($new_participant=="SI") { - $cod_participant = Database::insert_id(); - $sql = "INSERT INTO plugin_sepe_log_participant (cod_user_chamilo, cod_action, fecha_alta) VALUES ('".$cod_user_chamilo."','".$cod_action."','".date("Y-m-d H:i:s")."');"; - $res = Database::query($sql); - } else { - $sql = "INSERT INTO plugin_sepe_log_mod_participant (cod_user_chamilo, cod_action, fecha_mod) VALUES ('".$cod_user_chamilo."','".$cod_action."','".date("Y-m-d H:i:s")."');"; - $res = Database::query($sql); - } - } - session_write_close(); - $id_course = obtener_course($cod_action); - header("Location: editar-participante-accion.php?new_participant=NO&cod_participant=".$cod_participant."&cod_action=".$cod_action); - -} - - - -if (api_is_platform_admin()) { - $id_course = obtener_course($_GET['cod_action']); - $interbreadcrumb[] = array("url" => "/plugin/sepe/src/menu_sepe_administracion.php", "name" => $plugin->get_lang('menu_sepe')); - $interbreadcrumb[] = array("url" => "listado-acciones-formativas.php", "name" => $plugin->get_lang('listado_acciones_formativas')); - $interbreadcrumb[] = array("url" => "accion-formativa.php?cid=".$id_course, "name" => $plugin->get_lang('accion_formativa')); - if (isset($_GET['new_participant']) && $_GET['new_participant']=="SI") { - $templateName = $plugin->get_lang('new_participant_accion'); - $tpl = new Template($templateName); - $tpl->assign('cod_action', $_GET['cod_action']); - $info = array(); - $tpl->assign('info', $info); - $tpl->assign('new_participant', 'SI'); - } else { - $templateName = $plugin->get_lang('edit_participant_accion'); - $tpl = new Template($templateName); - $tpl->assign('cod_action', $_GET['cod_action']); - $info = participante_accion($_GET['cod_participant']); - $tpl->assign('info', $info); - $tpl->assign('new_participant', 'NO'); - $tpl->assign('cod_participant', $_GET['cod_participant']); - - if ($info['cod_user_chamilo'] != 0) { - $info_usuario_chamilo = api_get_user_info($info['cod_user_chamilo']);//UserManager::get_user_info_by_id($info['cod_user_chamilo']); - $tpl->assign('info_user_chamilo', $info_usuario_chamilo); - } - - $listParticipantSpecialty = listParticipantSpecialty($_GET['cod_participant']); - $tpl->assign('listParticipantSpecialty', $listParticipantSpecialty); - } - $course_code = obtener_course_code($_GET['cod_action']); - //$cod_curso = obtener_course($_GET['cod_action']); - $listAlumnoInfo = array(); - $listAlumno = CourseManager::get_student_list_from_course_code($course_code); - - foreach ($listAlumno as $value) { - $sql = "SELECT 1 FROM plugin_sepe_participants WHERE cod_user_chamilo='".$value['user_id']."';"; - $res = Database::query($sql); - if (Database::num_rows($res)==0) { - $listAlumnoInfo[] = api_get_user_info($value['user_id']); //UserManager::get_user_info_by_id($value['user_id']); - } - } - /* - echo "
";
-    echo var_dump($listAlumnoInfo);
-    echo "
"; - exit; - */ - $tpl->assign('listAlumno', $listAlumnoInfo); - $listTutorE = array(); - $listTutorE = listadoTutorE(); - $tpl->assign('listTutorE', $listTutorE); - $listTutorF = array(); - $listTutorF= listadoTutorE("formacion='SI'"); - $tpl->assign('listTutorF', $listTutorF); - - if (isset($_SESSION['sepe_message_info'])) { - $tpl->assign('message_info', $_SESSION['sepe_message_info']); - unset($_SESSION['sepe_message_info']); - } - if (isset($_SESSION['sepe_message_error'])) { - $tpl->assign('message_error', $_SESSION['sepe_message_error']); - unset($_SESSION['sepe_message_error']); - } - - - $listing_tpl = 'sepe/view/editar_participante_accion.tpl'; - $content = $tpl->fetch($listing_tpl); - $tpl->assign('content', $content); - $tpl->display_one_col_template(); - -} else { - header("location: http://".$_SERVER['SERVER_NAME']); -} diff --git a/plugin/sepe/src/listado-acciones-formativas.php b/plugin/sepe/src/listado-acciones-formativas.php deleted file mode 100644 index 9157e5bebd..0000000000 --- a/plugin/sepe/src/listado-acciones-formativas.php +++ /dev/null @@ -1,53 +0,0 @@ -get_lang('listado_acciones_formativas'); - $interbreadcrumb[] = array("url" => "/plugin/sepe/src/menu_sepe_administracion.php", "name" => $plugin->get_lang('menu_sepe')); - $tpl = new Template($templateName); - - if (isset($_SESSION['sepe_message_info'])){ - $tpl->assign('message_info', $_SESSION['sepe_message_info']); - unset($_SESSION['sepe_message_info']); - } - if (isset($_SESSION['sepe_message_error'])){ - $tpl->assign('message_error', $_SESSION['sepe_message_error']); - unset($_SESSION['sepe_message_error']); - } - - $lista_curso_acciones = listCourseAction(); - /* - echo "
";
-    echo var_dump($lista_curso_acciones);
-    echo "
"; - exit; - */ - $lista_curso_libre_acciones = listCourseFree(); - $lista_acciones_libres = listActionFree(); - - $tpl->assign('lista_curso_acciones', $lista_curso_acciones); - $tpl->assign('lista_curso_libre_acciones', $lista_curso_libre_acciones); - $tpl->assign('lista_acciones_libres', $lista_acciones_libres); - - $listing_tpl = 'sepe/view/listado_acciones_formativas.tpl'; - $content = $tpl->fetch($listing_tpl); - $tpl->assign('content', $content); - $tpl->display_one_col_template(); - -} else { - header("location: http://".$_SERVER['SERVER_NAME']); -} diff --git a/plugin/sepe/src/menu_sepe_administracion.php b/plugin/sepe/src/menu_sepe_administracion.php deleted file mode 100644 index ac0b8d5218..0000000000 --- a/plugin/sepe/src/menu_sepe_administracion.php +++ /dev/null @@ -1,59 +0,0 @@ -get('sepe_enable'); -$title="Administración SEPE"; -$pluginPath = api_get_path(WEB_PLUGIN_PATH).'sepe/src/'; - -if (api_is_platform_admin()) { - $html_text = ''; - $html_text .= '
'; - $html_text .= ''; - $html_text .= '
'; - $html_text .= '
'; - $html_text .= ''; - $html_text .= '
'; - $html_text .= '
'; - $html_text .= '
'; - - $templateName = $plugin->get_lang('menu_sepe_administracion'); - $interbreadcrumb[] = array("url" => "/main/admin/index.php", "name" => get_lang('Administration')); - $tpl = new Template($templateName); - $tpl->assign('html_text', $html_text); - - $listing_tpl = 'sepe/view/menu_sepe_administracion.tpl'; - $content = $tpl->fetch($listing_tpl); - $tpl->assign('content', $content); - $tpl->display_one_col_template(); - -} else { - header("location: http://".$_SERVER['SERVER_NAME']); -} diff --git a/plugin/sepe/view/accion_formativa.tpl b/plugin/sepe/view/accion_formativa.tpl deleted file mode 100644 index 1bb8111671..0000000000 --- a/plugin/sepe/view/accion_formativa.tpl +++ /dev/null @@ -1,267 +0,0 @@ - - - -
-
-
- -
-
-
- {% if message_info != "" %} -
- {{ message_info }} -
- {% endif %} - {% if message_error != "" %} -
- {{ message_error }} -
- {% endif %} -
-
-
- Acción Formativa: - {% if info != false %} -
- IDENTIFICADOR DE ACCIÓN (ID_ACCION): -
- -
- -
-
- -
- -
- -
-
-
-
- -
- -
-
- -
- IDENTIFICADOR DE ESPECIALIDAD PRINCIPAL -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
-
-
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- - -
- -
- -
-
- -
- DESCRIPCION DE LA ACCION FORMATIVA -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
-
- {% else %} -
No hay información de la acción formativa
- {% endif %} -
-
-
-
-
-
- Especialidades: - Crear especialidad - - {% for specialty in listSpecialty %} -
- -
- - - - - -
{{ specialty.ORIGEN_ESPECIALIDAD }} {{ specialty.AREA_PROFESIONAL }} {{ specialty.CODIGO_ESPECIALIDAD }} - Borrar - Editar -
-
-
- {% endfor %} -
-
-
- -
-
-
- Participantes: - Crear participante - - {% for participant in listParticipant %} -
- -
- - - - - - -
{{ participant.firstname }} {{ participant.lastname }} {{ participant.NUM_DOCUMENTO }} {{ participant.LETRA_NIF }} - Borrar - Editar -
-
-
- {% endfor %} -
-
-
-
-
diff --git a/plugin/sepe/view/configuracion.tpl b/plugin/sepe/view/configuracion.tpl deleted file mode 100644 index a22d4f4fc4..0000000000 --- a/plugin/sepe/view/configuracion.tpl +++ /dev/null @@ -1,40 +0,0 @@ - - - -
-
-
 
-
- {% if message_info != "" %} -
- {{ message_info }} -
- {% endif %} - {% if message_error != "" %} -
- {{ message_error }} -
- {% endif %} - -
- Usuario SEPE -
- -
- - -
-
- -
-
- -
- - - - -
-
 
-
-
diff --git a/plugin/sepe/view/datos_identificativos.tpl b/plugin/sepe/view/datos_identificativos.tpl deleted file mode 100644 index fed7056ddb..0000000000 --- a/plugin/sepe/view/datos_identificativos.tpl +++ /dev/null @@ -1,95 +0,0 @@ - - - -
- -
- {% if message_info != "" %} -
- {{ message_info }} -
- {% endif %} - {% if message_error != "" %} -
- {{ message_error }} -
- {% endif %} -
-
-
- Datos Identificativos del Centro - {% if info != false %} -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- {% else %} -
No hay datos identificativos del centro
- {% endif %} -
-
-
-
-
diff --git a/plugin/sepe/view/editar_accion_formativa.tpl b/plugin/sepe/view/editar_accion_formativa.tpl deleted file mode 100644 index e587883a0f..0000000000 --- a/plugin/sepe/view/editar_accion_formativa.tpl +++ /dev/null @@ -1,357 +0,0 @@ - - -
-
-
-
- -
-
-
- {% if rmessage == "YES" %} -
- {{ responseMessage }} -
- {% endif %} -
-
- Acción Formativa -
- IDENTIFICADOR DE ACCIÓN (ID_ACCION): -
- -
- -
-
- -
- -
- -
-
-
- -
- -
- -
-
- -
- IDENTIFICADOR DE ESPECIALIDAD PRINCIPAL -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
-
- - -
- -
- -
-
- Número de horas de la acción formativa. -
-
- -
- -
- - / - - / - -
-
Fecha de inicio de la acción formativa.
-
- -
- -
- - / - - / - -
-
Fecha de finalización de la acción formativa.
-
- -
- -
- -
-
Indica si la acción formativa se imparte de forma completa.
-
- -
- -
- -
-
Procedencia de la dotación económica. - -
-
- -
- -
- -
-
Número de plazas ofertadas. -
-
- - -
- DESCRIPCION DE LA ACCION FORMATIVA -
- -
- -
Nombre o descripción breve de la acción formativa.
-
-
- -
- -
- -
Breve texto descriptivo de los objetivos, contenidos y estructura de la acción formativa.
-
-
- -
- -
- -
Breve texto que señala el período temporal durante el que se desarrolla la acción formativa.
-
-
- -
- -
- -
Breve texto que especifica los requisitos de acceso a la formación.
-
-
- -
- -
- -
Teléfono, sitio web o dirección de correo electrónico a través de los que obtener información específica y detallada sobre la acción formativa.
-
-
-
- -
- - - -
-
-
-
diff --git a/plugin/sepe/view/editar_datos_identificativos.tpl b/plugin/sepe/view/editar_datos_identificativos.tpl deleted file mode 100644 index b99670f08b..0000000000 --- a/plugin/sepe/view/editar_datos_identificativos.tpl +++ /dev/null @@ -1,89 +0,0 @@ - - -
-
-
-
- -
-
-
- {% if message_info != "" %} -
- {{ message_info }} -
- {% endif %} - {% if message_error != "" %} -
- {{ message_error }} -
- {% endif %} -
-
- Datos Identificativos del Centro - -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
-
- - - -
-
-
-
diff --git a/plugin/sepe/view/editar_especialidad_accion.tpl b/plugin/sepe/view/editar_especialidad_accion.tpl deleted file mode 100644 index e84c642f94..0000000000 --- a/plugin/sepe/view/editar_especialidad_accion.tpl +++ /dev/null @@ -1,435 +0,0 @@ - - - -
-
-
-
- -
-
-
- {% if message_info != "" %} -
- {{ message_info }} -
- {% endif %} - {% if message_error != "" %} -
- {{ message_error }} -
- {% endif %} -
-
- Especialidad Acción Formativa -
- IDENTIFICADOR DE ESPECIALIDAD: -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
-
- -
- CENTRO DE IMPARTICIÓN: -
- -
- -
-
- -
- -
- -
-
-
- -
- -
- - / - - / - -
-
Fecha de inicio de la especialidad formativa.
-
- -
- -
- - / - - / - -
-
Fecha de finalización de especialidad formativa.
-
- -
- -
- - Modo de impartición de la especialidad formativa de la acción. -
-
- -
- DATOS DE DURACIÓN: -
- -
- -
-
Número de horas realizadas de forma presencial.
-
- -
- -
- -
-
Número de horas realizadas a través de teleformación.
-
-
- -
- {% if new_action == "SI" %} - CENTROS DE SESIONES PRESENCIALES: -
Debe guardar los cambios antes de crear un centro presencial
- {% else %} - CENTROS DE SESIONES PRESENCIALES: - Crear centro presencial - - {% for classroom in listClassroom %} -
- -
- -
-
- {% endfor %} - - {% endif %} -
- -
- {% if new_action == "SI" %} - TUTORES-FORMADORES: -
Debe guardar los cambios antes de crear un centro presencial
- {% else %} - TUTORES-FORMADORES: - Crear tutor-formador - - {% for tutor in listTutors %} -
- -
- -
-
- {% endfor %} - - {% endif %} - -
- - -
- USO DEL CONTENIDO -
- HORARIO MAÑANA -
Se considerará el período temporal comprendido entre las 7:00 y las 15:00 horas.
-
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
-
-
- -
- HORARIO TARDE -
Se considerará el período temporal comprendido entre las 15:00 horas y las 23:00 horas.
-
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
-
-
- - -
- HORARIO NOCHE -
Se considerará el período temporal comprendido entre las 23:00 horas y las 7:00 horas.
-
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
-
-
- -
- SEGUIMIENTO Y EVALUACIÓN -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
-
-
- - -
- -
- - - -
-
-
-
diff --git a/plugin/sepe/view/editar_especialidad_classroom.tpl b/plugin/sepe/view/editar_especialidad_classroom.tpl deleted file mode 100644 index 284ebedfff..0000000000 --- a/plugin/sepe/view/editar_especialidad_classroom.tpl +++ /dev/null @@ -1,95 +0,0 @@ - - - -
-
-
-
- -
-
-
- {% if message_info != "" %} -
- {{ message_info }} -
- {% endif %} - {% if message_error != "" %} -
- {{ message_error }} -
- {% endif %} - - - {% if new_classroom == "SI" %} -
-
- -
- -
-
-
- -
-
- Listado de centros -
- -
- -
-
-
-
- - -
diff --git a/plugin/sepe/view/editar_especialidad_participante.tpl b/plugin/sepe/view/editar_especialidad_participante.tpl deleted file mode 100644 index d9b773c8ad..0000000000 --- a/plugin/sepe/view/editar_especialidad_participante.tpl +++ /dev/null @@ -1,480 +0,0 @@ - - - -
-
-
-
- -
-
-
- {% if message_info != "" %} -
- {{ message_info }} -
- {% endif %} - {% if message_error != "" %} -
- {{ message_error }} -
- {% endif %} -
-
- ESPECIALIDADES DEL PARTICIPANTE -
- IDENTIFICADOR DE ESPECIALIDAD: -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
-
- -
- -
- - / - - / - -
-
Alta para acceder a la especialidad de la acción formativa. -
-
- -
- -
- - / - - / - -
-
Baja para acceder a la especialidad de la acción formativa. -
-
- - -
- {% if new_specialty == "SI" %} - TUTORÍAS PRESENCIALES: -
Debe guardar los cambios antes de crear un centro de tutorias presenciales
- {% else %} - TUTORÍAS PRESENCIALES: - Crear tutoria presencial - - {% for tutorial in listSpecialtyTutorials %} -
- -
- -
-
- {% endfor %} - - {% endif %} -
- - -
- EVALUACIÓN FINAL: -
- CENTRO PRESENCIAL DE EVALUACIÓN FINAL -
- -
- -
-
- -
- -
- -
-
-
- -
- -
- - / - - / - -
-
Fecha de inicio de la evaluación final. -
-
- -
- -
- - / - - / - -
-
Fecha de finalización de la evaluación final. -
-
- -
- -
- RESULTADOS: -
- -
- -
Valor que indica la situación del participante y el resultado logrado por el participante en la especialidad de la acción formativa.
- Puede tomar los valores de:
-
    -
  • 0 – Iniciado
  • -
  • 1 – Abandona por colocación
  • -
  • 2 – Abandona por otras causas
  • -
  • 3 – Termina con evaluación positiva
  • -
  • 4 – Termina con evaluación negativa
  • -
  • 5 – Termina sin evaluar
  • -
  • 6 – Exento (de la realización del módulo de formación práctica en centros de trabajo por formación en alternancia con el empleo o por acreditación de la experiencia laboral requerida a tal fin, según lo establecido en el artículo 5bis4 del Real Decreto 34/2008, de 18 de enero).
  • -
  • 7 – Eximido (de la realización aquellos módulos formativos asociados a unidades de competencia para las que se ha obtenido acreditación, ya sea mediante formación o a través de procesos de reconocimiento de las competencias profesionales adquiridas por la experiencia laboral, regulados en el Real Decreto 1224/2009, de 17 de julio).
  • -
-
-
-
- -
- -
- -
- Puntuación obtenida en la prueba de evaluación final del módulo (con independencia de la convocatoria en la que se obtuvo) reflejando, en su caso, las puntuaciones correspondientes a las unidades formativas que lo compongan.
-Adopta un valor entre 5 y 10, registrándose con cuatro dígitos para dar cabida a las calificaciones decimales (por ejemplo, la calificación 7,6 debe registrarse como 760). -
-
-
- -
- -
- - -
Suma de la puntuación media obtenida en la evaluación durante el proceso de aprendizaje, y de la puntuación obtenida en la prueba de evaluación final del módulo, ponderándolas previamente con un peso de 30 por ciento y 70 por ciento, respectivamente. -Adopta un valor entre 5 y 10, sin que pueda ser inferior a 5, ni inferior a la obtenida en la prueba de evaluación final.
-Se registra con cuatro dígitos para dar cabida a las puntuaciones decimales (por ejemplo, la puntuación 8,3 debe registrarse como 830).
-
-
-
- -
-
-
-
-
diff --git a/plugin/sepe/view/editar_especialidad_tutor.tpl b/plugin/sepe/view/editar_especialidad_tutor.tpl deleted file mode 100644 index fae86f92ef..0000000000 --- a/plugin/sepe/view/editar_especialidad_tutor.tpl +++ /dev/null @@ -1,299 +0,0 @@ - - - - -
-
-
-
- -
-
-
- {% if message_info != "" %} -
- {{ message_info }} -
- {% endif %} - {% if message_error != "" %} -
- {{ message_error }} -
- {% endif %} - - {% if new_tutor == "SI" %} -
-
- -
- -
-
-
- -
-
- Listado de tutores -
- -
- - -
-
-
-
- diff --git a/plugin/sepe/view/editar_especialidad_tutorials.tpl b/plugin/sepe/view/editar_especialidad_tutorials.tpl deleted file mode 100644 index 27c5486724..0000000000 --- a/plugin/sepe/view/editar_especialidad_tutorials.tpl +++ /dev/null @@ -1,199 +0,0 @@ - - - -
-
-
-
- -
-
-
- {% if message_info != "" %} -
- {{ message_info }} -
- {% endif %} - {% if message_error != "" %} -
- {{ message_error }} -
- {% endif %} -
-
- CENTRO PRESENCIAL -
- -
- -
-
- -
- -
- -
-
-
- -
- -
- - / - - / - -
-
Fecha de inicio de la tutoría presencial.
-
- -
- -
- - / - - / - -
-
Fecha de finalización de la tutoría presencial.
-
- -
- -
-
- -
diff --git a/plugin/sepe/view/editar_participante_accion.tpl b/plugin/sepe/view/editar_participante_accion.tpl deleted file mode 100644 index 2843f4ac7b..0000000000 --- a/plugin/sepe/view/editar_participante_accion.tpl +++ /dev/null @@ -1,410 +0,0 @@ - - - - -
-
-
-
- -
-
-
- {% if message_info != "" %} -
- {{ message_info }} -
- {% endif %} - {% if message_error != "" %} -
- {{ message_error }} -
- {% endif %} -
-
- Participante Acción Formativa -
- LISTADO DE USUARIOS DEL CURSO CHAMILO: -
- -
- - -
-
-
- - -
- - IDENTIFICADOR PARTICIPANTE: -
- -
- - -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- El campo de "Número del documento" tiene una longitud de 10 caracteres alfanuméricos. - - - - - - - - -
TipoNúmeroCarácter de control NIF
DbbN8L
EbbXN7
bbYN7
bbZN7
L
L
L
UbbN8L
WbbN8L
GN10L
HbbN8L
-
- -
- -
- -
- -
-
-
- CONTRATO FORMACION: -
- -
- - Dato alfanumérico de 14 posiciones formado por la concatenación de:
-
    -
  • 1 posición alfabética que indica el organismo que asignó identificador al contrato. En la actualidad siempre “E” estatal.
  • -
  • 2 posiciones numéricas con el código de la provincia.
  • -
  • 4 posiciones numéricas con el año del contrato.
  • -
  • 7 posiciones numéricas con el número secuencial asignado al contrato en la provincia y año.
-
-
- -
- -
- -
-
- -
- ID TUTOR EMPRESA: -
- -
- -
-
- - - -
- - -
- ID TUTOR FORMACIÓN: -
- -
- -
-
- - - -
-
- - -
- {% if new_participant == "SI" %} - ESPECIALIDADES DEL PARTICIPANTE: -
Debe guardar los cambios antes de crear una especialidad al participante.
- {% else %} - ESPECIALIDADES DEL PARTICIPANTE: - Crear especialidad - - {% for specialty in listParticipantSpecialty %} -
- -
- -
-
- {% endfor %} - - {% endif %} -
- -
-
-
-
-
diff --git a/plugin/sepe/view/listado_acciones_formativas.tpl b/plugin/sepe/view/listado_acciones_formativas.tpl deleted file mode 100644 index b39c08e8b3..0000000000 --- a/plugin/sepe/view/listado_acciones_formativas.tpl +++ /dev/null @@ -1,72 +0,0 @@ - - - -
-
- {% if message_info != "" %} -
- {{ message_info }} -
- {% endif %} - {% if message_error != "" %} -
- {{ message_error }} -
- {% endif %} - - -
- {% if lista_curso_acciones|length > 0 %} - - {% for lista in lista_curso_acciones %} - - - - - {% endfor %} -
Curso: {{ lista.title }} -> ID ACCION: {{ lista.ORIGEN_ACCION }} {{ lista.CODIGO_ACCION }} - Borrar - Desvincular - Ver / Editar - -
- {% else %} -
- No hay acciones formativas asociadas a un curso. -
- {% endif %} -
- -
- - - -
- - {% for lista in lista_curso_libre_acciones %} - - - - - - {% endfor %} -
Curso: {{ lista.title }} - - - Asignar acción - Crear acción -
-
-
-
diff --git a/plugin/sepe/view/menu_sepe_administracion.tpl b/plugin/sepe/view/menu_sepe_administracion.tpl deleted file mode 100644 index ab2ef1f0b2..0000000000 --- a/plugin/sepe/view/menu_sepe_administracion.tpl +++ /dev/null @@ -1,5 +0,0 @@ -
-
- {{ html_text }} -
-