Added issue date for access card

by the moment the access card was handed out to a person, the issue date is shown now on CIS > profile.
(If more access cards where handed out, the latest issue date will be displayed)
This commit is contained in:
Cris
2018-04-04 09:22:16 +02:00
parent b979cd210c
commit 351f83ea71
5 changed files with 1532 additions and 1516 deletions
+10 -7
View File
@@ -47,7 +47,7 @@ $p=new phrasen($sprache);
if (!$db = new basis_db())
die($p->t('global/fehlerBeimOeffnenDerDatenbankverbindung'));
$uid=get_uid();
$uid = get_uid();
$datum_obj = new datum();
@@ -129,11 +129,11 @@ echo '<!DOCTYPE HTML>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../../skin/style.css.php" rel="stylesheet" type="text/css">
<link href="../../../skin/flexcrollstyles.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
<script type="text/javascript" src="../../../vendor/jquery/sizzle/sizzle.js"></script>
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
<script language="JavaScript" type="text/javascript">
@@ -323,7 +323,10 @@ if(!$ansicht && (!defined('CIS_PROFIL_FHAUSWEIS_ANZEIGEN') || CIS_PROFIL_FHAUSWE
$bm = new betriebsmittel();
if($bm->zutrittskarteAusgegeben($user->uid))
{
echo '<br>'.$p->t('profil/fhausweisWurdeBereitsAusgegeben');
//wenn es mehr Zutrittskarten gab, wird das letzte Ausgabedatum erhalten
$ausgegeben_am = $bm->result;
$ausgegeben_am = $datum_obj->formatDatum($ausgegeben_am, 'd.m.Y');
echo '<br>'.$p->t('profil/fhausweisWurdeBereitsAusgegeben', array($ausgegeben_am));
}
else
{
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -69,7 +69,7 @@ $this->phrasen['profil/infotextSperre']='Gesperrte Profilbilder werden nur für
$this->phrasen['profil/profilfotoGesperrt']='Profilfoto gesperrt';
$this->phrasen['profil/profilfotoUploadGesperrt']='Der Upload des Profilfotos ist nicht mehr möglich';
$this->phrasen['profil/fhausweisStatus']='FH-Ausweis Status';
$this->phrasen['profil/fhausweisWurdeBereitsAusgegeben']='FH Ausweis wurde bereits ausgegeben oder liegt zur Abholung bereit';
$this->phrasen['profil/fhausweisWurdeBereitsAusgegeben']='Der FH Ausweis ist am %s ausgegeben worden.';
$this->phrasen['profil/ladenSieBitteEinGueltigesFotoHoch']='Laden Sie bitte ein gültiges Foto hoch';
$this->phrasen['profil/fotoWurdeNochNichtAkzeptiert']='Foto wurde noch nicht akzeptiert';
$this->phrasen['profil/fhausweisGedrucktAm']='FH-Ausweis gedruckt am';
+1 -1
View File
@@ -66,7 +66,7 @@ $this->phrasen['profil/infotextSperre']='Locked profile photos are only used for
$this->phrasen['profil/profilfotoGesperrt']='Profile photo locked';
$this->phrasen['profil/profilfotoUploadGesperrt']='It is no longer possible to upload a profile photo';
$this->phrasen['profil/fhausweisStatus']='UAS ID card status';
$this->phrasen['profil/fhausweisWurdeBereitsAusgegeben']='UAS ID card has already been issued or is ready for pick-up';
$this->phrasen['profil/fhausweisWurdeBereitsAusgegeben']='UAS ID card has already been issued on %s.';
$this->phrasen['profil/ladenSieBitteEinGueltigesFotoHoch']='Please upload a valid photo';
$this->phrasen['profil/fotoWurdeNochNichtAkzeptiert']='Photo has not yet been accepted';
$this->phrasen['profil/fhausweisGedrucktAm']='UAS ID card printed on';
+62 -62
View File
@@ -1,62 +1,62 @@
<?php
$this->phrasen['profil/AccountInaktiv']='Attenzione: questo account non è più attivo';
$this->phrasen['profil/adminstration']='Gestione notizie';
$this->phrasen['profil/alias']='alias';
$this->phrasen['profil/alleStudentenVon']='Tutti gli studenti di';
$this->phrasen['profil/ausgegebenAm']='';
$this->phrasen['profil/betriebsmittel']='';
$this->phrasen['profil/Bild']='';
$this->phrasen['profil/bildHochladen']='';
$this->phrasen['profil/bildSpeichern']='';
$this->phrasen['profil/Bildupload']='';
$this->phrasen['profil/BilduploadInfotext']='';
$this->phrasen['profil/buero']='';
$this->phrasen['profil/derUserIstInFolgendenVerteilern ']='';
$this->phrasen['profil/email']='Email';
$this->phrasen['profil/entlehnteBetriebsmittel']='';
$this->phrasen['profil/esWurdenKeineProfileGefunden']='Nessun profilo o più profili per l\'utente richiesto';
$this->phrasen['profil/faxTw']='fax';
$this->phrasen['profil/fhausweisAbholbereitAmEmpfangAb']='';
$this->phrasen['profil/fhausweisGedrucktAm']='';
$this->phrasen['profil/fhausweisStatus']='';
$this->phrasen['profil/fhausweisWurdeBereitsAusgegeben']='Tesserino consegnato o pronto per il ritiro';
$this->phrasen['profil/fhausweisWurdeNochNichtGedruckt']='';
$this->phrasen['profil/fotoAuswählen']='';
$this->phrasen['profil/fotofreigeben']='';
$this->phrasen['profil/fotosperren']='';
$this->phrasen['profil/fotoWurdeNochNichtAkzeptiert']='';
$this->phrasen['profil/funktionen']='';
$this->phrasen['profil/home']='';
$this->phrasen['profil/homepage']='';
$this->phrasen['profil/ihrFotoWurdeNochNichtGeprueft']='';
$this->phrasen['profil/inaktivMitarbeiter']='';
$this->phrasen['profil/inaktivSonstige']='';
$this->phrasen['profil/inaktivStudent']='';
$this->phrasen['profil/infotextSperre']='';
$this->phrasen['profil/intern']='E-mail di Ateneo';
$this->phrasen['profil/kontaktPrivat']='Contatti Personali';
$this->phrasen['profil/kurzbeschreibungFuerOeh']='';
$this->phrasen['profil/kurzzeichen']='ID breve';
$this->phrasen['profil/ladenSieBitteEinGueltigesFotoHoch']='';
$this->phrasen['profil/leistungsbeurteilung']='';
$this->phrasen['profil/lvplanVon']='';
$this->phrasen['profil/martrikelnummer']='Codice Persona';
$this->phrasen['profil/meinCis']='';
$this->phrasen['profil/mitarbeiter']='';
$this->phrasen['profil/mobil']='Cellulare';
$this->phrasen['profil/nummer']='';
$this->phrasen['profil/nurJPGBilder']='';
$this->phrasen['profil/profil']='';
$this->phrasen['profil/profilfotoGesperrt']='';
$this->phrasen['profil/profilfotoUploadGesperrt']='';
$this->phrasen['profil/sieSindMitgliedInFolgendenVerteilern']='';
$this->phrasen['profil/solltenDatenNichtStimmen']='La preghiamo di rivolgersi alla segreteria nel caso i dati non risultino essere corretti.';
$this->phrasen['profil/student']='Studente';
$this->phrasen['profil/telefon']='';
$this->phrasen['profil/telefonTw']='';
$this->phrasen['profil/wendenSieSichAn']='';
$this->phrasen['profil/zeitsperrenVon']='';
$this->phrasen['profil/zeitwuensche']='';
$this->phrasen['profil/zustaendigeAssistenz']='';
?>
<?php
$this->phrasen['profil/AccountInaktiv']='Attenzione: questo account non è più attivo';
$this->phrasen['profil/adminstration']='Gestione notizie';
$this->phrasen['profil/alias']='alias';
$this->phrasen['profil/alleStudentenVon']='Tutti gli studenti di';
$this->phrasen['profil/ausgegebenAm']='';
$this->phrasen['profil/betriebsmittel']='';
$this->phrasen['profil/Bild']='';
$this->phrasen['profil/bildHochladen']='';
$this->phrasen['profil/bildSpeichern']='';
$this->phrasen['profil/Bildupload']='';
$this->phrasen['profil/BilduploadInfotext']='';
$this->phrasen['profil/buero']='';
$this->phrasen['profil/derUserIstInFolgendenVerteilern ']='';
$this->phrasen['profil/email']='Email';
$this->phrasen['profil/entlehnteBetriebsmittel']='';
$this->phrasen['profil/esWurdenKeineProfileGefunden']='Nessun profilo o più profili per l\'utente richiesto';
$this->phrasen['profil/faxTw']='fax';
$this->phrasen['profil/fhausweisAbholbereitAmEmpfangAb']='';
$this->phrasen['profil/fhausweisGedrucktAm']='';
$this->phrasen['profil/fhausweisStatus']='';
$this->phrasen['profil/fhausweisWurdeBereitsAusgegeben']='Tesserino consegnato il %s.';
$this->phrasen['profil/fhausweisWurdeNochNichtGedruckt']='';
$this->phrasen['profil/fotoAuswählen']='';
$this->phrasen['profil/fotofreigeben']='';
$this->phrasen['profil/fotosperren']='';
$this->phrasen['profil/fotoWurdeNochNichtAkzeptiert']='';
$this->phrasen['profil/funktionen']='';
$this->phrasen['profil/home']='';
$this->phrasen['profil/homepage']='';
$this->phrasen['profil/ihrFotoWurdeNochNichtGeprueft']='';
$this->phrasen['profil/inaktivMitarbeiter']='';
$this->phrasen['profil/inaktivSonstige']='';
$this->phrasen['profil/inaktivStudent']='';
$this->phrasen['profil/infotextSperre']='';
$this->phrasen['profil/intern']='E-mail di Ateneo';
$this->phrasen['profil/kontaktPrivat']='Contatti Personali';
$this->phrasen['profil/kurzbeschreibungFuerOeh']='';
$this->phrasen['profil/kurzzeichen']='ID breve';
$this->phrasen['profil/ladenSieBitteEinGueltigesFotoHoch']='';
$this->phrasen['profil/leistungsbeurteilung']='';
$this->phrasen['profil/lvplanVon']='';
$this->phrasen['profil/martrikelnummer']='Codice Persona';
$this->phrasen['profil/meinCis']='';
$this->phrasen['profil/mitarbeiter']='';
$this->phrasen['profil/mobil']='Cellulare';
$this->phrasen['profil/nummer']='';
$this->phrasen['profil/nurJPGBilder']='';
$this->phrasen['profil/profil']='';
$this->phrasen['profil/profilfotoGesperrt']='';
$this->phrasen['profil/profilfotoUploadGesperrt']='';
$this->phrasen['profil/sieSindMitgliedInFolgendenVerteilern']='';
$this->phrasen['profil/solltenDatenNichtStimmen']='La preghiamo di rivolgersi alla segreteria nel caso i dati non risultino essere corretti.';
$this->phrasen['profil/student']='Studente';
$this->phrasen['profil/telefon']='';
$this->phrasen['profil/telefonTw']='';
$this->phrasen['profil/wendenSieSichAn']='';
$this->phrasen['profil/zeitsperrenVon']='';
$this->phrasen['profil/zeitwuensche']='';
$this->phrasen['profil/zustaendigeAssistenz']='';
?>