diff --git a/modules/discojuice/lib/EmbedHelper.php b/modules/discojuice/lib/EmbedHelper.php index caf0e221dabc814a973dd0af6500073694965b49..c1819fb1c81490403ac98bd5db27e0efd6b6de79 100644 --- a/modules/discojuice/lib/EmbedHelper.php +++ b/modules/discojuice/lib/EmbedHelper.php @@ -7,7 +7,7 @@ class sspmod_discojuice_EmbedHelper { public static function head($includeJQuery = TRUE) { - $version = '0.1-3'; + $version = '0.1-4'; $config = SimpleSAML_Configuration::getInstance(); $djconfig = SimpleSAML_Configuration::getOptionalConfig('discojuiceembed.php'); diff --git a/modules/discojuice/templates/central.tpl.php b/modules/discojuice/templates/central.tpl.php index a33af748210b2861376ab47eaee06360047aebcc..55b4695fced035a61843971b4039e965174fc58a 100644 --- a/modules/discojuice/templates/central.tpl.php +++ b/modules/discojuice/templates/central.tpl.php @@ -1,7 +1,7 @@ <?php -$version = '0.1-3'; +$version = '0.1-4'; header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"'); @@ -64,7 +64,14 @@ global $options; global $returnidparam, $returnto; $options = $this->data['discojuice.options']; -// echo '<pre>opts'; +if (!empty($_REQUEST['entityID'])) { + if (!array_key_exists('disco', $options)) { + $options['disco'] = array(); + } + $options['disco']['spentityid'] = $_REQUEST['entityID']; +} + +// echo '</script><pre>opts'; // print_r($options); // exit;