Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[imaging browser] Remove apparently unused button #9075

Merged
merged 1 commit into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading