Ejemplo n.º 1
0
	<div class="menu-admin">
		<div class="navbar-header">
			<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
				<span class="sr-only">Toggle navigation</span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
			</button>
			<?php 
$index = isset($connected) && !$connected ? '/main' : '/admin';
if (isset($connected) && !$connected) {
    echo '<a class="navbar-brand" href="' . site_url() . $index . '"><img src="' . base_url() . 'res/img/assistade.svg' . '"></img></a>';
} else {
    echo '<a class="navbar-brand" href="' . site_url() . $index . '/privateSpace"><img src="' . base_url() . 'res/img/assistade.svg' . '"></img></a>';
}
?>
		</div>
		
		<div class="navbar-collapse collapse">
			<?php 
if (isset($connected) && !$connected) {
    $elems = array(array("Retour à l'accueil", 'main'));
} else {
    $elems = array(array('Heures CM', 'admin/getHoursCM/1A'), array('Voeux des enseignants', 'admin/summary'), array('Gestion enseignants', 'admin/manageTeachers'), array('Gestion modules', 'admin/manageSubjects'), array('Gestion responsables', 'admin/manageResponsibles'), array('Gestion groupes', 'admin/manageGroup'), array('Déconnexion', 'admin/signOut'));
}
echo menuEntry($elems);
?>
		</div>
	</div>
</nav>
Ejemplo n.º 2
0
                    Tablet data collection (FAIMS) and data aggregation and federated search (HuNI)</span>
                </h3>
                <div class="adminSection">
                    <ul>
                        <?php 
// FAIMS
/* Deprecated 27/10/16, now included directly in module build page
   menuEntry('---','About FAIMS','../applications/faims/about.html?db='.HEURIST_DBNAME,
       'Information about the FAIMS (Federated Archaeological Information Management System) project');
   */
menuEntry('', 'Create module definition', '../applications/faims/exportFAIMS.php?db=' . HEURIST_DBNAME, 'Create FAIMS module / tablet application structure from the current Heurist database structure. No data is exported');
/* todo: not yet implemented
   menuEntry('','Export module + data','../applications/faims/exportFAIMSwithdata.php?db='.HEURIST_DBNAME.'',
   'Export a FAIMS format tarball (module including data) from the current Heurist database');
   */
menuEntry('', 'Import module + data', '../applications/faims/syncFAIMS.php?db=' . HEURIST_DBNAME, 'Import structure and data into the current Heurist database from a FAIMS module tarball ' . 'or direct from FAIMS server database');
/* TEMPORARILY REMOVED. TODO: SOMETHING IS WRONG 3/7/2014 WITH THE EXPORT FUNCTION,
   IT OPENS UP THE EXPORT MODULE FORM AND WON'T CLOSE THE RECORD TYPE SELECTION POPUP
   menuEntry('','Export to tDAR repository','../applications/faims/exportTDar.php?db='.HEURIST_DBNAME.'',
   'Export the current database as tables, files and metadata directly into a specified tDAR repository');
   */
?>

                    </ul>
                </div>
                <!--</div>-->
                <!-- end accordion -->

            </div> <!-- sidebar-inner -->
        </div> <!-- sidebar -->