diff --git a/js/app/catalogTTList.js b/js/app/catalogTTList.js index 586ca64..c69b7d0 100644 --- a/js/app/catalogTTList.js +++ b/js/app/catalogTTList.js @@ -38,7 +38,6 @@ Ext.onReady(function () { height:80, width:120, margin: '0 10 0 10', - bodyStyle: { background : '#000000'}, }, { @@ -48,16 +47,16 @@ Ext.onReady(function () { padding:5, bodyStyle: { background : '#dfe8f6'}, flex:1, - height:100, + height:80, html: '<p>This page presents catalogs and time tables available in the on-line analysis tool \ - <a href="http://amda.irap.omp.eu" target="_blank">AMDA</a> \ + <a href="http://amda.cdpp.eu" target="_blank">AMDA</a> \ (see the "Shared" folders). These items come from published articles or \ community/project websites and can be downloaded in several formats \ (<a href="https://www.ivoa.net/documents/VOTable/20130315/PR-VOTable-1.3-20130315.html" target="_blank">VOTable</a>, \ <a href="https://spase-group.org/docs/conventions/HDMC-Event-List-Specification-v1.0.4.pdf" target="_blank">HPEvents</a> \ or ASCII compliant with AMDA). They can be uploaded in other analysis \ - tools like <a href="http://3dview.irap.omp.eu/" target="_blank">3DView</a>, \ - <a href="https://github.com/SciQLopSciQlop" target="_blank">SciQLop</a>, ...</p>', + tools like <a href="http://3dview.cdpp.eu/" target="_blank">3DView</a>, \ + <a href="https://github.com/SciQLop/SciQLop" target="_blank">SciQLop</a>, ...</p>', } ] @@ -97,15 +96,15 @@ Ext.onReady(function () { menu: [ { text: 'ASCII', - handler: function() {window.location.href = dlLink('ASCII', record);} + handler: function() { window.open( dlLink('ASCII', record), '_blank');} }, { text: 'VOTable', - handler: function() { window.location.href = dlLink('VOTable', record);} + handler: function() { window.open( dlLink('VOTable', record), '_blank');} }, { text: 'HPEvent', - handler: function() {window.location.href = dlLink('HPEvent', record);} + handler: function() {window.open( dlLink('HPEvent', record), '_blank');} }, ] }); diff --git a/php/getSharedObject.php b/php/getSharedObject.php index 923740a..63bc3d2 100644 --- a/php/getSharedObject.php +++ b/php/getSharedObject.php @@ -24,12 +24,10 @@ $fileUrl = str_replace("\n", '',file_get_contents($url)); // headers to send your file header("Content-Type: text/plain"); -header('Content-Disposition: attachment; filename="' . $nameToGive . '"'); +header('Content-Disposition: inline; filename="' . $nameToGive . '"'); ob_clean(); flush(); - -// upload the file to the user and quit readfile($fileUrl); exit; -- libgit2 0.21.2