/[MITgcm]/manual/tools/make_mail_subjects.awk
ViewVC logotype

Diff of /manual/tools/make_mail_subjects.awk

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

--- manual/tools/make_mail_subjects.awk	2002/01/15 10:41:49	1.1
+++ manual/tools/make_mail_subjects.awk	2002/02/28 19:30:25	1.2
@@ -1,15 +1,14 @@
 BEGIN{nop=0}
 /.*TITLE.*/{split($0,pt,">"); split(pt[2],ptt,"<")}
 /<a href=mailto:.*/{ 
-              printf("<a href=\"mailto:support@mitgcm.org");
-              nf=split($0,ma,">");
-              printf("?subject=[MITgcm Manual] %s",ptt[1]);
-              printf("&body=Feedback on section - %s",ptt[1]);
-              printf("\">"); 
-              for(i=2;i<=nf;i++) {printf("%s",ma[i])};
-              printf(">"); 
-              printf("\n");
-              nop=1}
+printf("
+<script language="javascript">
+<!--
+ document.write("<a href=\"mailto:support@mitgcm.org?subject=[MITgcm Manual] section " + document.title + "&body=Comments and questions on page " + document.URL + "\">");
+// -->
+</script>
+\n");
+nop=1}
 {if ( nop ==0 ) print}
 {if ( nop ==1 ) nop=0}
 END{}

 

  ViewVC Help
Powered by ViewVC 1.1.22