TiddlyWiki.org

Ticket #487: ticket487_alt.patch

File ticket487_alt.patch, 1.8 kB (added by FND, 7 months ago)

alternative implementation, rendering the Post-Script section obsolete by moving Post-Body below the core code, to the very end of the <body> section

  • html/tiddlywiki.template.html

    old new  
    8585<!--@@posttiddlers@@--> 
    8686</div> 
    8787<!--POST-STOREAREA--> 
    88 <!--POST-BODY-START--> 
    89 <!--@@postbody@@--> 
    90 <!--POST-BODY-END--> 
    9188<script type="text/javascript"> 
    9289//<![CDATA[ 
    9390<!--@@prejs@@--> 
     
    104101        document.write("<applet style='position:absolute;left:-1px' name='TiddlySaver' code='TiddlySaver.class' archive='TiddlySaver.jar' width='1' height='1'></applet>"); 
    105102//]]> 
    106103</script> 
    107 <!--POST-SCRIPT-START--> 
    108 <!--POST-SCRIPT-END--> 
     104<!--POST-BODY-START--> 
     105<!--@@postbody@@--> 
     106<!--POST-BODY-END--> 
    109107</body> 
    110108</html> 
  • js/Lingo.js

    old new  
    415415        MarkupPreHead: "This tiddler is inserted at the top of the <head> section of the TiddlyWiki HTML file", 
    416416        MarkupPostHead: "This tiddler is inserted at the bottom of the <head> section of the TiddlyWiki HTML file", 
    417417        MarkupPreBody: "This tiddler is inserted at the top of the <body> section of the TiddlyWiki HTML file", 
    418         MarkupPostBody: "This tiddler is inserted at the end of the <body> section of the TiddlyWiki HTML file immediately before the script block", 
     418        MarkupPostBody: "This tiddler is inserted at the end of the <body> section of the TiddlyWiki HTML file", 
    419419        OptionsPanel: "This shadow tiddler is used as the contents of the options panel slider in the right-hand sidebar", 
    420420        PageTemplate: "The HTML template in this shadow tiddler determines the overall ~TiddlyWiki layout", 
    421421        PluginManager: "This shadow tiddler provides access to the plugin manager",