JAL-957 JAL-1400 use signed/unsigned applet as needed
[jalview.git] / examples-jbake / templates / jvl_embeddedWJmol_hdr.ftl
index d41f599..20504d8 100644 (file)
@@ -10,7 +10,7 @@
 <script language="JavaScript">
 // instead of this, we use a custom JmolApplet spec
 // jmolInitialize('jmol');
-jmolInitialize("","JmolApplet-12.2.4.jar");
+jmolInitialize("","${content.jmol}");
 function genHref()
 {
  var s1 = "ml:i@midd..", s2 = "atelcpoueau", s3 = "iomyob.neck", href="";
@@ -52,7 +52,7 @@ function genHref()
  var _jvA=new Object();
  _jvA.attributes = {
   code : 'jalview.bin.JalviewLite',
-  archive : 'jalviewApplet.jar',
+  archive : '${content.jvl}',
   width : '500',
   height : '350',
   mayscript : 'True',
@@ -83,7 +83,7 @@ function genHref()
   linkUrl_2 : "http://www.uniprot.org/uniprot/$SEQUENCE_ID$",
   APPLICATION_URL : "http://www.jalview.org/services/launchApp",
   PDBfile : "1gaq.txt FER1_MAIZE",
-  permissions : "all-permissions"
+  permissions : "sandbox"
  };
  jmolSetCallback("hoverCallback","_jmolhover");
   jmolSetCallback("pickCallback","_jmolpick");