Modified RT-menu: Styled logout link

Now the logout link is also integrated in the menu.
This commit is contained in:
Cris
2019-04-25 13:14:57 +02:00
committed by cris-technikum
parent 0738a0aee1
commit 80afb74be9
3 changed files with 22 additions and 4 deletions
+8 -2
View File
@@ -97,7 +97,7 @@ if (isset($_SESSION['pruefling_id']))
// Link zur Startseite
echo '<tr><td class="ItemTesttool" style="margin-left: 20px;" nowrap>
<a class="ItemTesttool" href="login.php" target="content">'.$p->t('testtool/startseite').'</a>
<a class="ItemTesttool navButton" href="login.php" target="content">'.$p->t('testtool/startseite').'</a>
</td></tr>';
// Link zur Einleitung
@@ -105,7 +105,7 @@ if (isset($_SESSION['pruefling_id']))
if($content_id->content_id!='')
echo '
<tr><td class="ItemTesttool" style="margin-left: 20px;" nowrap>
<a class="ItemTesttool" href="../../cms/content.php?content_id='.$content_id->content_id.'&sprache='.$sprache.'" target="content">'.$p->t('testtool/einleitung').'</a>
<a class="ItemTesttool navButton" href="../../cms/content.php?content_id='.$content_id->content_id.'&sprache='.$sprache.'" target="content">'.$p->t('testtool/einleitung').'</a>
</td></tr>';
echo '<tr><td style="padding-left: 20px;" nowrap>';
@@ -383,6 +383,12 @@ if (isset($_SESSION['pruefling_id']))
}
}
echo '</table>';
// Link zum Logout
echo '<tr><td class="ItemTesttool" style="margin-left: 20px;" nowrap>
<a class="ItemTesttool navButton" href="login.php?logout" target="content">Logout</a>
</td></tr>';
echo '</td></tr></table>';
}
else