TO TOP
RUB » RUB/IGM » Profile » Team
if (($mode ne 'EDIT') && ($mode ne 'PREVIEW')) { my $ablage=""; my $sprach="en"; my $ob_de="1"; my $ob_en="1"; my $ob_es="1"; if (($ob_de eq '1') && ($sprach ne 'de')) { $savep = substr($ablage,0,length($ablage)-3).".de"; print "Deutsch\n"; } if (($ob_en eq '1') && ($sprach ne 'en')) { $savep = substr($ablage,0,length($ablage)-3).".en"; print "English\n"; } if (($ob_es eq '1') && ($sprach ne 'es')) { $savep = substr($ablage,0,length($ablage)-3).".es"; print "Español\n"; } }

clearlist(); filemask('^.*\.html.en'); ireaddir('/rubigm/profil/team'); sort_by_metafield("~position","~sortkrit"); $count = 1; my $altpos = "xyz"; foreach my $file (@FILELIST) { my $directory = $FILE_META_INFO{$file}->getValues('directory'); my $filename = $FILE_META_INFO{$file}->getValues('filename'); # my $filevorname = $FILE_META_INFO{$file}->getValues('filevorname'); my $siteactive = $FILE_META_INFO{$file}->getValues('siteactive'); my $url = $directory.'/'.$filename; if (($siteactive ne "1") && ($filename ne "index.html.en")) { my $nachname = $FILE_META_INFO{$file}->getValues('nachname'); my $vorname = $FILE_META_INFO{$file}->getValues('vorname'); my $akadtitel = $FILE_META_INFO{$file}->getValues('akadtitel'); my $raum = $FILE_META_INFO{$file}->getValues('raum'); my $durchwahl = $FILE_META_INFO{$file}->getValues('durchwahl'); my $exttel = $FILE_META_INFO{$file}->getValues('exttel'); my $mobil = $FILE_META_INFO{$file}->getValues('mobil'); my $sortkrit = uc($FILE_META_INFO{$file}->getValues('sortkrit')); my $email = $FILE_META_INFO{$file}->getValues('email'); my $position = $FILE_META_INFO{$file}->getValues('position'); my $orcid = $FILE_META_INFO{$file}->getValues('orcid'); my $urlbutton = $FILE_META_INFO{$file}->getValues('urlbutton'); my $zusatz = $FILE_META_INFO{$file}->getValues('zusatz_en'); my $foto = $FILE_META_INFO{$file}->getValues('foto'); $position = substr($position,0,2); if ($position ne $altpos) { if ($count > 1) { print "
\n"; } print "
"; if ($position eq "05") { print "Manager"; } elsif ($position eq "15") { print "Scientific staff"; } elsif ($position eq "25") { print "Scientific assistant"; } elsif ($position eq "30") { print "Student assistant"; } print "
\n"; print "
\n"; $altpos = $position; } print "
\n"; print "
\n"; print "
\n"; print "
\n"; # print "
\n"; print " "; if ($akadtitel ne "") { print "$akadtitel "; } print "$vorname $nachname

\n"; if ($raum ne "") { print "$raum
"; } if ($durchwahl ne "") { print "Phone: +49 234 32-$durchwahl
"; } else { if ($exttel ne "") { print "Phone: $exttel
"; } } if ($mobil ne "") { print "Cellphone: $mobil
"; } if ($zusatz ne "") { print "$zusatz
"; } if ($urlbutton ne "") { print "Vita
"; } if ($orcid ne "") { print "orcid.org/ $orcid
"; } if ($email ne "") { print "E-Mail
\n"; } print "

\n"; print "
\n"; # print "
\n"; if ($foto ne "") { print "
\n"; print "\"Foto\n"; print "
\n"; } print "
\n"; print "
\n"; print "
\n"; $count++; } # if not autoindex } # foreach print "
\n";