vista de calendario y agenda para eventos

This commit is contained in:
fredyrivera 2017-10-16 14:55:11 -05:00
parent 8afa70fac0
commit 9a22db16ae

View File

@ -761,6 +761,7 @@ document.oncopy = addLink;
if(isset($_SESSION['id'])) {$id_empresa_portada='1'; echo panel_aplicaciones('1',"$_SESSION[id_empresa]",""); }
if(isset($_REQUEST['eventos'])) {
//$embebido='1';
$titulo = remplacetas('form_id','id',"$_REQUEST[eventos]",'nombre',"") ;
$eventos= "<link href='librerias/calendar/fullcalendar.min.css' rel='stylesheet' />
<link href='librerias/calendar/fullcalendar.print.min.css' rel='stylesheet' media='print' />
<script src='librerias/calendar/lib/moment.min.js'></script>
@ -775,10 +776,10 @@ $eventos= "<link href='librerias/calendar/fullcalendar.min.css' rel='stylesheet'
header: {
left: 'prev,next today',
center: 'title',
right: 'listMonth,month,agendaWeek,agendaDay'
right: 'listMonth,month,agendaWeek,agendaDay,listYear'
},
//defaultDate: '2017-10-12',
defaultView: 'listYear',
defaultView: 'listMonth',
navLinks: true, // can click day/week names to navigate views
editable: false,
@ -796,7 +797,7 @@ $eventos= "<link href='librerias/calendar/fullcalendar.min.css' rel='stylesheet'
});
</script><h1 class='titulo_eventos text-center'>Eventos</h1><div class='container-fluid' id='calendar'></div><br>";
</script><h1 class='titulo_eventos text-center'>$titulo[0]</h1><div class='container-fluid' id='calendar'></div><br>";
}