Commit 0dd120ff authored by Ad Schellevis's avatar Ad Schellevis

(ipsec) do not show Peer identifier for mobile clients, not used

parent 2cc1c4a9
...@@ -716,6 +716,8 @@ endforeach; ?> ...@@ -716,6 +716,8 @@ endforeach; ?>
</div> </div>
</td> </td>
</tr> </tr>
<?php
if (empty($pconfig['mobile'])):?>
<tr class="auth_opt auth_eap_tls auth_psk"> <tr class="auth_opt auth_eap_tls auth_psk">
<td ><i class="fa fa-info-circle text-muted"></i> <?=gettext("Peer identifier"); ?></td> <td ><i class="fa fa-info-circle text-muted"></i> <?=gettext("Peer identifier"); ?></td>
<td> <td>
...@@ -747,6 +749,8 @@ endforeach; ?> ...@@ -747,6 +749,8 @@ endforeach; ?>
} ?> } ?>
</td> </td>
</tr> </tr>
<?php
endif;?>
<tr class="auth_opt auth_psk"> <tr class="auth_opt auth_psk">
<td ><a id="help_for_psk" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Pre-Shared Key"); ?></td> <td ><a id="help_for_psk" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Pre-Shared Key"); ?></td>
<td> <td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment