Skip to content

Commit

Permalink
[imaging browser] Remove apparently unused button (#9075)
Browse files Browse the repository at this point in the history
Remove button pointing to link that does not exist and appears to have not existed for a long time.
  • Loading branch information
maximemulder authored Apr 4, 2024
1 parent b7ff2c6 commit a5b5189
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
11 changes: 0 additions & 11 deletions modules/imaging_browser/php/viewsession.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -119,17 +119,6 @@ class ViewSession extends \NDB_Form

$this->tpl_data['showFloatJIV'] = true;

$file = $this->_DB->pselectOne(
"SELECT File FROM files f
JOIN session s
ON (s.ID=f.SessionID)
WHERE s.ID=:sid AND FileType='obj'",
['sid' => $this->sessionID]
);
if (!empty($file)) {
$this->tpl_data['show3DViewer'] = true;
}

$this->tpl_data['status_options'] = [
'' => ' ',
'Pass' => 'Pass',
Expand Down
5 changes: 0 additions & 5 deletions modules/imaging_browser/templates/form_viewSession.tpl
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<!-- Main table -->
{if $show3DViewer|default}
{*<td nowrap="nowrap">the first opening td already opened in main.tpl *}<input type="button" name="button" value="3D Viewer" class="button" id = "dccid" name = "dccid" style = "background-color: #816e91" onclick="window.open('BrainBrowser/display.html?sessionID={$subject.sessionID}')" /></td>

</br>
{/if}
<div>
{$headerTable}
</div>
Expand Down

0 comments on commit a5b5189

Please sign in to comment.