@@ -36,14 +36,14 @@ function clickedAnyway(idpName) {
3636
3737 <main class="mdl-layout__content">
3838 <?php include __DIR__ . '/../common-announcement.php ' ?>
39-
39+ <!--TODO: is this stuff in formdata by chance?-->
4040 <form layout-children="row" child-spacing="space-around">
4141 <input type="hidden" name="entityID"
42- value="<?= htmlentities ($ this ->data ['entityID ' ] ?? null ) ?> " />
42+ value="<?= htmlentities ($ this ->data ['entityID ' ]) ?> " />
4343 <input type="hidden" name="return"
44- value="<?= htmlentities ($ this ->data ['return ' ] ?? null ) ?> " />
44+ value="<?= htmlentities ($ this ->data ['return ' ]) ?> " />
4545 <input type="hidden" name="returnIDParam"
46- value="<?= htmlentities ($ this ->data ['returnIDParam ' ] ?? null ) ?> " />
46+ value="<?= htmlentities ($ this ->data ['returnIDParam ' ]) ?> " />
4747
4848 <?php
4949 // in order to bypass some built-in simplesaml behavior, an extra idp
@@ -58,8 +58,8 @@ function clickedAnyway(idpName) {
5858 }
5959
6060 foreach ($ enabledIdps as $ idp ) {
61- $ name = htmlentities ($ this ->t ($ idp ['name ' ] ?? null ));
62- $ idpId = htmlentities ($ idp ['entityid ' ] ?? null );
61+ $ name = htmlentities ($ this ->t ($ idp ['name ' ]));
62+ $ idpId = htmlentities ($ idp ['entityid ' ]);
6363 $ hoverText = $ this ->t ('{material:selectidp:enabled} ' , ['{idpName} ' => $ name ]);
6464 ?>
6565 <div class="mdl-card mdl-shadow--8dp row-aware" title="<?= $ hoverText ?> ">
@@ -77,8 +77,8 @@ function clickedAnyway(idpName) {
7777
7878 <?php
7979 foreach ($ disabledIdps as $ idp ) {
80- $ name = htmlentities ($ this ->t ($ idp ['name ' ] ?? null ));
81- $ idpId = htmlentities ($ idp ['entityid ' ] ?? null );
80+ $ name = htmlentities ($ this ->t ($ idp ['name ' ]));
81+ $ idpId = htmlentities ($ idp ['entityid ' ]);
8282 $ hoverText = $ this ->t ('{material:selectidp:disabled} ' , ['{idpName} ' => $ name ]);
8383 ?>
8484 <div class="mdl-card mdl-shadow--2dp disabled row-aware" title="<?= $ hoverText ?> "
0 commit comments