index 8a7f0c990cef0ef446a8b78c42123af350945d1f..c73d2e886a54b9820edeac61c0aa99266349e588 100644 (file)
/* Create download button*/
if($this->dn != "new"){
- $smarty->assign("DownMe","<a href='getFAIscript.php?id=".base64_encode($this->dn)."' target='_blank'>
+ $smarty->assign("DownMe","<a href='getFAIscript.php?id=".base64_encode($this->dn)."'>
<input type='button' value='"._("Download")."'>
</a>");
}else{
/* Check supplied data */
function check()
{
- $message= array();
+ /* Call common method to give check the hook */
+ $message= plugin::check();
+
if(empty($this->FAIscript)) {
$message[]=_("Please enter a value for script.");
}