Changeset 20597


Ignore:
Timestamp:
2009-09-14T13:10:49+12:00 (15 years ago)
Author:
kjdon
Message:

added _collectionspecificscript_ macro for collection specific javascript, this can be used instead of pagescriptextra - doesn't need to include any stuff for the local page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/macros/style.dm

    r20316 r20597  
    2828_pagebannerextra_ {}
    2929_pagefooterextra_ {}
     30
     31# collection specific style and script may be set in collection's extra.dm
     32# using the following macros
     33_collectionspecificstyle_ {}
     34_collectionspecificscript_ {}
    3035
    3136# it also relies on lots of Globals, the most important of these are:
     
    5661_cgihead_{}
    5762
    58 # may be set in collection's extra.dm
    59 _collectionspecificstyle_ {}
    6063
    6164# any declarations relating to CSS that should go in the html head part.
     
    184187<script language="javascript" type="text/javascript">
    185188_If_(_pagescriptextra_,_pagescriptextra_)
     189_collectionspecificscript_
    186190_imagescript_
    187191</script>
     
    193197_If_(_cgiargx_,_scriptdetach_)
    194198_pagescriptextra_
     199_collectionspecificscript_
    195200// -->
    196201</script>
Note: See TracChangeset for help on using the changeset viewer.