# Currently this is for AOLserver 4.0 and later # and requires the am_attributes2set C module # if <%@ Directive ...> syntax is to be used # Warning: defines a proc named just @ # Detailed write up and latest version at: # http://aolserver.am.net/code/modules/masterpages.adpx # Master Pages Operation: # ----------------------- # - Optional: declare start of contentBlock (either fancy tag or just <% am_adp_content start %>) # This would truncate the buffer discarding any content in it - this is useful within the head to # discard the opening html, head, title, etc. tags and after the
) # (the code block can override the idstring - i.e. it can determine where it should be poured into) # This dumps out the current adp buffer (i.e. our content block) into a global array variable with the # idstring as the key and truncates it. Last end declaration should be before closing /body and /html tags. # # - Required: after the closing /body and /html tags but before any client-side script you wish # to be the very last thing to run, declare to output via a particular master page optionally # with whatever parameters that it'll get as args. This would truncate the buffer which would drop # the /body & /html closing tags to keep both master and content pages legal html. # Once all the includes are done, adp processing returns to the original content page, and finishes # parsing any post /html (from the top-most master)