Skip to content

Commit

Permalink
remove unused button
Browse files Browse the repository at this point in the history
  • Loading branch information
maximemuldermcgill committed Feb 20, 2024
1 parent 090d5d1 commit e026e02
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 e026e02

Please # to comment.