|
@@ -315,49 +315,49 @@ discard block |
|
|
block discarded – undo |
|
315
|
315
|
<tr> |
|
316
|
316
|
<!-- checkbox for "verify--> |
|
317
|
317
|
<td> |
|
318
|
|
- <span id='verify_label' style='<?php echo ($realm == "" ? "color:#999999" : "" ); ?>'> |
|
|
318
|
+ <span id='verify_label' style='<?php echo ($realm == "" ? "color:#999999" : ""); ?>'> |
|
319
|
319
|
<?php echo _("Verify user input to contain realm suffix:"); ?> |
|
320
|
320
|
</span> |
|
321
|
321
|
</td> |
|
322
|
322
|
<td> |
|
323
|
|
- <input type='checkbox' <?php echo ($verify != FALSE ? "checked" : "" ); |
|
324
|
|
- echo ($realm == "" ? "disabled" : "" ); ?> name='verify_support' onclick=' |
|
|
323
|
+ <input type='checkbox' <?php echo ($verify != FALSE ? "checked" : ""); |
|
|
324
|
+ echo ($realm == "" ? "disabled" : ""); ?> name='verify_support' onclick=' |
|
325
|
325
|
if (this.form.elements["verify_support"].checked != true) { |
|
326
|
326
|
this.form.elements["hint_support"].setAttribute("disabled", "disabled"); |
|
327
|
327
|
} else { |
|
328
|
328
|
this.form.elements["hint_support"].removeAttribute("disabled"); |
|
329
|
329
|
} |
|
330
|
330
|
;'/> |
|
331
|
|
- <span id='hint_label' style='<?php echo ($realm == "" ? "color:#999999" : "" ); ?>'> |
|
|
331
|
+ <span id='hint_label' style='<?php echo ($realm == "" ? "color:#999999" : ""); ?>'> |
|
332
|
332
|
<?php echo _("Prefill user input with realm suffix:"); ?> |
|
333
|
333
|
</span> |
|
334
|
|
- <input type='checkbox' <?php echo ($verify == FALSE ? "disabled" : "" ); ?> name='hint_support' <?php echo ( $hint != FALSE ? "checked" : "" ); ?> /> |
|
|
334
|
+ <input type='checkbox' <?php echo ($verify == FALSE ? "disabled" : ""); ?> name='hint_support' <?php echo ($hint != FALSE ? "checked" : ""); ?> /> |
|
335
|
335
|
</td> |
|
336
|
336
|
</tr> |
|
337
|
337
|
<tr> |
|
338
|
338
|
<?php |
|
339
|
339
|
// checkbox and input field for anonymity support, available only when realm is known |
|
340
|
|
- echo "<td><span id='anon_support_label' style='" . ($realm == "" ? "color:#999999" : "" ) . "'>" . _("Enable Anonymous Outer Identity:") . "</span></td> |
|
341
|
|
- <td><input type='checkbox' " . ($use_anon != FALSE ? "checked" : "" ) . ($realm == "" ? "disabled" : "" ) . " name='anon_support' onclick=' |
|
|
340
|
+ echo "<td><span id='anon_support_label' style='" . ($realm == "" ? "color:#999999" : "") . "'>" . _("Enable Anonymous Outer Identity:") . "</span></td> |
|
|
341
|
+ <td><input type='checkbox' " . ($use_anon != FALSE ? "checked" : "") . ($realm == "" ? "disabled" : "") . " name='anon_support' onclick=' |
|
342
|
342
|
if (this.form.elements[\"anon_support\"].checked != true) { |
|
343
|
343
|
this.form.elements[\"anon_local\"].setAttribute(\"disabled\", \"disabled\"); |
|
344
|
344
|
} else { |
|
345
|
345
|
this.form.elements[\"anon_local\"].removeAttribute(\"disabled\"); |
|
346
|
346
|
};'/> |
|
347
|
|
- <input type='text' " . ($checkuser_outer == FALSE ? "disabled" : "" ) . " name='anon_local' value='$anon_local'/></td>"; |
|
|
347
|
+ <input type='text' " . ($checkuser_outer == FALSE ? "disabled" : "") . " name='anon_local' value='$anon_local'/></td>"; |
|
348
|
348
|
?> |
|
349
|
349
|
</tr> |
|
350
|
350
|
<tr> |
|
351
|
351
|
<?php |
|
352
|
352
|
// checkbox and input field for check realm outer id, available only when realm is known |
|
353
|
|
- echo "<td><span id='checkuser_label' style='" . ($realm == "" ? "color:#999999" : "" ) . "'>" . _("Use special Outer Identity for realm checks:") . "</span></td> |
|
354
|
|
- <td><input type='checkbox' " . ($checkuser_outer != FALSE ? "checked" : "" ) . ($realm == "" ? "disabled" : "" ) . " name='checkuser_support' onclick=' |
|
|
353
|
+ echo "<td><span id='checkuser_label' style='" . ($realm == "" ? "color:#999999" : "") . "'>" . _("Use special Outer Identity for realm checks:") . "</span></td> |
|
|
354
|
+ <td><input type='checkbox' " . ($checkuser_outer != FALSE ? "checked" : "") . ($realm == "" ? "disabled" : "") . " name='checkuser_support' onclick=' |
|
355
|
355
|
if (this.form.elements[\"checkuser_support\"].checked != true) { |
|
356
|
356
|
this.form.elements[\"checkuser_local\"].setAttribute(\"disabled\", \"disabled\"); |
|
357
|
357
|
} else { |
|
358
|
358
|
this.form.elements[\"checkuser_local\"].removeAttribute(\"disabled\"); |
|
359
|
359
|
};'/> |
|
360
|
|
- <input type='text' " . ($checkuser_outer == FALSE ? "disabled" : "" ) . " name='checkuser_local' value='$checkuser_value'/></td>"; |
|
|
360
|
+ <input type='text' " . ($checkuser_outer == FALSE ? "disabled" : "") . " name='checkuser_local' value='$checkuser_value'/></td>"; |
|
361
|
361
|
?> |
|
362
|
362
|
</tr> |
|
363
|
363
|
</table> |
|
@@ -373,14 +373,14 @@ discard block |
|
|
block discarded – undo |
|
373
|
373
|
<p> |
|
374
|
374
|
|
|
375
|
375
|
<?php |
|
376
|
|
- echo "<span id='redirect_label' style='" . ($realm == "" ? "color:#999999" : "" ) . "'><label for='redirect'>" . _("Redirect end users to own web page:") . "</label></span> |
|
377
|
|
- <input type='checkbox' name='redirect' id='redirect' " . ($blacklisted === FALSE ? "" : "checked " ) . "onclick=' |
|
|
376
|
+ echo "<span id='redirect_label' style='" . ($realm == "" ? "color:#999999" : "") . "'><label for='redirect'>" . _("Redirect end users to own web page:") . "</label></span> |
|
|
377
|
+ <input type='checkbox' name='redirect' id='redirect' " . ($blacklisted === FALSE ? "" : "checked ") . "onclick=' |
|
378
|
378
|
if (this.form.elements[\"redirect\"].checked != true) { |
|
379
|
379
|
this.form.elements[\"redirect_target\"].setAttribute(\"disabled\", \"disabled\"); |
|
380
|
380
|
} else { |
|
381
|
381
|
this.form.elements[\"redirect_target\"].removeAttribute(\"disabled\"); |
|
382
|
382
|
};'/> |
|
383
|
|
- <input type='text' name='redirect_target' " . ($blacklisted !== FALSE ? "value='$blacklisted'" : "disabled" ) . "/>"; |
|
|
383
|
+ <input type='text' name='redirect_target' " . ($blacklisted !== FALSE ? "value='$blacklisted'" : "disabled") . "/>"; |
|
384
|
384
|
?> |
|
385
|
385
|
</p> |
|
386
|
386
|
|
|
@@ -396,7 +396,7 @@ discard block |
|
|
block discarded – undo |
|
396
|
396
|
function priority($eapType, $isenabled, $priority) { |
|
397
|
397
|
echo "<td><select id='$eapType-priority' name='$eapType-priority' " . (!$isenabled ? "disabled='disabled'" : "") . ">"; |
|
398
|
398
|
for ($a = 1; $a < 7; $a = $a + 1) |
|
399
|
|
- echo "<option id='$eapType-$a' value='$a' " . ( $isenabled && $a == $priority ? "selected" : "" ) . ">$a</option>"; |
|
|
399
|
+ echo "<option id='$eapType-$a' value='$a' " . ($isenabled && $a == $priority ? "selected" : "") . ">$a</option>"; |
|
400
|
400
|
echo "</select></td>"; |
|
401
|
401
|
} |
|
402
|
402
|
|