Skip to content

Commit

Permalink
Open link new window
Browse files Browse the repository at this point in the history
  • Loading branch information
François Jacquet committed Jan 19, 2014
1 parent c4d2394 commit af4baa6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions modules/Resources/Redirect.php
Expand Up @@ -14,8 +14,5 @@
$redir_url = 'http://translate.centresis.org/';
break;
}
echo '<form name="RosarioArgs" method="post" action="'.$redir_url.'" target="_blank">';
?>
</form>
<script type="text/javascript">document.RosarioArgs.submit();</script>
<noscript>You must have JavaScript enabled to use the <a href="http://www.rosariosis.org">RosarioSIS</a> Online Resources.</noscript>
echo '<script type="text/javascript">window.open("'.$redir_url.'", "_blank");</script>';
?>

0 comments on commit af4baa6

Please sign in to comment.