mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 10:22:18 +00:00
Notebookregistrierung für Mitarbeiter deaktiviert
This commit is contained in:
@@ -67,7 +67,13 @@ function ip_increment($ip = "")
|
||||
<tr>
|
||||
<td class="cmscontent" rowspan="3" valign="top">
|
||||
<?php
|
||||
|
||||
if($is_lector || check_lektor($txtUID))
|
||||
{
|
||||
echo 'Die Notebook registrierung steht nur für Studierende zur Verfügung.<br>
|
||||
Wollen Sie als Mitarbeiter ein Notebook registrieren wenden Sie sich bitte an den <a href="mailto:support@technikum-wien.at">Support</a> ';
|
||||
echo '</td></tr></table></div></body></html>';
|
||||
exit;
|
||||
}
|
||||
if (!$txtUID)
|
||||
$txtUID = $user;
|
||||
// wenn die übergebene UID nicht gleich dem
|
||||
@@ -240,21 +246,21 @@ function ip_increment($ip = "")
|
||||
else if ($error == 3)
|
||||
echo '<h3>'.$p->t("notebookregister/MACadresseBereitsVerwendet").'.</h3>';
|
||||
|
||||
if(isset($mac_result) && $mac_result!='')
|
||||
if(isset($mac_result) && $mac_result!=='')
|
||||
{
|
||||
if($mac_result == 0)
|
||||
if($mac_result === 0)
|
||||
{
|
||||
echo '<h3>'.$p->t("notebookregister/MACadresseErfolgreichEingetragen").'.</h3>';
|
||||
}
|
||||
else if($mac_result == 1)
|
||||
else if($mac_result === 1)
|
||||
{
|
||||
echo '<h3>'.$p->t("notebookregister/MACadresseErfolgreichGeaendert").'.</h3>';
|
||||
}
|
||||
else if($mac_result == 2)
|
||||
else if($mac_result === 2)
|
||||
{
|
||||
echo '<h3>'.$p->t("notebookregister/MACadresseFehlerhaft").'.</h3>';
|
||||
}
|
||||
else if($mac_result == 3)
|
||||
else if($mac_result === 3)
|
||||
{
|
||||
echo '<h3>'.$p->t("notebookregister/MACadresseNichtFreigeschalten").'.</h3>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user