@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | $deployment->deactivate(); |
110 | 110 | } |
111 | 111 | header("Location: overview_org.php?inst_id=" . $my_inst->identifier . '&' . urldecode(http_build_query($response)) . '#profilebox_' . |
112 | - $deployment->identifier); |
|
112 | + $deployment->identifier); |
|
113 | 113 | exit(0); |
114 | 114 | case web\lib\common\FormElements::BUTTON_REMOVESP: |
115 | 115 | $deployment->remove(); |
@@ -118,9 +118,9 @@ discard block |
||
118 | 118 | case web\lib\common\FormElements::BUTTON_RENEWTLS: |
119 | 119 | $data = openssl_x509_parse($deployment->radsec_cert); |
120 | 120 | $certdata = array( |
121 | - strtoupper(dechex($data['serialNumber'])), |
|
122 | - date_create_from_format('ymdGis', substr($data['validTo'], 0, -1))->format('YmdHis') |
|
123 | - ); |
|
121 | + strtoupper(dechex($data['serialNumber'])), |
|
122 | + date_create_from_format('ymdGis', substr($data['validTo'], 0, -1))->format('YmdHis') |
|
123 | + ); |
|
124 | 124 | $torevoke = implode('#', $certdata); |
125 | 125 | $response = $deployment->setRADIUSconfig(0, 0, $torevoke); |
126 | 126 | $deployment->renewtls(); |
@@ -440,7 +440,7 @@ discard block |
||
440 | 440 | <?php |
441 | 441 | if ($deploymentObject->radsec_cert != NULL) { |
442 | 442 | echo _('If your certificate is close to expiry or you need to create new RADSEC over TLS credentials') . '<br>' . |
443 | - _('click on "Renew RADSEC over TLS credentials" button'); |
|
443 | + _('click on "Renew RADSEC over TLS credentials" button'); |
|
444 | 444 | } |
445 | 445 | ?> |
446 | 446 | </td></tr> |
@@ -556,7 +556,7 @@ discard block |
||
556 | 556 | } |
557 | 557 | } |
558 | 558 | } |
559 | - ?> |
|
559 | + ?> |
|
560 | 560 | </form> |
561 | 561 | <div align="right"> |
562 | 562 | <form action='edit_hotspot.php?inst_id=<?php echo $deploymentObject->institution; ?>&deployment_id=<?php echo $deploymentObject->identifier; ?>' method='post' accept-charset='UTF-8'> |
@@ -644,9 +644,9 @@ discard block |
||
644 | 644 | foreach (array($dsp->host1_v4, $dsp->host2_v4) as $host) { |
645 | 645 | $connection = @fsockopen($host, \config\Master::MANAGEDSP['radiusconfigport']); |
646 | 646 | if (is_resource($connection)) { |
647 | - fclose($connection); |
|
647 | + fclose($connection); |
|
648 | 648 | } else { |
649 | - return false; |
|
649 | + return false; |
|
650 | 650 | } |
651 | 651 | } |
652 | 652 | return true; |
@@ -879,7 +879,7 @@ discard block |
||
879 | 879 | </button> |
880 | 880 | <span style='color: red;'> |
881 | 881 | <?php if ($hasMail == 0) { |
882 | - echo _("Helpdesk mail address is required but missing!"); |
|
882 | + echo _("Helpdesk mail address is required but missing!"); |
|
883 | 883 | } |
884 | 884 | ?> |
885 | 885 | </span> |