Skip to content
Snippets Groups Projects
Commit 1747cfdd authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Removing jquery and cleaning up central template

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2921 44740490-163a-0410-bde0-09ae8108e29a
parent 4d04c1e6
No related branches found
No related tags found
Loading
......@@ -22,10 +22,8 @@ echo '<link rel="shortcut icon" href="' . SimpleSAML_Module::getModuleURL('disco
echo '<!-- JQuery -->';
echo '<script type="text/javascript" language="javascript" src="' . SimpleSAML_Module::getModuleURL('discojuice/discojuice/jquery-1.6.min.js') . '"></script>
<script type="text/javascript" language="javascript" src="' . SimpleSAML_Module::getModuleURL('discojuice/discojuice/jquery-ui-1.8.5.custom.min.js') . '"></script>
<link rel="stylesheet" type="text/css" href="' . SimpleSAML_Module::getModuleURL('discojuice/discojuice/css/custom/jquery-ui-1.8.5.custom.css') . '" />
<!-- script type="text/javascript" language="javascript" src="' . SimpleSAML_Module::getModuleURL('discojuice/discojuice/jquery-ui-1.8.5.custom.min.js') . '"></script -->
<!-- link rel="stylesheet" type="text/css" href="' . SimpleSAML_Module::getModuleURL('discojuice/discojuice/css/custom/jquery-ui-1.8.5.custom.css') . '" / -->
';
......@@ -71,11 +69,6 @@ if (!empty($_REQUEST['entityID'])) {
$options['disco']['spentityid'] = $_REQUEST['entityID'];
}
// echo '</script><pre>opts';
// print_r($options);
// exit;
echo 'var options = ' . json_encode($options) . ';' . "\n\n";
echo 'options.countryAPI = "' . SimpleSAML_Module::getModuleURL('discojuice/country.php'). '"; ' . "\n";
......@@ -176,10 +169,7 @@ echo '<div style="display: block" class="discojuice">
foreach($metadata AS $item) {
show($item);
}
// echo '<pre>';
// print_r($metadata);
// echo '</pre>';
echo '</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment