Skip to content

Commit

Permalink
Disallow glossary download unless you're an editor (#1589)
Browse files Browse the repository at this point in the history
  • Loading branch information
themerekat committed Aug 2, 2024
1 parent 0ab3004 commit 3664b26
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions glossary/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,14 @@ function openTermPopup(glossid){
<a href='glossaryloader.php'>Batch Upload Terms</a>
-->
</div>
<?php
}
?>
<div>
<div>
<a title="Show download options" onclick="toggle('downloadoptionsdiv');return false;">
<?php echo (isset($LANG['DOWN_OP'])?$LANG['DOWN_OP']:'Download Options'); ?>
</a>
</div>
</div>
<?php
}
?>
</div>
<div id="downloadoptionsdiv" style="display:none;clear:both;float:right;margin-top:15px;background-color:white;">
<form name="downloadform" action="glossdocexport.php" method="post" onsubmit="return verifyDownloadForm(this);">
Expand Down

0 comments on commit 3664b26

Please sign in to comment.